forked from LiXizhi/NPLRuntime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_win32.bat
14 lines (13 loc) · 958 Bytes
/
build_win32.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
rem author: lixizhi@yeah.net
rem date: 2016.2.26
rem desc: Install dependencies: (currently only BOOST and DirectX9 SDK)
rem guide: add `BOOST_ROOT` to environment variable, such as 'D:\lxzsrc\NPLRuntime\Server\trunk\boost_1_60_0',
rem make sure to prebuilt your boost library with `b2 --build-type=complete`
rem You can choose to build two versions: Client or Server. Only client build requires DirectX SDK installed. When building Client, there is a CMAKE option called ParaEngineClient_DLL to build NPL runtime as dll or executable.
rem To build server version: open `NPLRuntime/cmakelist.txt` with cmake-gui or run this bat file from visual c++ env command line.
rem To build client version: open `Client/cmakelist.txt` with cmake-gui (needs to install DirectX9 SDK in default location and select ParaEngineClient_DLL cmake option)
pushd .
mkdir bin\win32
cd bin\win32
call "D:\Program Files (x86)\CMake\bin\cmake.exe" ../../NPLRuntime/
popd