13 lines
400 B
CMake
13 lines
400 B
CMake
cmake_minimum_required(VERSION 3.22)
|
|
project(godot-recast-navigation)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
|
|
add_subdirectory(godot-cpp)
|
|
|
|
add_library(godot-recast-navigation SHARED src/registration.cpp)
|
|
|
|
target_include_directories(godot-recast-navigation PRIVATE src/)
|
|
target_link_libraries(godot-recast-navigation PUBLIC godot::cpp)
|