Move platform headers into their own interface target
This commit is contained in:
parent
fe05ba1101
commit
e8032b8cf2
4 changed files with 2 additions and 2 deletions
|
@ -8,6 +8,7 @@ add_subdirectory(math)
|
||||||
add_subdirectory(log)
|
add_subdirectory(log)
|
||||||
add_subdirectory(asset)
|
add_subdirectory(asset)
|
||||||
add_subdirectory(shadercompiler)
|
add_subdirectory(shadercompiler)
|
||||||
|
add_subdirectory(platform)
|
||||||
|
|
||||||
if(NOT ENABLE_IOS AND NOT ENABLE_TVOS)
|
if(NOT ENABLE_IOS AND NOT ENABLE_TVOS)
|
||||||
add_subdirectory(audio)
|
add_subdirectory(audio)
|
||||||
|
|
|
@ -11,8 +11,6 @@ set(SRC
|
||||||
include/object.hpp
|
include/object.hpp
|
||||||
include/debug.hpp
|
include/debug.hpp
|
||||||
include/components.hpp
|
include/components.hpp
|
||||||
include/platform.hpp
|
|
||||||
include/file.hpp
|
|
||||||
include/imgui_utility.hpp
|
include/imgui_utility.hpp
|
||||||
include/console.hpp
|
include/console.hpp
|
||||||
|
|
||||||
|
@ -46,6 +44,7 @@ target_link_libraries(Core PUBLIC
|
||||||
Renderer
|
Renderer
|
||||||
magic_enum
|
magic_enum
|
||||||
imgui
|
imgui
|
||||||
|
Platform
|
||||||
${EXTRA_LIBRARIES}
|
${EXTRA_LIBRARIES}
|
||||||
BulletDynamics
|
BulletDynamics
|
||||||
BulletCollision
|
BulletCollision
|
||||||
|
|
Reference in a new issue