Skip to content

Commit

Permalink
Merge pull request #128 from ps2dev/cmake_hyperlink
Browse files Browse the repository at this point in the history
Remove ps2dev.cmake because now is part of ps2sdk
  • Loading branch information
fjtrujy authored Dec 16, 2023
2 parents 06fb7db + f7a212f commit 6738094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
6 changes: 3 additions & 3 deletions build-cmakelibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else
XTRA_OPTS=(. -G"Unix Makefiles")
fi

CMAKE_OPTIONS=(-Wno-dev "-DCMAKE_TOOLCHAIN_FILE=$PS2SDK/ps2dev.cmake" "-DCMAKE_INSTALL_PREFIX=$PS2SDK/ports" -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo "-DCMAKE_PREFIX_PATH=$PS2SDK/ports")
CMAKE_OPTIONS=(-Wno-dev "-DCMAKE_TOOLCHAIN_FILE=$PS2DEV/share/ps2dev.cmake" "-DCMAKE_INSTALL_PREFIX=$PS2SDK/ports" -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo "-DCMAKE_PREFIX_PATH=$PS2SDK/ports")
#CMAKE_OPTIONS=("${CMAKE_OPTIONS[@]}" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON)

function build {
Expand All @@ -28,8 +28,8 @@ function build {
cd "${START_DIR}"
}

## Add ps2dev.cmake
cp ps2dev.cmake "$PS2SDK/" || { exit 1; }
## Create a synbolic link for retro-compatibility ps2dev.cmake
ln -sf "$PS2DEV/share/ps2dev.cmake" "$PS2SDK/ps2dev.cmake" || { exit 1; }

##
## Remove build folder
Expand Down
26 changes: 0 additions & 26 deletions ps2dev.cmake

This file was deleted.

0 comments on commit 6738094

Please sign in to comment.