Revision: 57817
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57817
Author:   shadowrom
Date:     2013-06-27 11:10:32 +0000 (Thu, 27 Jun 2013)
Log Message:
-----------
VS 2012 x64 libs maintenance:

- Added debug libs for OSL 1.3.2
- Added debug symbols for osl
- Added build-script for debug build

Added Paths:
-----------
    trunk/lib/win64_vc11/osl/build_dbg.bat
    trunk/lib/win64_vc11/osl/lib/oslcomp.pdb
    trunk/lib/win64_vc11/osl/lib/oslcomp_d.lib
    trunk/lib/win64_vc11/osl/lib/oslexec.pdb
    trunk/lib/win64_vc11/osl/lib/oslexec_d.lib
    trunk/lib/win64_vc11/osl/lib/oslquery.pdb
    trunk/lib/win64_vc11/osl/lib/oslquery_d.lib

Added: trunk/lib/win64_vc11/osl/build_dbg.bat
===================================================================
--- trunk/lib/win64_vc11/osl/build_dbg.bat                              (rev 0)
+++ trunk/lib/win64_vc11/osl/build_dbg.bat      2013-06-27 11:10:32 UTC (rev 
57817)
@@ -0,0 +1,41 @@
+@Echo off
+
+cd OpenShadingLanguage
+
+set LIBDIR=%CD%\..\..
+
+:: create build directory
+mkdir build\windows
+cd build\windows
+
+cmake -G "NMake Makefiles" ..\..\src ^
+ -DCMAKE_INSTALL_PREFIX=%LIBDIR%\osl\debug ^
+ -DCMAKE_CXX_FLAGS_DEBUG="/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1" ^
+ -DCMAKE_CXX_FLAGS_MINSIZEREL="/MT /O1 /Ob1 /D NDEBUG" ^
+ -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" ^
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="/MT /Zi /O2 /Ob1 /D NDEBUG" ^
+ -DCMAKE_CXX_STANDARD_LIBRARIES:STRING="kernel32.lib user32.lib gdi32.lib 
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib 
advapi32.lib psapi.lib" ^
+ -DBUILDSTATIC=ON ^
+ -DILMBASE_HOME=%LIBDIR%\openexr ^
+ -DOPENIMAGEIOHOME=%LIBDIR%\openimageio ^
+ 
-DOPENIMAGEIO_LIBRARY=%LIBDIR%/openimageio/lib/OpenImageIO_d.lib;%LIBDIR%/png/lib/libpng_d.lib;%LIBDIR%/jpeg/lib/libjpeg_d.lib;%LIBDIR%/tiff/lib/libtiff.lib;%LIBDIR%/openexr/lib/Half_d.lib;%LIBDIR%/openexr/lib/Imath_d.lib;%LIBDIR%/openexr/lib/IlmImf_d.lib;%LIBDIR%/openexr/lib/Iex_d.lib;%LIBDIR%/openexr/lib/IlmThread_d.lib
 ^
+ -DBOOST_ROOT=%LIBDIR%\boost ^
+ -DBoost_USE_STATIC_LIBS=ON ^
+ -DBoost_USE_STATIC_RUNTIME=ON ^
+ -DZLIB_INCLUDE_DIR=%LIBDIR%\zlib\include ^
+ -DZLIB_LIBRARY=%LIBDIR%\zlib\lib\libz_st_d.lib ^
+ -DUSE_TBB=OFF ^
+ -DFLEX_EXECUTABLE=%LIBDIR%\osl\flex_bison\bin\win_flex.exe ^
+ -DBISON_EXECUTABLE=%LIBDIR%\osl\flex_bison\bin\win_bison.exe ^
+ -DLLVM_DIRECTORY=%LIBDIR%\llvm\debug ^
+ -DLLVM_INCLUDES=%LIBDIR%\llvm\debug\include ^
+ -DLLVM_LIB_DIR=%LIBDIR%\llvm\debug\lib ^
+ -DLLVM_VERSION=3.2 ^
+ 
-DLLVM_LIBRARY=%LIBDIR%\llvm\debug\lib\LLVMAnalysis.lib;%LIBDIR%\llvm\debug\lib\LLVMArchive.lib;%LIBDIR%\llvm\debug\lib\LLVMAsmParser.lib;%LIBDIR%\llvm\debug\lib\LLVMAsmPrinter.lib;%LIBDIR%\llvm\debug\lib\LLVMBitReader.lib;%LIBDIR%\llvm\debug\lib\LLVMBitWriter.lib;%LIBDIR%\llvm\debug\lib\LLVMCodeGen.lib;%LIBDIR%\llvm\debug\lib\LLVMCore.lib;%LIBDIR%\llvm\debug\lib\LLVMDebugInfo.lib;%LIBDIR%\llvm\debug\lib\LLVMExecutionEngine.lib;%LIBDIR%\llvm\debug\lib\LLVMInstCombine.lib;%LIBDIR%\llvm\debug\lib\LLVMInstrumentation.lib;%LIBDIR%\llvm\debug\lib\LLVMInterpreter.lib;%LIBDIR%\llvm\debug\lib\LLVMJIT.lib;%LIBDIR%\llvm\debug\lib\LLVMLinker.lib;%LIBDIR%\llvm\debug\lib\LLVMMC.lib;%LIBDIR%\llvm\debug\lib\LLVMMCDisassembler.lib;%LIBDIR%\llvm\debug\lib\LLVMMCJIT.lib;%LIBDIR%\llvm\debug\lib\LLVMMCParser.lib;%LIBDIR%\llvm\debug\lib\LLVMObject.lib;%LIBDIR%\llvm\debug\lib\LLVMRuntimeDyld.lib;%LIBDIR%\llvm\debug\lib\LLVMScalarOpts.lib;%LIBDIR%\llvm\debug\lib\LLVMSelectionDAG.lib;%LIBDIR%\llvm
 
\debug\lib\LLVMSupport.lib;%LIBDIR%\llvm\debug\lib\LLVMTableGen.lib;%LIBDIR%\llvm\debug\lib\LLVMTarget.lib;%LIBDIR%\llvm\debug\lib\LLVMTransformUtils.lib;%LIBDIR%\llvm\debug\lib\LLVMVectorize.lib;%LIBDIR%\llvm\debug\lib\LLVMX86AsmParser.lib;%LIBDIR%\llvm\debug\lib\LLVMX86AsmPrinter.lib;%LIBDIR%\llvm\debug\lib\LLVMX86CodeGen.lib;%LIBDIR%\llvm\debug\lib\LLVMX86Desc.lib;%LIBDIR%\llvm\debug\lib\LLVMX86Disassembler.lib;%LIBDIR%\llvm\debug\lib\LLVMX86Info.lib;%LIBDIR%\llvm\debug\lib\LLVMX86Utils.lib;%LIBDIR%\llvm\debug\lib\LLVMipa.lib;%LIBDIR%\llvm\debug\lib\LLVMipo.lib
 ^
+ -DCMAKE_BUILD_TYPE=Debug
+
+nmake
+nmake install
+
+cd ..\..\..
+

Added: trunk/lib/win64_vc11/osl/lib/oslcomp.pdb
===================================================================
(Binary files differ)


Property changes on: trunk/lib/win64_vc11/osl/lib/oslcomp.pdb
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/lib/win64_vc11/osl/lib/oslcomp_d.lib
===================================================================
(Binary files differ)


Property changes on: trunk/lib/win64_vc11/osl/lib/oslcomp_d.lib
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/lib/win64_vc11/osl/lib/oslexec.pdb
===================================================================
(Binary files differ)


Property changes on: trunk/lib/win64_vc11/osl/lib/oslexec.pdb
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/lib/win64_vc11/osl/lib/oslexec_d.lib
===================================================================
(Binary files differ)


Property changes on: trunk/lib/win64_vc11/osl/lib/oslexec_d.lib
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/lib/win64_vc11/osl/lib/oslquery.pdb
===================================================================
(Binary files differ)


Property changes on: trunk/lib/win64_vc11/osl/lib/oslquery.pdb
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/lib/win64_vc11/osl/lib/oslquery_d.lib
===================================================================
(Binary files differ)


Property changes on: trunk/lib/win64_vc11/osl/lib/oslquery_d.lib
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to