2019-07-07 06:10:32 +00:00
|
|
|
cmake_minimum_required(VERSION 3.1)
|
|
|
|
project(dingusppc)
|
2019-12-16 15:31:33 +00:00
|
|
|
|
2019-07-07 06:10:32 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
2019-12-14 19:56:43 +00:00
|
|
|
|
2019-07-07 06:10:32 +00:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
2019-12-15 23:24:14 +00:00
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
|
2019-12-16 15:31:33 +00:00
|
|
|
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/devices"
|
2019-12-23 09:38:16 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/debugger"
|
|
|
|
"${PROJECT_SOURCE_DIR}/cpu/ppc")
|
2019-12-16 15:31:33 +00:00
|
|
|
|
|
|
|
file(GLOB SOURCES "${PROJECT_SOURCE_DIR}/*.cpp" "${PROJECT_SOURCE_DIR}/devices/*.cpp"
|
2019-12-23 09:38:16 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/debugger/*.cpp"
|
|
|
|
"${PROJECT_SOURCE_DIR}/cpu/ppc/*.cpp")
|
2019-12-16 15:31:33 +00:00
|
|
|
|
|
|
|
add_executable(dingusppc ${SOURCES})
|
2019-12-15 23:24:14 +00:00
|
|
|
install (TARGETS dingusppc DESTINATION ${EXECUTABLE_OUTPUT_PATH})
|