Changeset 53473f7 in nscp
- Timestamp:
- 05/04/12 18:47:31 (13 months ago)
- Branches:
- master, 0.4.1, 0.4.2
- Children:
- 9bd40e2
- Parents:
- fa11893
- git-author:
- Michael Medin <michael@…> (04/28/12 21:59:51)
- git-committer:
- Michael Medin <michael@…> (05/04/12 18:47:31)
- Files:
-
- 1 deleted
- 7 edited
-
.gitignore (modified) (1 diff)
-
build/cmake/functions.cmake (modified) (2 diffs)
-
changelog (modified) (1 diff)
-
docs/CMakeLists.txt (modified) (1 diff)
-
files/CMakeLists.txt (modified) (1 diff)
-
scripts/CMakeLists.txt (modified) (4 diffs)
-
version.hpp (deleted)
-
version.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rd9cdcb3 r53473f7 5 5 # Generated config 6 6 include/config.h 7 version.hpp 7 8 8 9 # Python -
build/cmake/functions.cmake
r441a022 r53473f7 20 20 21 21 22 MACRO(copy_single_file aliassrc destDir)22 MACRO(copy_single_file src destDir) 23 23 GET_FILENAME_COMPONENT(TARGET ${src} NAME) 24 24 SET(source_file ${CMAKE_CURRENT_SOURCE_DIR}/${src}) … … 36 36 COMMENT Copying ${source_file} to ${target_file} 37 37 ) 38 ADD_CUSTOM_TARGET(${TARGET}_${alias} ALL DEPENDS ${target_file}) 39 SET_TARGET_PROPERTIES(${TARGET}_${alias} PROPERTIES FOLDER "files/${alias}") 40 INSTALL(CODE "FILE(INSTALL DESTINATION \${CMAKE_INSTALL_PREFIX}/${destDir} TYPE EXECUTABLE FILES \"${source_file}\")") 38 SET(ALL_FILES ${ALL_FILES} ${target_file}) 41 39 ENDMACRO(copy_single_file) 42 40 -
changelog
rfa11893 r53473f7 17 17 * Fixed issue with missing performance data via NSCA 18 18 * Fixed issue with hostnames beeing lowercase 19 20 2012-04-28 MickeM 21 * Changed how files are generated to reduce number of projcts 19 22 20 23 2012-04-12 MickeM -
docs/CMakeLists.txt
r7ec3dd1 r53473f7 1 1 cmake_minimum_required(VERSION 2.6) 2 2 3 copy_single_file(docs "Nagios Usage Guide.pdf" docs) 4 copy_single_file(docs "NSClient++ Reference Manual.pdf" docs) 3 SET(ALL_FILES) 4 copy_single_file("Nagios Usage Guide.pdf" docs) 5 copy_single_file("NSClient++ Reference Manual.pdf" docs) 6 7 ADD_CUSTOM_TARGET(copy_docs ALL DEPENDS ${ALL_FILES}) 8 SET_TARGET_PROPERTIES(copy_docs PROPERTIES FOLDER "files") 9 #INSTALL(CODE "FILE(INSTALL DESTINATION \${CMAKE_INSTALL_PREFIX}/${destDir} TYPE EXECUTABLE FILES \"${source_file}\")") -
files/CMakeLists.txt
r7ec3dd1 r53473f7 1 1 cmake_minimum_required(VERSION 2.6) 2 2 3 copy_single_file(files license.txt .) 4 copy_single_file(files nrpe_dh_512.pem security) 5 copy_single_file(files old-settings.map .) 6 copy_single_file(files counters.defs .) 7 copy_single_file(files ../changelog .) 3 SET(ALL_FILES) 4 copy_single_file(license.txt .) 5 copy_single_file(nrpe_dh_512.pem security) 6 copy_single_file(old-settings.map .) 7 copy_single_file(counters.defs .) 8 copy_single_file(../changelog .) 9 10 ADD_CUSTOM_TARGET(copy_files ALL DEPENDS ${ALL_FILES}) 11 SET_TARGET_PROPERTIES(copy_files PROPERTIES FOLDER "files") 12 #INSTALL(CODE "FILE(INSTALL DESTINATION \${CMAKE_INSTALL_PREFIX}/${destDir} TYPE EXECUTABLE FILES \"${source_file}\")") -
scripts/CMakeLists.txt
r83c2453 r53473f7 13 13 14 14 SET(script_ALL ${scripts_BAT} ${scripts_VBS} ${scripts_PS1}) 15 SET(ALL_FILES) 16 17 15 18 16 19 FOREACH(file ${script_ALL}) 17 20 get_filename_component(filename ${file} NAME) 18 21 #MESSAGE(STATUS " + ${filename} (${file})") 19 copy_single_file( scripts${filename} scripts)22 copy_single_file(${filename} scripts) 20 23 ENDFOREACH(file ${script_ALL}) 21 24 … … 24 27 get_filename_component(filename ${file} NAME) 25 28 #MESSAGE(STATUS " + lib - ${filename}") 26 copy_single_file( "script lib"lib/${filename} scripts/lib)29 copy_single_file(lib/${filename} scripts/lib) 27 30 ENDFOREACH(file ${scripts_LIB}) 28 31 … … 34 37 STRING(REPLACE "." "_" alias "${alias}") 35 38 #MESSAGE(STATUS " + python - ${filename} - ${relpath} - ${alias}") 36 copy_single_file( "python_${alias}"${relpath}/${filename} scripts/${relpath})39 copy_single_file(${relpath}/${filename} scripts/${relpath}) 37 40 ENDFOREACH(file ${scripts_PYT}) 38 41 … … 40 43 get_filename_component(filename ${file} NAME) 41 44 #MESSAGE(STATUS " + lua - ${filename}") 42 copy_single_file( "script lua"lua/${filename} scripts/lua)45 copy_single_file(lua/${filename} scripts/lua) 43 46 ENDFOREACH(file ${scripts_LUA}) 47 48 ADD_CUSTOM_TARGET(copy_scripts ALL DEPENDS ${ALL_FILES}) 49 SET_TARGET_PROPERTIES(copy_scripts PROPERTIES FOLDER "files") 50 #INSTALL(CODE "FILE(INSTALL DESTINATION \${CMAKE_INSTALL_PREFIX}/${destDir} TYPE EXECUTABLE FILES \"${source_file}\")") -
version.txt
rfa11893 r53473f7 1 version=0.4. 02 build= 1703 date=2012-0 5-031 version=0.4.1 2 build=0 3 date=2012-04-23
Note: See TracChangeset
for help on using the changeset viewer.








