Skip to content

Commit 881fbae

Browse files
committed
Updates after including masp and openvcl in the toolchain
1 parent ca85e6e commit 881fbae

3 files changed

Lines changed: 8 additions & 26 deletions

File tree

.github/workflows/compilation.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,6 @@ jobs:
3232
make -j $(getconf _NPROCESSORS_ONLN)
3333
make install
3434
35-
- name: Compile masp
36-
run: |
37-
git clone https://github.com/fjtrujy/masp.git
38-
cd masp
39-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$PS2DEV"
40-
cmake --build build -j $(getconf _NPROCESSORS_ONLN)
41-
cmake --install build
42-
43-
- name: Install openvcl
44-
run: |
45-
git clone https://github.com/fjtrujy/openvcl.git
46-
cd openvcl
47-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$PS2DEV" -DBUILD_TESTING=OFF
48-
cmake --build build -j $(getconf _NPROCESSORS_ONLN)
49-
cmake --install build
50-
5135
5236
- name: Configure with CMake
5337
run: |

CMakeLists.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -387,20 +387,19 @@ endif()
387387
# ============================================================================
388388
# Install targets
389389
# ============================================================================
390-
install(
391-
FILES ${CMAKE_CURRENT_BINARY_DIR}/${EE_LIB}
392-
DESTINATION "${PS2SDK}/ports/lib"
390+
install(TARGETS ps2gl
391+
ARCHIVE DESTINATION lib
393392
)
394393

395394
install(
396395
DIRECTORY ${CMAKE_SOURCE_DIR}/include/GL
397-
DESTINATION "${PS2SDK}/ports/include"
396+
DESTINATION include
398397
FILES_MATCHING PATTERN "*.h"
399398
)
400399

401400
install(
402401
DIRECTORY ${CMAKE_SOURCE_DIR}/include/ps2gl
403-
DESTINATION "${PS2SDK}/ports/include"
402+
DESTINATION include
404403
FILES_MATCHING PATTERN "*.h"
405404
)
406405

@@ -436,7 +435,7 @@ message(STATUS " Build GLUT: ${BUILD_GLUT}")
436435
message(STATUS " Build examples: ${BUILD_EXAMPLES}")
437436
message(STATUS " Build tests: ${BUILD_TESTS}")
438437
message(STATUS " Output library: ${EE_LIB}")
439-
message(STATUS " Install prefix: ${PS2SDK}/ports")
438+
message(STATUS " Install prefix: ${CMAKE_INSTALL_PREFIX}")
440439
message(STATUS " VU0 vectors: DISABLED")
441440
message(STATUS " ASM optimizations: DISABLED")
442441
message(STATUS " VU1 renderers: ${RENDERERS}")

glut/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,13 @@ target_include_directories(ps2glut PUBLIC
6363
# ============================================================================
6464
# Install targets
6565
# ============================================================================
66-
install(
67-
FILES ${CMAKE_CURRENT_BINARY_DIR}/${EE_LIB}
68-
DESTINATION "${PS2SDK}/ports/lib"
66+
install(TARGETS ps2glut
67+
ARCHIVE DESTINATION lib
6968
)
7069

7170
install(
7271
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/GL
73-
DESTINATION "${PS2SDK}/ports/include"
72+
DESTINATION include
7473
FILES_MATCHING PATTERN "*.h"
7574
)
7675

0 commit comments

Comments
 (0)