mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 06:29:38 +00:00
d4c9db7fcf
Allows different implementations for different platforms (the JS build relies on browser APIs to stream disk images over the network). Setting aside the JS build, this also reduces some code duplication.
10 lines
262 B
CMake
10 lines
262 B
CMake
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
|
include(PlatformGlob)
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}")
|
|
|
|
platform_glob(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
|
|
|
|
add_library(utils OBJECT ${SOURCES})
|
|
target_link_libraries(utils PRIVATE)
|