projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0615f1b
)
Made unit tests optional
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Fri, 12 Oct 2012 19:53:47 +0000
(20:53 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Fri, 12 Oct 2012 19:53:47 +0000
(20:53 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 21e492735a2f57efdac4bf06e166b3dd81515cd4..4ba2577a25353a87202bb05ba595fd6c484f9e83 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-122,6
+122,8
@@
target_link_libraries(pulseview
)
endif(WIN32)
+if(ENABLE_TESTS)
+
add_definitions(-DBOOST_TEST_DYN_LINK)
add_executable(pulseview-test
@@
-147,3
+149,5
@@
enable_testing()
add_test(test ${CMAKE_CURRENT_BINARY_DIR}/pulseview-test)
install(PROGRAMS pulseview DESTINATION bin/)
+
+endif(ENABLE_TESTS)