aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-02 17:29:59 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-02 17:29:59 +0200
commitdcef7ddfced0ff2a1ea013b30db7022bb55b2b07 (patch)
tree45c454ebaef7c2c279f47cec0581d929146cb2fe /CMakeLists.txt
parent8823ffb8e0cd34615f44e5d241030c57a7465153 (diff)
downloadetisnoop-dcef7ddfced0ff2a1ea013b30db7022bb55b2b07.tar.gz
etisnoop-dcef7ddfced0ff2a1ea013b30db7022bb55b2b07.tar.bz2
etisnoop-dcef7ddfced0ff2a1ea013b30db7022bb55b2b07.zip
Replace CMake by autotools
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt105
1 files changed, 0 insertions, 105 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644
index bebb0c6..0000000
--- a/CMakeLists.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-########################################################################
-# Project setup
-########################################################################
-
-cmake_minimum_required(VERSION 2.8)
-project(etisnoop CXX)
-
-# Select the release build type by default to get optimization flags
-if(NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE "Release")
- message(STATUS "Build type not specified: defaulting to release.")
-endif(NOT CMAKE_BUILD_TYPE)
-set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
-
-list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
-
-# Set the version information here
-set(VERSION_INFO_MAJOR_VERSION 0)
-set(VERSION_INFO_API_COMPAT 0)
-set(VERSION_INFO_MINOR_VERSION 0)
-set(VERSION_INFO_MAINT_VERSION git)
-
-
-########################################################################
-# Compiler specific setup
-########################################################################
-
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -W -Wall -std=c++11")
-
-
-########################################################################
-# Find build dependencies
-########################################################################
-
-# libfaad2
-find_package(Faad REQUIRED)
-include_directories(${FAAD_INCLUDE_DIRS})
-
-# libfec
-find_package(Fec REQUIRED)
-include_directories(${FEC_INCLUDE_DIRS})
-
-########################################################################
-# Setup apps
-########################################################################
-
-list(APPEND etisnoop_sources
- dabplussnoop.cpp
- etiinput.cpp
- etisnoop.cpp
- faad_decoder.cpp
- fig0_0.cpp
- fig0_1.cpp
- fig0_2.cpp
- fig0_3.cpp
- fig0_5.cpp
- fig0_6.cpp
- fig0_8.cpp
- fig0_9.cpp
- fig0_10.cpp
- fig0_11.cpp
- fig0_13.cpp
- fig0_14.cpp
- fig0_16.cpp
- fig0_17.cpp
- fig0_18.cpp
- fig0_19.cpp
- fig0_21.cpp
- fig0_22.cpp
- fig0_24.cpp
- fig0_25.cpp
- fig0_26.cpp
- fig0_27.cpp
- fig0_28.cpp
- fig0_31.cpp
- fig1.cpp
- figs.cpp
- firecode.c
- lib_crc.c
- repetitionrate.cpp
- rsdecoder.cpp
- tables.cpp
- utils.cpp
- wavfile.c
-)
-
-set_source_files_properties(${etisnoop_sources} PROPERTIES LANGUAGE "CXX")
-add_executable(etisnoop ${etisnoop_sources})
-target_link_libraries(etisnoop ${FAAD_LIBRARIES} ${FEC_LIBRARIES})
-
-install(TARGETS etisnoop DESTINATION bin)
-
-
-########################################################################
-# Create uninstall target
-########################################################################
-
-configure_file(
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
- IMMEDIATE @ONLY)
-
-add_custom_target(uninstall
- COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
-