File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.28)
22
33add_executable (cli_app main.cpp)
4- target_link_libraries (cli_app PRIVATE warnings)
4+ target_link_libraries (cli_app PRIVATE warnings sanitizers )
55set_target_properties (
66 cli_app
77 PROPERTIES CXX_STANDARD 23
@@ -12,7 +12,7 @@ set_target_properties(
1212install (TARGETS cli_app RUNTIME DESTINATION bin COMPONENT runtime)
1313
1414add_library (sdl_app SHARED sdl_main.cpp)
15- target_link_libraries (sdl_app PRIVATE SDL3::SDL3-shared)
15+ target_link_libraries (sdl_app PRIVATE SDL3::SDL3-shared warnings sanitizers )
1616
1717install (
1818 TARGETS sdl_app
Original file line number Diff line number Diff line change 33
44#include < cstdlib>
55
6- int main (int argc, char * argv[] )
6+ int main ()
77{
88 if (!SDL_Init (SDL_INIT_EVENTS | SDL_INIT_VIDEO))
99 {
You can’t perform that action at this time.
0 commit comments