aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/simple/CMakeLists.txt
blob: 4f8859e84de85eec3ccc18ab843e78cd0f3658c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
cmake_minimum_required(VERSION 3.1)

project(example_simple)

include(../../common.cmake)

add_executable(foo foo.cpp)

install(TARGETS foo RUNTIME DESTINATION bin)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
    install(FILES "$<TARGET_PDB_FILE:foo>" DESTINATION bin OPTIONAL)
endif()