King_DuckZ
931acf3293
This also adds a static lib part to DoorKeeper that will only contain helper functions.
21 lines
379 B
CMake
21 lines
379 B
CMake
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
|
|
project(doorkeepertest CXX)
|
|
|
|
configure_file(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}Config.h.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.h"
|
|
)
|
|
|
|
include_directories(
|
|
.
|
|
"${CMAKE_CURRENT_BINARY_DIR}"
|
|
)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
doorkeeper.cpp
|
|
main.cpp
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
doorkeeper
|
|
)
|