mirror of
https://github.com/boostorg/system.git
synced 2025-08-01 05:24:26 +02:00
merge of cmake build files from trunk per beman
[SVN r50756]
This commit is contained in:
21
CMakeLists.txt
Normal file
21
CMakeLists.txt
Normal 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
1
module.cmake
Normal file
@@ -0,0 +1 @@
|
|||||||
|
boost_module(system DEPENDS utility)
|
7
src/CMakeLists.txt
Normal file
7
src/CMakeLists.txt
Normal 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"
|
||||||
|
)
|
||||||
|
|
Reference in New Issue
Block a user