damaris-backends/CMakeLists.txt
2017-01-19 08:09:51 +00:00

64 lines
1.7 KiB
CMake

cmake_minimum_required(VERSION 3.0)
project(damaris_backends)
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
tests/stefan/result.hpp
tests/stefan/tcore.cpp
tests/stefan/tcore.h
tests/stefan/testmain.cpp
tests/stefan/tjob.cpp
tests/stefan/tjob.h
tests/iterator_insert_test.cpp
tests/state_iterate_test.cpp
tests/state_read_test.cpp
tests/stopwatch_test.cpp
tests/xml_result_test.cpp
tools/add_endline.cpp
tools/restart_core.cpp)
find_package(EXPAT REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules (GLIB2 glib-2.0 REQUIRED)
pkg_check_modules (XERCES xerces-c REQUIRED)
include_directories (. ${GLIB2_INCLUDE_DIRS} ${XERCES_INCLUDE_DIRS})
link_directories (${GLIB2_LIBRARY_DIRS} ${XERCES_LIBRARY_DIRS})
add_subdirectory(core)
#add_subdirectory(doc)
add_subdirectory(drivers)
#add_subdirectory(tools)
#add_subdirectory(tests)
add_subdirectory(machines)
#add_executable(backends ${SOURCE_FILES})