From ba739915ed8cfc74fa9ebf00c126557832c95b59 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Mon, 22 Feb 2021 16:58:45 +0100 Subject: [PATCH] [cmake] some cleanup --- CMakeLists.txt | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b521ff5..1dddaff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ message ("-------------------------------------------") -message ("- setting up nixview build -") +message ("- setting up PylonRecorder build -") message ("-------------------------------------------") cmake_minimum_required ( VERSION 3.7 ) @@ -7,7 +7,7 @@ set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake" ) project( recorder VERSION 0.1.0 LANGUAGES CXX ) -configure_file( recorder_config.h.in rutorial_config.h ) +configure_file( recorder_config.h.in recorder_config.h ) include_directories (${CMAKE_BINARY_DIR}) @@ -49,14 +49,6 @@ file (GLOB PYLON_LIBRARIES "/opt/pylon5/lib64/*.so") file (GLOB RECORDER_SOURCES *.cpp) file (GLOB RECORDER_INCLUDES *.hpp) - add_executable ( recorder ${RECORDER_SOURCES} ${RECORDER_INCLUDES} ${RECORDER_RES_SOURCES} ) target_include_directories ( recorder PUBLIC "${PROJECT_BINARY_DIR}" ) -target_link_libraries ( recorder Qt5::PrintSupport Qt5::Core Qt5::Widgets Qt5::Gui ${NIX_LIBRARIES} ${PYLON_LIBRARIES}) - -# QT5_WRAP_UI (NIXVIEW_UI_HDRS ${NIXVIEW_UI}) - - - - - +target_link_libraries ( recorder Qt5::PrintSupport Qt5::Core Qt5::Widgets Qt5::Gui ${NIX_LIBRARIES} ${PYLON_LIBRARIES}) \ No newline at end of file