From e6f66bfc95fbf43acbf3291e1e87930bbb89856f Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Sat, 24 Jan 2009 18:57:20 +0000 Subject: [PATCH] merge of cmake build files from trunk per beman [SVN r50756] --- CMakeLists.txt | 21 +++++++++++++++++++++ module.cmake | 1 + src/CMakeLists.txt | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 module.cmake create mode 100644 src/CMakeLists.txt 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" + ) +