dingusppc/core/CMakeLists.txt

13 lines
348 B
CMake
Raw Permalink Normal View History

2022-01-10 15:36:14 +00:00
include_directories("${PROJECT_SOURCE_DIR}"
"${PROJECT_SOURCE_DIR}/thirdparty/loguru/"
)
platform_glob(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
2022-01-10 15:36:14 +00:00
add_library(core OBJECT ${SOURCES})
if (EMSCRIPTEN)
target_link_libraries(core PRIVATE)
else()
target_link_libraries(core PRIVATE SDL2::SDL2)
endif()