Blame view

CMakeLists.txt 920 Bytes
1
2
3
cmake_minimum_required(VERSION 3.3)
project(nagios_plugins)
Imanol-Mikel Barba Sabariego authored
4
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11  -U__STRICT_ANSI__")
5
Imanol-Mikel Barba Sabariego authored
6
set(SOURCE_FILES_CSGO check_csgo/check_csgo.cpp check_csgo/auxiliar.cpp check_csgo/udp.cpp)
Imanol-Mikel Barba Sabariego authored
7
8
add_executable(check_csgo ${SOURCE_FILES_CSGO})
Imanol-Mikel Barba Sabariego authored
9
10
11
set(SOURCE_FILES_MEMFREE check_memfree/check_memfree.cpp  check_memfree/range.cpp check_memfree/auxiliar.cpp)
add_executable(check_memfree ${SOURCE_FILES_MEMFREE})
Imanol-Mikel Barba Sabariego authored
12
set(SOURCE_FILES_MEMFREE_FREEBSD check_memfree_freebsd/check_memfree.cpp check_memfree_freebsd/range.cpp check_memfree_freebsd/auxiliar.cpp)
Imanol-Mikel Barba Sabariego authored
13
14
15
16
17
18
19
add_executable(check_memfree_freebsd ${SOURCE_FILES_MEMFREE_FREEBSD})

set(SOURCE_FILES_SMART check_smart/check_smart.cpp check_smart/auxiliar.cpp)
add_executable(check_smart ${SOURCE_FILES_SMART})

set(SOURCE_FILES_TFTP check_tftp/check_tftp.cpp  check_tftp/udp.cpp check_tftp/auxiliar.cpp)
add_executable(check_tftp ${SOURCE_FILES_TFTP})