From a0e5006a1829cdcedb0578542e6523317df12c7b Mon Sep 17 00:00:00 2001 From: Godzil Date: Tue, 11 Feb 2020 00:05:22 +0000 Subject: [PATCH] Add dumpinfo to cmake, and set the CXX standard to C++98 as it should on that project. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f282c41..5e3e042 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,10 +17,14 @@ message("-- Building version ${VERSION}") add_executable(wonderswan main.cpp) +set_property(TARGET wonderswan PROPERTY CXX_STANDARD 98) + target_compile_definitions(wonderswan PUBLIC VERSION="${VERSION}") target_include_directories(wonderswan PUBLIC source) target_include_directories(wonderswan PUBLIC ${SDL_INCLUDE_DIR}) add_subdirectory(source) -target_link_libraries(wonderswan wswan ${SDL_LIBRARY}) \ No newline at end of file +target_link_libraries(wonderswan wswan ${SDL_LIBRARY}) + +add_executable(dumpinfo dumpinfo.c) \ No newline at end of file