File: CMakeLists.txt

package info (click to toggle)
rampler 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 124 kB
  • sloc: cpp: 319; sh: 16; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required(VERSION 3.2)
project(rampler)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(rampler
    src/main.cpp
    src/sequence.cpp
    src/sampler.cpp)

target_link_libraries(rampler z)

install(TARGETS rampler DESTINATION bin)