aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/cmake/examples/boost/foo.cpp
blob: b5db3b571ff9933b300f286c5963ee88ef6f3316 (plain) (tree)
1
2
3
4
5
6
7
8



                               

                                                                                                

             
#include <boost/filesystem.hpp>

#include <iostream>

int main(int argc, char* argv[]) {
    std::cout << boost::filesystem::absolute(boost::filesystem::path{argv[0]}).string() << "\n";
    return 0;
}