-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use plain CMake (remove common/CMake dependency) * remove submodules * emSim 1.0.1
- Loading branch information
Showing
15 changed files
with
92 additions
and
81 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule common
deleted from
045c48
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
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
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
Submodule glm
deleted from
0d973b
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,14 +1,20 @@ | ||
# Copyright (c) BBP/EPFL 2011-2017, [email protected] | ||
# Change this number when adding tests to force a CMake run: 1 | ||
## Copyright (c) BBP/EPFL 2011-2017, [email protected] | ||
|
||
# Includes the install_files function below | ||
include(InstallFiles) | ||
find_package(Boost REQUIRED COMPONENTS unit_test_framework) | ||
|
||
# TEST_LIBRARIES variable is used by the CommonCTest.cmake script to link against the given libraries | ||
set(TEST_LIBRARIES ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY} EMSimCommon) | ||
set(TESTS_SRC | ||
samplePoints.cpp | ||
volume.cpp | ||
) | ||
|
||
# CommonCTest, in the current folder recursively compiles targets for *.cpp files using TEST_LIBRARIES | ||
include(CommonCTest) | ||
foreach(FILE ${TESTS_SRC}) | ||
get_filename_component(NAME ${FILE} NAME_WE) | ||
add_executable(${NAME} ${FILE}) | ||
|
||
# Installs the compiled tests ${TEST_FILES} into the examples directory | ||
install_files(share/EMSim/tests FILES ${TEST_FILES} COMPONENT examples) | ||
target_link_libraries(${NAME} | ||
PRIVATE | ||
${Boost_UNIT_TEST_FRAMEWORK_LIBRARY} | ||
EMSimCommon | ||
) | ||
add_test(NAME ${NAME} COMMAND ${NAME}) | ||
endforeach() |