diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f47093f --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,21 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + system +) + +# Add a library target to the build system +boost_library_project( + system + SRCDIRS src + # TESTDIRS + HEADERS ${lib_headers} + # DOCDIRS + # DESCRIPTION + MODULARIZED + # AUTHORS + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..9a50a96 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(system DEPENDS utility) \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..38c4818 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,7 @@ +boost_add_library( + boost_system + error_code.cpp + SHARED_COMPILE_FLAGS "-DBOOST_SYSTEM_DYN_LINK=1" + STATIC_COMPILE_FLAGS "-DBOOST_SYSTEM_STATIC_LINK=1" + ) +