mirror of
https://github.com/cmosher01/Epple-II.git
synced 2024-12-27 17:29:16 +00:00
use cmake to build roms, too; it just calls existing makefile
This commit is contained in:
parent
348f85e391
commit
18f1eb56bd
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@ -21,11 +21,13 @@ jobs:
|
||||
|
||||
- uses: "actions/checkout@v3"
|
||||
|
||||
- name: "Build artifacts"
|
||||
- name: "Build"
|
||||
run: |
|
||||
set -x
|
||||
cd rom
|
||||
make
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . --target roms
|
||||
|
||||
- uses: "actions/upload-artifact@v3"
|
||||
with:
|
||||
|
@ -8,3 +8,4 @@ include(GNUInstallDirs)
|
||||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(conf)
|
||||
add_subdirectory(rom)
|
||||
|
1
rom/CMakeLists.txt
Normal file
1
rom/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
||||
add_custom_target(roms COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
Loading…
Reference in New Issue
Block a user