mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-01 17:29:38 +00:00
Update cmake
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.11)
|
||||
project (raylib-cpp)
|
||||
|
||||
option(BUILD_EXAMPLES, "Build examples", TRUE)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/CTestCustom.cmake ${CMAKE_BINARY_DIR})
|
||||
include_directories(include)
|
||||
|
||||
if (BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
add_subdirectory(examples)
|
||||
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
|
||||
4
cmake/CTextCustom.cmake
Normal file
4
cmake/CTextCustom.cmake
Normal file
@@ -0,0 +1,4 @@
|
||||
# Ignore the following tests.
|
||||
set(CTEST_CUSTOM_TESTS_IGNORE
|
||||
pkg-config--static
|
||||
)
|
||||
Reference in New Issue
Block a user