projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added --version option
[pulseview.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2448a32f3e00229897925fac339ef90bfe479586..b6252fe91563de3b90d882e5a48365dfadfe8fd7 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-58,6
+58,8
@@
find_package(Boost 1.46 COMPONENTS unit_test_framework REQUIRED)
#= Config Header
#-------------------------------------------------------------------------------
#= Config Header
#-------------------------------------------------------------------------------
+set(PV_TITLE PulseView)
+
set(PV_VERSION_MAJOR 0)
set(PV_VERSION_MINOR 1)
set(PV_VERSION_MICRO 0)
set(PV_VERSION_MAJOR 0)
set(PV_VERSION_MINOR 1)
set(PV_VERSION_MICRO 0)
@@
-136,6
+138,7
@@
add_definitions(${QT_DEFINITIONS})
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
${Boost_INCLUDE_DIRS}
)
${Boost_INCLUDE_DIRS}
)
@@
-185,7
+188,9
@@
install(PROGRAMS pulseview DESTINATION bin/)
if(ENABLE_TESTS)
if(ENABLE_TESTS)
- add_definitions(-DBOOST_TEST_DYN_LINK)
+ add_definitions(pulseview-tests
+ -DBOOST_TEST_DYN_LINK
+ )
add_executable(pulseview-test
${pulseview_TEST_SOURCES}
add_executable(pulseview-test
${pulseview_TEST_SOURCES}