Move shared frontend code from SDL to a seperate project

This commit is contained in:
Connor McLaughlin
2020-02-16 00:13:53 +09:00
parent 24bebf7f59
commit 745c2785b2
18 changed files with 495 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
add_library(frontend-common
icon.cpp
icon.h
imgui_styles.cpp
imgui_styles.h
sdl_audio_stream.cpp
sdl_audio_stream.h
)
target_include_directories(frontend-common PRIVATE ${SDL2_INCLUDE_DIRS})
target_link_libraries(frontend-common PRIVATE core common imgui ${SDL2_LIBRARIES})