trigger: reduce indentation level in trigger_event()
[project/procd.git] / upgraded / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 PROJECT(upgraded C)
4 ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
5 set(CMAKE_EXE_LINKER_FLAGS "-static -fPIC")
6 set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
7 set(CMAKE_EXE_LINK_DYNAMIC_C_FLAGS)
8 set(CMAKE_EXE_LINK_DYNAMIC_CXX_FLAGS)
9 set(CMAKE_SHARED_LIBRARY_C_FLAGS)
10 set(CMAKE_SHARED_LIBRARY_CXX_FLAGS)
11 set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS)
12 set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS)
13 ADD_EXECUTABLE(upgraded upgraded.c ../watchdog.c)
14 TARGET_LINK_LIBRARIES(upgraded ubox rt -lc -lgcc_pic)
15 INSTALL(TARGETS upgraded
16         RUNTIME DESTINATION sbin
17 )