From 3e8a2633f4687c139c03b1be08378679f4994249 Mon Sep 17 00:00:00 2001 From: "Michael A. Jackson" Date: Sat, 1 Nov 2008 13:15:41 +0000 Subject: [PATCH] Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor [SVN r49510] --- 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" + ) +