summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/SubDirPrefix.cmake
blob: 30ad1e60736c0e94a2975b70e8eeef166f687386 (plain)
1
2
3
4
5
6
7
8
cmake_minimum_required(VERSION 3.5)
project(hello C)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
add_subdirectory(SubDirPrefix)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_executable(hello hello_sub_greeting.c)
target_link_libraries(hello greeting)
include(CheckOutput.cmake)