File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff 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
395394install (
396395 DIRECTORY ${CMAKE_SOURCE_DIR } /include/GL
397- DESTINATION " ${PS2SDK} /ports/ include"
396+ DESTINATION include
398397 FILES_MATCHING PATTERN "*.h"
399398)
400399
401400install (
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}")
436435message (STATUS " Build examples: ${BUILD_EXAMPLES} " )
437436message (STATUS " Build tests: ${BUILD_TESTS} " )
438437message (STATUS " Output library: ${EE_LIB} " )
439- message (STATUS " Install prefix: ${PS2SDK} /ports " )
438+ message (STATUS " Install prefix: ${CMAKE_INSTALL_PREFIX } " )
440439message (STATUS " VU0 vectors: DISABLED" )
441440message (STATUS " ASM optimizations: DISABLED" )
442441message (STATUS " VU1 renderers: ${RENDERERS} " )
Original file line number Diff line number Diff 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
7170install (
7271 DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR } /include/GL
73- DESTINATION " ${PS2SDK} /ports/ include"
72+ DESTINATION include
7473 FILES_MATCHING PATTERN "*.h"
7574)
7675
You can’t perform that action at this time.
0 commit comments