solDOOM/external/pure_doom/CMakeLists.txt

11 lines
336 B
CMake
Raw Normal View History

2024-03-08 21:36:54 +01:00
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
2024-03-08 22:55:34 +01:00
add_library(PureDOOM "./PureDOOM/PureDOOM.h" "./PureDOOM.c")
2024-03-08 21:36:54 +01:00
target_include_directories(PureDOOM SYSTEM INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
target_compile_definitions(PureDOOM
PRIVATE DOOM_IMPLEMENT_FILE_IO=1
PRIVATE DOOM_IMPLEMENT_MALLOC=1
#PRIVATE DOOM_IMPLEMENT_GETTIME=1
)
2024-03-08 21:36:54 +01:00