Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor

[SVN r49510]
This commit is contained in:
Michael A. Jackson
2008-11-01 13:15:41 +00:00
parent 888786e838
commit 3e8a2633f4
3 changed files with 29 additions and 0 deletions

21
CMakeLists.txt Normal file
View File

@@ -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
)

1
module.cmake Normal file
View File

@@ -0,0 +1 @@
boost_module(system DEPENDS utility)

7
src/CMakeLists.txt Normal file
View File

@@ -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"
)