X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=CMakeLists.txt;h=a5a910456e8b5c053b92bd10da576dd78fde247e;hb=7ba41e7ec7e575ae34ed2af33920c6e843aaac4d;hp=5f32467b2a855b4a6682d1215214e9803b5e1046;hpb=23b02a8288bd2dd2fd058b22c15d4ba17f4151c0;p=pulseview.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f32467..a5a9104 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,10 +18,14 @@ ## along with this program. If not, see . ## -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8.6) + include(FindPkgConfig) include(GNUInstallDirs) +set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") +include(cotire) + project(pulseview) #=============================================================================== @@ -133,6 +137,7 @@ set(pulseview_SOURCES pv/view/selectableitem.cpp pv/view/signal.cpp pv/view/timemarker.cpp + pv/view/trace.cpp pv/view/view.cpp pv/view/viewport.cpp ) @@ -154,6 +159,7 @@ set(pulseview_HEADERS pv/view/selectableitem.h pv/view/signal.h pv/view/timemarker.h + pv/view/trace.h pv/view/view.h pv/view/viewport.h ) @@ -236,6 +242,7 @@ add_executable(${PROJECT_NAME} ) target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) +cotire(${PROJECT_NAME}) if(WIN32) # Pass -mwindows so that no "DOS box" will open when PulseView is started.