diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-07-13 21:56:59 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-07-14 20:51:21 +0000 |
| commit | f38e7aa58ae3e79e80dabe9c4ed486cc8ba4542b (patch) | |
| tree | d08be6575c30b0a0e9646e163c6e94759773e705 | |
| parent | README: Fix misspelling (diff) | |
| download | inkscape-f38e7aa58ae3e79e80dabe9c4ed486cc8ba4542b.tar.gz inkscape-f38e7aa58ae3e79e80dabe9c4ed486cc8ba4542b.zip | |
cmake: do not build tests for default target
this speeds up incremental builds (i.e. when debugging) as tests do not have to be linked each time
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b18e71f5..43f7d8846 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,7 +249,7 @@ if(GMOCK_PRESENT) set(CMAKE_CTEST_ENV INKSCAPE_DATADIR=${CMAKE_CURRENT_SOURCE_DIR}/share) enable_testing() add_custom_target(check COMMAND ${CMAKE_COMMAND} -E env ${CMAKE_CTEST_ENV} ${CMAKE_CTEST_COMMAND}) - add_subdirectory(testfiles) + add_subdirectory(testfiles EXCLUDE_FROM_ALL) endif() # Canonicalize the flags to speed up recompilation using ccache/etc. |
