Add dumpinfo to cmake, and set the CXX standard to C++98 as it should on that project.

This commit is contained in:
Godzil 2020-02-11 00:05:22 +00:00
parent 6d78199031
commit a0e5006a18

View File

@ -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})
target_link_libraries(wonderswan wswan ${SDL_LIBRARY})
add_executable(dumpinfo dumpinfo.c)