17 lines
435 B
CMake
17 lines
435 B
CMake
set(SRC_FILES
|
|
"imp/cpp/Device.cpp"
|
|
"imp/cpp/Buffer.cpp"
|
|
"imp/cpp/Texture.cpp"
|
|
"imp/cpp/Pipeline.cpp"
|
|
"imp/cpp/RenderCore.cpp"
|
|
"imp/cpp/TextureAtlas.cpp"
|
|
"imp/cpp/EmbeddedResources.cpp"
|
|
)
|
|
|
|
add_library(RenderCore STATIC ${SRC_FILES})
|
|
|
|
target_include_directories(RenderCore PUBLIC inc)
|
|
target_include_directories(RenderCore PRIVATE imp/hpp)
|
|
|
|
target_link_libraries(RenderCore PUBLIC IACore SDL3::SDL3 glm::glm)
|