start using cmake
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
file(GLOB_RECURSE ENGINE_SOURCES CONFIGURE_DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/*.c"
|
||||
)
|
||||
|
||||
add_library(dangerzone_engine STATIC
|
||||
${ENGINE_SOURCES}
|
||||
)
|
||||
|
||||
target_include_directories(dangerzone_engine
|
||||
PUBLIC
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
PRIVATE
|
||||
${PROJECT_SOURCE_DIR}/src
|
||||
)
|
||||
|
||||
target_link_libraries(dangerzone_engine
|
||||
PUBLIC
|
||||
PkgConfig::SDL3
|
||||
)
|
||||
Reference in New Issue
Block a user