forked from boostorg/typeof
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
boost_additional_test_dependencies(typeof BOOST_DEPENDS test)
|
||||
|
||||
|
||||
file(GLOB TEST_FILES "*.cpp")
|
||||
foreach(TEST_FILE ${TEST_FILES})
|
||||
if (TEST_FILE MATCHES "odr.*cpp")
|
||||
# Skip ODR tests; we'll handle them separately
|
||||
else (TEST_FILE MATCHES "odr.*cpp")
|
||||
get_filename_component(TEST_NAME ${TEST_FILE} NAME_WE)
|
||||
boost_test_compile("${TEST_NAME}_native"
|
||||
"${TEST_NAME}.cpp" COMPILE_FLAGS "-DBOOST_TYPEOF_NATIVE")
|
||||
boost_test_compile("${TEST_NAME}_emulation"
|
||||
"${TEST_NAME}.cpp" COMPILE_FLAGS "-DBOOST_TYPEOF_EMULATION")
|
||||
endif (TEST_FILE MATCHES "odr.*cpp")
|
||||
endforeach(TEST_FILE ${TEST_FILES})
|
||||
|
||||
boost_test_run(odr_native
|
||||
odr1.cpp odr2.cpp COMPILE_FLAGS "-DBOOST_TYPEOF_NATIVE")
|
||||
boost_test_run(odr_emulation
|
||||
odr1.cpp odr2.cpp COMPILE_FLAGS "-DBOOST_TYPEOF_EMULATION")
|
||||
boost_test_run(odr_no_uns
|
||||
odr_no_uns1.cpp odr_no_uns2.cpp
|
||||
COMPILE_FLAGS "-DBOOST_TYPEOF_EMULATION")
|
||||
|
Reference in New Issue
Block a user