mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-29 19:05:44 -05:00
f9cda74b58
- loader checks if resources are correct at startup, if not, downloads them and replaces - add sha256 to hash - change hash to use paths instead of strings - cmake rework; GeodeFile.cmake now checks CLI version - add optional `DONT_INSTALL` argument to `create_geode_file` - test mods are now not installed by default - add package_geode_resources_now command for packaging resources at configure time and creating a header with their calculated hashes
20 lines
501 B
CMake
20 lines
501 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
|
|
project(lilac LANGUAGES C CXX)
|
|
|
|
add_subdirectory("src/hook")
|
|
if(WIN32) # TODO: replace it with target platform
|
|
add_subdirectory("src/meta")
|
|
endif()
|
|
|
|
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
|
add_subdirectory("test")
|
|
endif()
|
|
|
|
target_include_directories(
|
|
lilac_hook INTERFACE
|
|
${lilac_SOURCE_DIR}/include/geode
|
|
${lilac_SOURCE_DIR}/include/geode/core
|
|
${lilac_SOURCE_DIR}/include/geode/core/hook
|
|
${GEODE_LOADER_PATH}/include
|
|
)
|