mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-29 16:15:34 +03:00
14 lines
342 B
CMake
14 lines
342 B
CMake
|
cmake_minimum_required(VERSION 3.1)
|
||
|
project(reapi CXX)
|
||
|
|
||
|
if (WIN32)
|
||
|
message(FATAL_ERROR "CMakeLists.txt Windows platform isn't supported yet. Use msvc/reapi.sln instead it!")
|
||
|
endif()
|
||
|
|
||
|
|
||
|
add_custom_target(appversion DEPENDS
|
||
|
COMMAND "${PROJECT_SOURCE_DIR}/reapi/version/appversion.sh" "${PROJECT_SOURCE_DIR}" "reapi"
|
||
|
)
|
||
|
|
||
|
add_subdirectory(reapi)
|