mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-14 17:27:48 +00:00
Before f65f9b9845
this would happen
automatically (since the stream member was always valid). It's now a
unique_ptr that's only initialized when the file is opened, so we need
to add guards for all the operations.
12 lines
346 B
CMake
12 lines
346 B
CMake
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
|
include(PlatformGlob)
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}"
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/loguru/"
|
|
)
|
|
|
|
platform_glob(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
|
|
|
|
add_library(utils OBJECT ${SOURCES})
|
|
target_link_libraries(utils PRIVATE)
|