mirror of
https://github.com/cmosher01/Epple-II.git
synced 2026-04-20 16:16:27 +00:00
use cmake to build roms, too; it just calls existing makefile
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
add_custom_target(roms COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
Reference in New Issue
Block a user