2022-03-15 13:29:32 +01:00
|
|
|
# Non functional cmake build file used to provide Android Studio editor support to the project.
|
|
|
|
cmake_minimum_required(VERSION 3.6)
|
2022-03-23 20:46:05 +01:00
|
|
|
project(pandemonium)
|
2022-03-15 13:29:32 +01:00
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
|
|
|
2022-03-23 20:46:05 +01:00
|
|
|
set(PANDEMONIUM_ROOT_DIR ../../../..)
|
2022-03-15 13:29:32 +01:00
|
|
|
|
|
|
|
# Get sources
|
2022-03-23 20:46:05 +01:00
|
|
|
file(GLOB_RECURSE SOURCES ${PANDEMONIUM_ROOT_DIR}/*.c**)
|
|
|
|
file(GLOB_RECURSE HEADERS ${PANDEMONIUM_ROOT_DIR}/*.h**)
|
2022-03-15 13:29:32 +01:00
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
|
|
SYSTEM PUBLIC
|
2022-03-23 20:46:05 +01:00
|
|
|
${PANDEMONIUM_ROOT_DIR}
|
|
|
|
${PANDEMONIUM_ROOT_DIR}/modules/gdnative/include)
|
2022-03-22 19:35:57 +01:00
|
|
|
|
2023-02-07 02:50:11 +01:00
|
|
|
add_definitions(-DUNIX_ENABLED -DANDROID_ENABLED -DTOOLS_ENABLED)
|