-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed boost dependencies * backport cmake 3 to travis ubuntu 14.04 image * require C11 standard for all targets * try build on trusty images * fix submodule building in appveyor * fix fix * fix fix fix
- Loading branch information
Showing
4 changed files
with
19 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
set(Boost_USE_STATIC_LIBS OFF) | ||
set(Boost_USE_STATIC_RUNTIME OFF) | ||
find_package(Boost 1.45.0) | ||
enable_testing() | ||
|
||
if(Boost_FOUND) | ||
enable_testing() | ||
include_directories( | ||
${CMAKE_SOURCE_DIR}/lib/CUTE/cute | ||
${CMAKE_SOURCE_DIR}/src | ||
) | ||
|
||
include_directories( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_SOURCE_DIR}/lib/CUTE/cute | ||
${CMAKE_SOURCE_DIR}/src | ||
) | ||
|
||
#file(GLOB_RECURSE SRC *.cpp) | ||
#add_executable(cute ${SRC}) | ||
add_executable(cute Test.cpp) | ||
add_test(NAME UnitTests COMMAND cute) | ||
target_link_libraries(cute ${Boost_LIBRARIES}) | ||
else() | ||
message(STATUS "Boost not found, no unit testing possible") | ||
endif() | ||
#file(GLOB_RECURSE SRC *.cpp) | ||
#add_executable(cute ${SRC}) | ||
add_executable(cute Test.cpp) | ||
add_test(NAME UnitTests COMMAND cute) |