File: CMakeLists.txt

package info (click to toggle)
laserboy 2016.03.15-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 14,216 kB
  • ctags: 1,917
  • sloc: cpp: 45,305; makefile: 53
file content (22 lines) | stat: -rw-r--r-- 888 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

PROJECT(laserboy)
SET(laserboy_MAIN_DIR ${laserboy_SOURCE_DIR})

SET(VERSION_SERIES 2012)
SET(VERSION_MAJOR 11)
SET(VERSION_MINOR 11)
SET(VERSION_PATCH 0)

# Setup output Directories
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single Directory for all Libraries")
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single Directory for all Executables.")
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single Directory for all static libraries.")

SUBDIRS(src)

INSTALL(DIRECTORY ${laserboy_MAIN_DIR}/bmp DESTINATION ${CMAKE_INSTALL_PREFIX}/share/laserboy/)
INSTALL(DIRECTORY ${laserboy_MAIN_DIR}/ild DESTINATION ${CMAKE_INSTALL_PREFIX}/share/laserboy/)
INSTALL(DIRECTORY ${laserboy_MAIN_DIR}/wtf DESTINATION ${CMAKE_INSTALL_PREFIX}/share/laserboy/)