2021-05-06 20:04:59 +00:00
|
|
|
option(CPP_STARTER_USE_SDL "Enable compilation of SDL sample" OFF)
|
|
|
|
|
|
|
|
# sdl
|
|
|
|
if(CPP_STARTER_USE_SDL)
|
|
|
|
message("Using SDL2")
|
|
|
|
add_subdirectory(sdl)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Generic test that uses conan libs
|
2021-05-14 04:23:25 +00:00
|
|
|
add_executable(6502-c++ 6502-c++.cpp)
|
2021-05-06 20:04:59 +00:00
|
|
|
target_link_libraries(
|
|
|
|
6502-c++
|
|
|
|
PRIVATE project_options
|
|
|
|
project_warnings
|
2021-05-07 03:43:03 +00:00
|
|
|
CONAN_PKG::ctre
|
2021-05-14 04:23:25 +00:00
|
|
|
CONAN_PKG::cli11
|
2021-05-06 20:04:59 +00:00
|
|
|
CONAN_PKG::fmt
|
|
|
|
CONAN_PKG::spdlog)
|
2021-05-14 04:23:25 +00:00
|
|
|
|
|
|
|
target_include_directories(6502-c++
|
|
|
|
PRIVATE "${CMAKE_SOURCE_DIR}")
|