File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+
3
+ SET WORKSPACE_DIR = %CD:\ =/ %
4
+
5
+ git clone https://github.com/habecker/PySAMP.git
6
+ git clone https://github.com/habecker/sampgdk.git
7
+ git clone https://github.com/Zeex/samp-plugin-sdk.git
8
+
9
+ pip install ply
10
+ IF EXIST sampgdk/build (
11
+ rmdir /s/q sampgdk/build
12
+ )
13
+ cd sampgdk
14
+ mkdir build
15
+ mkdir local
16
+ cd build
17
+ cmake .. -DSAMP_SDK_ROOT=%WORKSPACE_DIR% /samp-plugin-sdk -DSAMPGDK_STATIC=ON -DSAMPGDK_BUILD_AMALGAMATION=ON -DCMAKE_INSTALL_PREFIX=%WORKSPACE_DIR% /sampgdk/local
18
+ cmake --build %WORKSPACE_DIR% /sampgdk/build --config Release
19
+ cmake --build %WORKSPACE_DIR% /sampgdk/build --config Release --target install
20
+ cd ../..
21
+ cd PySAMP
22
+ mkdir build
23
+ cd build
24
+ cmake -DSAMPSDK_DIR=%WORKSPACE_DIR% /samp-plugin-sdk -DSAMPGDK_DIR=%WORKSPACE_DIR% /sampgdk -DCMAKE_PREFIX_PATH=" %WORKSPACE_DIR% \sampgdk\local" ../src
25
+ cd ../..
26
+
27
+ %WORKSPACE_DIR% /PySAMP/build/PySAMP.vcxproj
You can’t perform that action at this time.
0 commit comments