-
+##
## This file is part of the PulseView project.
##
## Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
option(DISABLE_WERROR "Build without -Werror" FALSE)
option(ENABLE_SIGNALS "Build with UNIX signals" TRUE)
option(ENABLE_DECODE "Build with libsigrokdecode" FALSE)
-option(ENABLE_TESTS "Enable cotire" FALSE)
+option(ENABLE_COTIRE "Enable cotire" FALSE)
option(ENABLE_TESTS "Enable unit tests" FALSE)
option(STATIC_PKGDEPS_LIBS "Statically link to (pkgconfig) libraries" FALSE)
set(Boost_USE_STATIC_LIBS on)
add_definitions(-DBOOST_THREAD_USE_LIB)
- # Windsws does not support UNIX signals
+ # Windows does not support UNIX signals.
set(ENABLE_SIGNALS FALSE)
endif()
#= Dependencies
#-------------------------------------------------------------------------------
-list(APPEND PKGDEPS
- libsigrok>=0.2.0
-)
+list(APPEND PKGDEPS libsigrok>=0.2.0)
if(ENABLE_DECODE)
list(APPEND PKGDEPS libsigrokdecode>=0.2.0)
pv/widgets/wellarray.cpp
)
-# This list includes only QObject derrived class headers
+# This list includes only QObject derived class headers.
set(pulseview_HEADERS
pv/mainwindow.h
pv/sigsession.h
add_subdirectory(test)
enable_testing()
add_test(test ${CMAKE_CURRENT_BINARY_DIR}/test/pulseview-test)
-endif(ENABLE_TESTS)
+endif()