blob: 20cad249f71443b19b53b9c790d6c02b3e91a06b (
plain)
1
2
3
4
5
6
7
8
9
|
cmake_minimum_required(VERSION 3.5)
project(joecpp)
add_executable(joecpp src/main.cpp)
set(OUTPUT_DEBUG "build/debug")
set(OUTPUT_REL "build/release")
# Output directory for libraries in Debug configuration
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/${OUTPUT_DEBUG})
# Output directory for libraries in Release configuration
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/${OUTPUT_REL})
|