91e6b23d3f
NMAKE-VS2012 Error LNK2011 while NMAKE-VS2010 does not complain we need to link the pch.obj file see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx ** PCH Support for Ninja Ninja need to add property OBJECT_DEPENDS for using PCH OBJECT_OUTPUTS for create PCH see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
21 lines
631 B
Batchfile
21 lines
631 B
Batchfile
@echo off
|
|
# Default the source directory to the current directory.
|
|
set NEL_DIR=%CD%
|
|
set BUILDTYPE=Experimental
|
|
# Load the development environment. If you run MSVC2008 you may need to change this to VS90COMNTOOLS.
|
|
call "%VS80COMNTOOLS%vsvars32.bat"
|
|
|
|
if "%1" == "" (
|
|
rem No arguments were specified. Print out usage information.
|
|
echo Usage: %0 <Continuous|Experimental|Nightly> [c:\path\to\source]
|
|
exit /b
|
|
)
|
|
set BUILDTYPE=%1
|
|
|
|
if not "%2" == "" (
|
|
set NEL_DIR=%2
|
|
)
|
|
|
|
|
|
# Execute the build. If you run an Express version of MSVC you may need to change devenv to vcexpress.
|
|
devenv "%NEL_DIR%\build\NeL.sln" /build Debug /project %1%
|