mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 06:29:38 +00:00
b311cea4e5
Update the COMPILE section in the README.
19 lines
676 B
CMake
19 lines
676 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
project(dingusppc)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/devices"
|
|
"${PROJECT_SOURCE_DIR}/debugger"
|
|
"${PROJECT_SOURCE_DIR}/cpu/ppc")
|
|
|
|
file(GLOB SOURCES "${PROJECT_SOURCE_DIR}/*.cpp" "${PROJECT_SOURCE_DIR}/devices/*.cpp"
|
|
"${PROJECT_SOURCE_DIR}/debugger/*.cpp"
|
|
"${PROJECT_SOURCE_DIR}/cpu/ppc/*.cpp")
|
|
|
|
add_executable(dingusppc ${SOURCES})
|
|
install (TARGETS dingusppc DESTINATION ${EXECUTABLE_OUTPUT_PATH})
|