forked from boostorg/config
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
This commit is contained in:
@ -13,13 +13,11 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|||||||
set(BOOST_CONFIG_STATIC_THREAD_LIBS LINK_LIBS pthread rt)
|
set(BOOST_CONFIG_STATIC_THREAD_LIBS LINK_LIBS pthread rt)
|
||||||
endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
boost_additional_test_dependencies(config BOOST_DEPENDS test)
|
||||||
#-- Needed include directories for the tests
|
|
||||||
boost_test_add_dependent_includes("utility;detail;config;test;preprocessor;type_traits;smart_ptr;mpl;exception;static_assert")
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
boost_test_run(config_test_threaded config_test.cpp
|
boost_test_run(config_test_threaded config_test.cpp
|
||||||
EXTRA_OPTIONS MULTI_THREADED)
|
EXTRA_OPTIONS MULTI_THREADED)
|
||||||
|
|
||||||
boost_test_run(config_test
|
boost_test_run(config_test
|
||||||
EXTRA_OPTIONS SINGLE_THREADED ${BOOST_CONFIG_MSVC_STATIC_OPTIONS}
|
EXTRA_OPTIONS SINGLE_THREADED ${BOOST_CONFIG_MSVC_STATIC_OPTIONS}
|
||||||
${BOOST_CONFIG_STATIC_THREAD_LIBS})
|
${BOOST_CONFIG_STATIC_THREAD_LIBS})
|
||||||
|
Reference in New Issue
Block a user