source: nscp/scripts/CMakeLists.txt @ c391984

0.4.00.4.10.4.2
Last change on this file since c391984 was c391984, checked in by Michael Medin <michael@…>, 2 years ago

0.4.x:

  • tweaks to the build environment to make the installer work
  • fixed Unicode issue
  • fixed performance data
  • improved so alias doesn't re-process the data so much
  • Property mode set to 100644
File size: 680 bytes
Line 
1cmake_minimum_required(VERSION 2.8)
2
3FILE (GLOB scripts_BAT "*.bat")
4FILE (GLOB scripts_VBS "*.vbs")
5FILE (GLOB scripts_PS1 "*.ps1")
6FILE (GLOB scripts_LIB "lib/*.vbs")
7
8SET(script_ALL ${scripts_BAT} ${scripts_VBS} ${scripts_PS1})
9
10MESSAGE(STATUS "Copying script:")
11FOREACH(file ${script_ALL})
12        get_filename_component(filename ${file} NAME)
13        MESSAGE(STATUS " + ${filename}")
14        FILE(COPY ${file} DESTINATION ${CMAKE_BINARY_DIR}/scripts)
15ENDFOREACH(file ${script_ALL})
16
17
18FOREACH(file ${scripts_LIB})
19        get_filename_component(filename ${file} NAME)
20        MESSAGE(STATUS " + lib - ${filename}")
21        FILE(COPY ${file} DESTINATION ${CMAKE_BINARY_DIR}/scripts/lib)
22ENDFOREACH(file ${scripts_LIB})
Note: See TracBrowser for help on using the repository browser.