mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-01-06 21:30:47 +00:00
initial CMake files
This commit is contained in:
parent
cb719a5a6c
commit
b944d870f7
7
CMakeLists.txt
Normal file
7
CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.22.1)
|
||||
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
||||
project(epple2)
|
||||
|
||||
add_subdirectory(src)
|
81
src/CMakeLists.txt
Normal file
81
src/CMakeLists.txt
Normal file
@ -0,0 +1,81 @@
|
||||
find_package(SDL2 REQUIRED)
|
||||
include_directories(${SDL2_INCLUDE_DIRS})
|
||||
|
||||
set(sources
|
||||
a2colorsobserved.cpp
|
||||
addressbus.cpp
|
||||
analogtv.cpp
|
||||
apple2.cpp
|
||||
applentsc.cpp
|
||||
card.cpp
|
||||
cassette.cpp
|
||||
cassettein.cpp
|
||||
cassetteout.cpp
|
||||
Circuit.cpp
|
||||
clipboardhandler.cpp
|
||||
clockcard.cpp
|
||||
Common.cpp
|
||||
configep2.cpp
|
||||
Cpu6502.cpp
|
||||
Cpu6502Helper.cpp
|
||||
cpu.cpp
|
||||
disk2readwritehead.cpp
|
||||
disk2steppermotorcan.cpp
|
||||
disk2steppermotor.cpp
|
||||
disk2steppermotorrotor.cpp
|
||||
diskcontroller.cpp
|
||||
drive.cpp
|
||||
drivemotor.cpp
|
||||
emptyslot.cpp
|
||||
Emu6502.cpp
|
||||
emulator.cpp
|
||||
filterchroma.cpp
|
||||
filterluma.cpp
|
||||
firmwarecard.cpp
|
||||
gui.cpp
|
||||
hypermode.cpp
|
||||
keyboardbuffermode.cpp
|
||||
keyboard.cpp
|
||||
languagecard.cpp
|
||||
lss.cpp
|
||||
magneticfield.cpp
|
||||
main.cpp
|
||||
memorychip.cpp
|
||||
memory.cpp
|
||||
memoryrandomaccess.cpp
|
||||
memoryrow.cpp
|
||||
memorystrapping.cpp
|
||||
movable.cpp
|
||||
paddlebuttonstates.cpp
|
||||
paddles.cpp
|
||||
picturegenerator.cpp
|
||||
powerupreset.cpp
|
||||
screenimage.cpp
|
||||
SegmentCache.cpp
|
||||
slots.cpp
|
||||
speakerclicker.cpp
|
||||
standardin.cpp
|
||||
standardinproducer.cpp
|
||||
standardout.cpp
|
||||
StateCalculator.cpp
|
||||
textcharacters.cpp
|
||||
timable.cpp
|
||||
tinyfiledialogs.cpp
|
||||
Trace.cpp
|
||||
TransCache.cpp
|
||||
TransNetwork.cpp
|
||||
videoaddressing.cpp
|
||||
video.cpp
|
||||
videomode.cpp
|
||||
videostaticgenerator.cpp
|
||||
wozfile.cpp
|
||||
)
|
||||
|
||||
add_executable(epple2 ${sources})
|
||||
|
||||
target_compile_features(epple2 PUBLIC cxx_std_17)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
target_compile_definitions(epple2 PUBLIC ETCDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}")
|
||||
|
||||
target_link_libraries(epple2 ${SDL2_LIBRARIES})
|
Loading…
Reference in New Issue
Block a user