2019-07-07 06:10:32 +00:00
|
|
|
cmake_minimum_required(VERSION 3.1)
|
|
|
|
project(dingusppc)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-c -Wall -O3 -s")
|
|
|
|
|
|
|
|
set(SOURCE_FILES
|
|
|
|
macioserial.cpp
|
|
|
|
macscsi.cpp
|
|
|
|
macswim3.cpp
|
|
|
|
mpc106.cpp
|
|
|
|
openpic.cpp
|
|
|
|
poweropcodes.cpp
|
|
|
|
ppcfpopcodes.cpp
|
|
|
|
ppcgekkoopcodes.cpp
|
|
|
|
ppcmemory.cpp
|
|
|
|
ppcopcodes.cpp
|
|
|
|
viacuda.cpp
|
|
|
|
main.cpp
|
|
|
|
davbus.cpp
|
2019-07-17 13:24:34 +00:00
|
|
|
debugger.cpp
|
2019-07-07 06:10:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADER_FILES
|
|
|
|
macioserial.h
|
|
|
|
macscsi.h
|
|
|
|
macswim3.h
|
|
|
|
mpc106.h
|
|
|
|
openpic.h
|
|
|
|
ppcemumain.h
|
|
|
|
ppcmemory.h
|
|
|
|
viacuda.h
|
|
|
|
davbus.h
|
2019-07-17 13:24:34 +00:00
|
|
|
debugger.h
|
2019-07-07 06:10:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(dingusppc ${SOURCE_FILES} ${HEADER_FILES})
|
2019-07-17 13:24:34 +00:00
|
|
|
install (TARGETS dingusppc DESTINATION bin)
|