14 lines
319 B
CMake
14 lines
319 B
CMake
|
cmake_minimum_required(VERSION 3.10)
|
||
|
|
||
|
# Prohibit in-source tree builds.
|
||
|
if(" ${CMAKE_SOURCE_DIR}" STREQUAL " ${CMAKE_BINARY_DIR}")
|
||
|
message(FATAL_ERROR "In-source builds are strictly prohibited.")
|
||
|
endif()
|
||
|
|
||
|
include(cmake/Policies.cmake)
|
||
|
|
||
|
project(jmmt_tools)
|
||
|
|
||
|
add_subdirectory(src/libjmmt)
|
||
|
add_subdirectory(src/tools)
|