blob: 5dde4fdaab8132db84f48fd0353413cabec73adb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
add_library(nes STATIC)
add_library(nes::nes ALIAS nes)
target_include_directories(nes PUBLIC .)
target_link_libraries(nes PRIVATE nes::options)
if(NES_ENABLE_DEBUG_OUTPUT)
target_compile_definitions(nes PUBLIC NES_ENABLE_DEBUG_OUTPUT)
target_link_libraries(nes PUBLIC spdlog::spdlog)
endif()
if(NES_ENABLE_SNAPSHOTS)
target_compile_definitions(nes PUBLIC NES_ENABLE_SNAPSHOTS)
endif()
add_subdirectory(nes)
|