From a2bc2333b474adfde66c6cd67315f227491f157c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 7 Jan 2020 03:26:04 +0300 Subject: cmake: add examples --- cmake/examples/boost/foo.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cmake/examples/boost/foo.cpp (limited to 'cmake/examples/boost/foo.cpp') diff --git a/cmake/examples/boost/foo.cpp b/cmake/examples/boost/foo.cpp new file mode 100644 index 0000000..258115b --- /dev/null +++ b/cmake/examples/boost/foo.cpp @@ -0,0 +1,8 @@ +#include + +#include + +int main() { + std::cout << boost::filesystem::path{argv0}.absolute().string(); << "\n"; + return 0; +} -- cgit v1.2.3