damaris-backends/machines/CMakeLists.txt

46 lines
1.6 KiB
CMake
Raw Normal View History

2017-01-19 08:09:51 +00:00
cmake_minimum_required(VERSION 3.0)
include(FindPkgConfig)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(SOURCE_FILES
machines/berta.cpp
machines/bg_backend.cpp
machines/birgit.cpp
machines/deuteron_backend.cpp
machines/dummycore.cpp
machines/fc1_backend.cpp
machines/fc1_digital_backend.cpp
machines/fc1_vierkanal_backend.cpp
machines/fc1neu_backend.cpp
machines/fc2_backend.cpp
machines/fc2_backend_AD5791.cpp
machines/general.cpp
machines/hardware.cpp
machines/hardware.h
machines/magnexgrad_backend.cpp
machines/magnexgrad_backend_dds.cpp
machines/Mobile_wo_sync_backend.cpp
machines/Mobilecore.cpp
machines/NQRcore.cpp
machines/pb_radio_processor_g_backend.cpp
machines/pb_radio_processor_g_backend.h
machines/PFGcore.cpp
machines/pulseblaster_only.cpp
)
#pkg_check_modules (XERCES xerces-c REQUIRED)
#include_directories(.. ${XERCES_INCLUDE_DIRS})
#link_directories(${XERCES_LIBRARY_DIRS})
add_executable(dummycore dummycore.cpp hardware.cpp)
2017-01-19 11:48:08 +00:00
target_link_libraries( dummycore pthread ${XERCES_LIBRARIES} core dummy tempcont Eurotherm-2000Series)
2017-01-19 08:09:51 +00:00
add_executable(PFGcore PFGcore.cpp hardware.cpp)
target_link_libraries( PFGcore pthread ${XERCES_LIBRARIES} core Spectrum_MI40xxSeries PB PB24 PB_PROG PTS Tecmag-DAC20 )
add_executable(general general.cpp hardware.cpp)
target_link_libraries( general pthread ${XERCES_LIBRARIES} ${GLIB2_LIBRARIES} core Spectrum_MI40xxSeries PB PB24 PB_PROG PTS Tecmag-DAC20 )