|
@@ -44,15 +44,21 @@ endif()
|
|
|
if (ANDROID)
|
|
|
add_library(sokol-compiletest-c SHARED ${c_sources})
|
|
|
else()
|
|
|
- add_executable(sokol-compiletest-c ${exe_type} sokol_app.c sokol_glue.c ${c_sources})
|
|
|
+ add_executable(sokol-compiletest-c ${exe_type} ${c_sources})
|
|
|
+ add_executable(sokol-compiletest-nosokolapp-c ${exe_type} sokol_gfx.c sokol_imgui_nosokolapp.c sokol_nuklear_nosokolapp.c)
|
|
|
endif()
|
|
|
target_link_libraries(sokol-compiletest-c PUBLIC cimgui nuklear spine)
|
|
|
+target_link_libraries(sokol-compiletest-nosokolapp-c PUBLIC cimgui nuklear)
|
|
|
configure_c(sokol-compiletest-c)
|
|
|
+configure_c(sokol-compiletest-nosokolapp-c)
|
|
|
|
|
|
if (ANDROID)
|
|
|
add_library(sokol-compiletest-cxx SHARED ${cxx_sources})
|
|
|
else()
|
|
|
add_executable(sokol-compiletest-cxx ${exe_type} ${cxx_sources})
|
|
|
+ add_executable(sokol-compiletest-nosokolapp-cxx ${exe_type} sokol_gfx.cc sokol_imgui_nosokolapp.cc)
|
|
|
endif()
|
|
|
target_link_libraries(sokol-compiletest-cxx PUBLIC imgui nuklear spine)
|
|
|
+target_link_libraries(sokol-compiletest-nosokolapp-cxx PUBLIC imgui)
|
|
|
configure_cxx(sokol-compiletest-cxx)
|
|
|
+configure_cxx(sokol-compiletest-nosokolapp-cxx)
|