mirror of
https://github.com/lefticus/6502-cpp.git
synced 2024-06-26 00:29:30 +00:00
18 lines
402 B
CMake
18 lines
402 B
CMake
|
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
|
||
|
add_executable(6502-c++ 6502-c++.cpp)
|
||
|
target_link_libraries(
|
||
|
6502-c++
|
||
|
PRIVATE project_options
|
||
|
project_warnings
|
||
|
CONAN_PKG::docopt.cpp
|
||
|
CONAN_PKG::fmt
|
||
|
CONAN_PKG::spdlog)
|