You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
336 B
CMake
14 lines
336 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
enable_testing()
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib")
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib")
|
|
|
|
add_subdirectory(src)
|
|
IF(BUILD_TESTS)
|
|
add_subdirectory(test)
|
|
ENDIF()
|
|
|