projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump cmake requirement to 2.8.6 (needed for cotire).
[pulseview.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index ad226931dafdd978760b7fc0978e6ffd3ea27aae..a5a910456e8b5c053b92bd10da576dd78fde247e 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-18,10
+18,14
@@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.8.6)
+
include(FindPkgConfig)
include(GNUInstallDirs)
include(FindPkgConfig)
include(GNUInstallDirs)
+set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake")
+include(cotire)
+
project(pulseview)
#===============================================================================
project(pulseview)
#===============================================================================
@@
-133,10
+137,12
@@
set(pulseview_SOURCES
pv/view/selectableitem.cpp
pv/view/signal.cpp
pv/view/timemarker.cpp
pv/view/selectableitem.cpp
pv/view/signal.cpp
pv/view/timemarker.cpp
+ pv/view/trace.cpp
pv/view/view.cpp
pv/view/viewport.cpp
)
pv/view/view.cpp
pv/view/viewport.cpp
)
+# This list includes only QObject derrived class headers
set(pulseview_HEADERS
pv/mainwindow.h
pv/sigsession.h
set(pulseview_HEADERS
pv/mainwindow.h
pv/sigsession.h
@@
-147,11
+153,13
@@
set(pulseview_HEADERS
pv/toolbars/samplingbar.h
pv/view/cursor.h
pv/view/header.h
pv/toolbars/samplingbar.h
pv/view/cursor.h
pv/view/header.h
+ pv/view/logicsignal.h
pv/view/marginwidget.h
pv/view/ruler.h
pv/view/selectableitem.h
pv/view/signal.h
pv/view/timemarker.h
pv/view/marginwidget.h
pv/view/ruler.h
pv/view/selectableitem.h
pv/view/signal.h
pv/view/timemarker.h
+ pv/view/trace.h
pv/view/view.h
pv/view/viewport.h
)
pv/view/view.h
pv/view/viewport.h
)
@@
-234,6
+242,7
@@
add_executable(${PROJECT_NAME}
)
target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS})
)
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.
if(WIN32)
# Pass -mwindows so that no "DOS box" will open when PulseView is started.