Fixes
This commit is contained in:
@ -4,6 +4,7 @@ set(SRC_FILES
|
||||
"Src/Imp/CPP/Scene.cpp"
|
||||
"Src/Imp/CPP/Random.cpp"
|
||||
"Src/Imp/CPP/Engine.cpp"
|
||||
"Src/Imp/CPP/Utils.cpp"
|
||||
"Src/Imp/CPP/InternalEngine.cpp"
|
||||
|
||||
"Src/Imp/CPP/InputManager.cpp"
|
||||
@ -27,14 +28,24 @@ set(SRC_FILES
|
||||
"Src/Imp/CPP/Components/TextureComponent.cpp"
|
||||
"Src/Imp/CPP/Components/TileMapComponent.cpp"
|
||||
"Src/Imp/CPP/Components/SoundEmitterComponent.cpp"
|
||||
|
||||
# Vendor
|
||||
"Src/Imp/CPP/Vendor/pugixml/pugixml.cpp"
|
||||
|
||||
"Src/Imp/CPP/Vendor/imgui/imgui.cpp"
|
||||
"Src/Imp/CPP/Vendor/imgui/imgui_draw.cpp"
|
||||
"Src/Imp/CPP/Vendor/imgui/imgui_tables.cpp"
|
||||
"Src/Imp/CPP/Vendor/imgui/imgui_widgets.cpp"
|
||||
"Src/Imp/CPP/Vendor/imgui/backends/imgui_impl_sdl3.cpp"
|
||||
"Src/Imp/CPP/Vendor/imgui/backends/imgui_impl_sdlgpu3.cpp"
|
||||
)
|
||||
|
||||
add_library(IAEngine SHARED ${SRC_FILES})
|
||||
add_library(IAEngine STATIC ${SRC_FILES})
|
||||
|
||||
target_compile_definitions(IAEngine PRIVATE "__BUILDING_IAENGINE=1")
|
||||
|
||||
target_include_directories(IAEngine PUBLIC Src/Inc)
|
||||
target_include_directories(IAEngine PRIVATE Src/Imp/HPP)
|
||||
|
||||
target_link_libraries(IAEngine PUBLIC IACore ImGui glm::glm)
|
||||
target_link_libraries(IAEngine PRIVATE SDL3::SDL3 SDL3_mixer::SDL3_mixer RmlUi::RmlUi STB)
|
||||
target_link_libraries(IAEngine PUBLIC IACore)
|
||||
target_link_libraries(IAEngine PRIVATE ZLIB::ZLIBSTATIC SDL3::SDL3 SDL3_mixer::SDL3_mixer RmlUi::RmlUi STB)
|
||||
|
||||
Reference in New Issue
Block a user