mirror of
https://github.com/cmosher01/Epple-II.git
synced 2024-06-26 00:29:26 +00:00
cmake build app conf
This commit is contained in:
parent
45156fadc4
commit
f74095c81f
27
.github/workflows/build.yaml
vendored
27
.github/workflows/build.yaml
vendored
|
@ -14,6 +14,10 @@ jobs:
|
||||||
sudo apt-get update -qqqq
|
sudo apt-get update -qqqq
|
||||||
sudo apt-get upgrade -qqqq
|
sudo apt-get upgrade -qqqq
|
||||||
sudo apt-get install -qqqq xa65
|
sudo apt-get install -qqqq xa65
|
||||||
|
m4 --version
|
||||||
|
xa --version
|
||||||
|
ldo65 --version
|
||||||
|
reloc65 --version
|
||||||
|
|
||||||
- uses: "actions/checkout@v3"
|
- uses: "actions/checkout@v3"
|
||||||
|
|
||||||
|
@ -28,3 +32,26 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "epple2-roms"
|
name: "epple2-roms"
|
||||||
path: "./rom/*.a65"
|
path: "./rom/*.a65"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"build-epple2-ubuntu":
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
steps:
|
||||||
|
- name: "Prepare runner"
|
||||||
|
run: |
|
||||||
|
set -x
|
||||||
|
sudo apt-get update -qqqq
|
||||||
|
sudo apt-get upgrade -qqqq
|
||||||
|
sudo apt-get install -qqqq libsdl2-dev
|
||||||
|
|
||||||
|
- uses: "actions/checkout@v3"
|
||||||
|
|
||||||
|
- name: "Build"
|
||||||
|
run: |
|
||||||
|
set -x
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
cmake --build .
|
||||||
|
ls -l src conf
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.22.1)
|
cmake_minimum_required(VERSION 3.22.1)
|
||||||
|
|
||||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||||
|
|
||||||
project(epple2)
|
project(epple2)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(conf)
|
add_subdirectory(conf)
|
||||||
#add_subdirectory(rom)
|
|
||||||
|
|
|
@ -72,10 +72,6 @@ wozfile.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(epple2 ${sources})
|
add_executable(epple2 ${sources})
|
||||||
|
|
||||||
target_compile_features(epple2 PUBLIC cxx_std_17)
|
target_compile_features(epple2 PUBLIC cxx_std_17)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
|
||||||
target_compile_definitions(epple2 PUBLIC ETCDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}")
|
target_compile_definitions(epple2 PUBLIC ETCDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}")
|
||||||
|
|
||||||
target_link_libraries(epple2 ${SDL2_LIBRARIES})
|
target_link_libraries(epple2 ${SDL2_LIBRARIES})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user