forked from Eyescale/Collage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
23 lines (15 loc) · 763 Bytes
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
set CMAKE="%PROGRAMFILES%\CMake 2.8\bin\cmake.exe"
set SUBWCREV="%PROGRAMFILES%\TortoiseSVN\bin\SubWCRev.exe"
set DESTINATION="C:\Collage"
call "%VS90COMNTOOLS%vsvars32.bat"
if not exist build\NUL md build
cd build
%CMAKE% -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" ..
nmake preinstall
%CMAKE% -DCOMPONENT=Unspecified -DCMAKE_INSTALL_PREFIX=%DESTINATION% -P cmake_install.cmake
%CMAKE% -DCOMPONENT=dev -DCMAKE_INSTALL_PREFIX=%DESTINATION% -P cmake_install.cmake
%CMAKE% -DCOMPONENT=tools -DCMAKE_INSTALL_PREFIX=%DESTINATION% -P cmake_install.cmake
%CMAKE% -DCOMPONENT=vmmlib -DCMAKE_INSTALL_PREFIX=%DESTINATION% -P cmake_install.cmake
%SUBWCREV% .. > "%DESTINATION%\include\eq\Version.txt"
pause