forked from nnen/waterfall
-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
49 lines (40 loc) · 1.24 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cmake_minimum_required (VERSION 2.6)
project (radio-observer)
# include_directories("src")
#set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
set(CMAKE_CXX_FLAGS_INIT "-Wall -ggdb -Icppapp -rdynamic")
set(CMAKE_CXX_FLAGS_DEBUG "-O0")
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests)
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.7.0)
# include_directories(${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.7.0/include)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cppapp)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/cppapp)
#add_executable(littlevm
# src/main.cpp
# )
add_executable(radio-observer
src/Agent.cpp
src/App.cpp
src/Backend.cpp
src/BolidMessage.cpp
src/BolidRecorder.cpp
src/CsvLog.cpp
src/FFTBackend.cpp
src/FITSWriter.cpp
src/Frontend.cpp
src/JackFrontend.cpp
src/main.cpp
src/MessageDispatch.cpp
src/MetadataAgent.cpp
src/Pipeline.cpp
src/Signal.cpp
src/utils.cpp
src/WaterfallBackend.cpp
src/WAVStream.cpp
src/WFTime.cpp
)
target_link_libraries(radio-observer cppapp fftw3 cfitsio pthread jack)
#target_link_libraries(littlevm littlelang ${CMAKE_DL_LIBS})
#target_link_libraries(littlelang ${CMAKE_DL_LIBS})
#target_link_libraries(tests littlelang gtest gtest_main)