X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=b6252fe91563de3b90d882e5a48365dfadfe8fd7;hp=2448a32f3e00229897925fac339ef90bfe479586;hb=f7951df4a17a5c7e831dd20d43049137b5761e85;hpb=075fb4995aaaf521502571d26da62a6923555eff diff --git a/CMakeLists.txt b/CMakeLists.txt index 2448a32f..b6252fe9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,8 @@ find_package(Boost 1.46 COMPONENTS unit_test_framework REQUIRED) #= Config Header #------------------------------------------------------------------------------- +set(PV_TITLE PulseView) + 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} + ${CMAKE_CURRENT_SOURCE_DIR} ${Boost_INCLUDE_DIRS} ) @@ -185,7 +188,9 @@ install(PROGRAMS pulseview DESTINATION bin/) if(ENABLE_TESTS) - add_definitions(-DBOOST_TEST_DYN_LINK) + add_definitions(pulseview-tests + -DBOOST_TEST_DYN_LINK + ) add_executable(pulseview-test ${pulseview_TEST_SOURCES}