File: CMakeLists.txt

package info (click to toggle)
tango 10.0.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 89,936 kB
  • sloc: cpp: 201,786; sh: 1,645; python: 953; java: 800; perl: 467; javascript: 447; xml: 325; makefile: 272; sql: 72; ruby: 24
file content (15 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
project(various_scripts)

if (WIN32)
    install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/common.bat
            DESTINATION ${CMAKE_INSTALL_BINDIR})
else()
    set(SCRIPTS tango
                tango_wca)

    foreach(input ${SCRIPTS})
    configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${input}.in ${input} @ONLY)
    install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${input}
            DESTINATION ${CMAKE_INSTALL_BINDIR})
    endforeach()
endif()