1 PROJECT(transsip-toolkit C)
3 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
5 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
6 SET(EXECUTABLE_INSTALL_PATH /usr/bin)
7 SET(CONFIG_INSTALL_PATH /etc/trafgen)
11 INCLUDE(CheckStrictAlign)
27 -Werror-implicit-function-declaration
35 -Wmissing-parameter-type
39 -Wmissing-include-dirs
41 -Wmissing-field-initializers
42 -Wmissing-declarations
49 -Wdisabled-optimization
53 -Wunsafe-loop-optimizations
59 IF (CMAKE_BUILD_TYPE STREQUAL profile)
60 ADD_DEFINITIONS(-g -pg)
61 ENDIF (CMAKE_BUILD_TYPE STREQUAL profile)
67 INCLUDE_DIRECTORIES(.)
69 ADD_SUBDIRECTORY(transsip)