minidef
This commit is contained in:
@@ -19,18 +19,16 @@ file(GLOB imgui_backend_sdl
|
||||
dependency/imgui/backends/imgui_impl_sdl3.h
|
||||
dependency/imgui/backends/imgui_impl_sdl3.cpp)
|
||||
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/dependency/minidef")
|
||||
|
||||
# Engine
|
||||
file(GLOB_RECURSE sources_engine engine/*.cpp engine/*.h)
|
||||
add_executable(PuzGameEngine ${sources_engine})
|
||||
set_property(TARGET PuzGameEngine PROPERTY CXX_STANDARD 17)
|
||||
target_include_directories(PuzGameEngine PUBLIC)
|
||||
#file(COPY ${data} DESTINATION resources)
|
||||
|
||||
#target_compile_options(PuzGameEngine PUBLIC xyz)
|
||||
#file(GLOB_RECURSE data resources/xyz)
|
||||
|
||||
# Game
|
||||
file(GLOB_RECURSE sources_game game/*.cpp game/*.h)
|
||||
file(GLOB_RECURSE sources_game game/*.cpp game/*.h gen/*.cpp gen/*.h)
|
||||
file(GLOB source_singleheader dependency/tinygltf/stb_image.h dependency/tinygltf/stb_image_write.h dependency/tinygltf/json.hpp dependency/tinygltf/tiny_gltf.h)
|
||||
add_library(PuzGame SHARED ${sources_game} ${source_singleheader} ${imgui_sources} ${imgui_backend_sdl})
|
||||
set_property(TARGET PuzGame PROPERTY CXX_STANDARD 17)
|
||||
|
||||
Reference in New Issue
Block a user