File tree 3 files changed +26
-0
lines changed
3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ /build **
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.0)
2
+
3
+ project (CreateFself)
4
+
5
+ set (CMAKE_VERBOSE_MAKEFILE ON )
6
+
7
+ if (WIN32 )
8
+ add_custom_target (
9
+ OUTPUT ALL
10
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /scripts
11
+ COMMAND build .bat
12
+ COMMENT "Building win32 create-fself"
13
+ )
14
+ else ()
15
+ add_custom_target (
16
+ OUTPUT ALL
17
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /scripts
18
+ COMMAND build .sh
19
+ COMMENT "Building other create-fself"
20
+ )
21
+ endif ()
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -v
1
2
cd ../cmd/create-fself
2
3
4
+ # Init
5
+ # go mod init github.com/OpenOrbis/create-fself
6
+
3
7
# # Windows
4
8
GOOS=windows go build -o create-fself.exe -modfile=go-linux.mod
5
9
mv ./create-fself.exe ${OO_PS4_TOOLCHAIN} /bin/windows/create-fself.exe
You can’t perform that action at this time.
0 commit comments