mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-24 13:30:26 +00:00
15 lines
495 B
CMake
15 lines
495 B
CMake
include_directories("${PROJECT_SOURCE_DIR}"
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/loguru/")
|
|
|
|
file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.h"
|
|
)
|
|
|
|
# The use of volatile is deprecated, but we still need it to avoid function
|
|
# parameters being clobbered when using setjmp/longjmp.
|
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
add_compile_options(-Wno-deprecated-volatile)
|
|
endif()
|
|
|
|
add_library(cpu_ppc OBJECT ${SOURCES})
|