[Bf-blender-cvs] [818af9c] master: MSVC Runtime copy : Remove erroneously left in diagnostic message from CMakeLists.txt

2016-11-05 Thread lazydodo
Commit: 818af9c3315cb883436a3d75d634f449133cd3d9
Author: lazydodo
Date:   Sat Nov 5 14:04:23 2016 -0600
Branches: master
https://developer.blender.org/rB818af9c3315cb883436a3d75d634f449133cd3d9

MSVC Runtime copy : Remove erroneously left in diagnostic message from 
CMakeLists.txt

===

M   source/creator/CMakeLists.txt

===

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 187df26..10af0d5 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -1218,6 +1218,5 @@ if(WIN32 AND NOT WITH_PYTHON_MODULE)
DESTINATION "."
)
endif()
-   Message("KITSPATH = ${KITSPATH}")
endif()
 endif()

___
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs


[Bf-blender-cvs] [2b1d331] master: [msvc2015] Add support for copying the vc runtime.

2016-11-05 Thread lazydodo
Commit: 2b1d3318f4c5a8f80f46dbb25ceb80eb86e9fcdc
Author: lazydodo
Date:   Sat Nov 5 13:58:32 2016 -0600
Branches: master
https://developer.blender.org/rB2b1d3318f4c5a8f80f46dbb25ceb80eb86e9fcdc

[msvc2015] Add support for copying the vc runtime.

There's more dll's hanging out in the ucrt folder, but  I just grabbed the ones 
blender requested (not sure if that's a wise idea, but it seems to work)

Reviewers: sergey, juicyfruit

Reviewed By: juicyfruit

Differential Revision: https://developer.blender.org/D2335

===

M   source/creator/CMakeLists.txt

===

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index f65688e..187df26 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -1153,13 +1153,12 @@ if(WIN32 AND NOT WITH_PYTHON_MODULE)
COMPONENT Blender
DESTINATION "."
)
-
+   if(CMAKE_CL_64)
+   set(_WIN_PLATFORM x64)
+   else()
+   set(_WIN_PLATFORM x86)
+   endif()
if(MSVC12_REDIST_DIR)
-   if(CMAKE_CL_64)
-   set(_WIN_PLATFORM x64)
-   else()
-   set(_WIN_PLATFORM x86)
-   endif()
install(
FILES

${MSVC12_REDIST_DIR}/${_WIN_PLATFORM}/Microsoft.VC120.CRT/msvcp120.dll
@@ -1173,4 +1172,52 @@ if(WIN32 AND NOT WITH_PYTHON_MODULE)
)
endif()
endif()
+   
+   if(MSVC14_REDIST_DIR)
+   set(KITSDIRx86 "$ENV{${ProgramFilesX86_NAME}}/Windows Kits/10/")
+   set(KITSDIR "$ENV{ProgramFiles}/Windows Kits/10/")
+   if(IS_DIRECTORY ${KITSDIR})
+   set(KITSPATH 
"${KITSDIR}/Redist/ucrt/DLLs/${_WIN_PLATFORM}")
+   else()
+   if(IS_DIRECTORY ${KITSDIRx86})
+   set(KITSPATH 
"${KITSDIRx86}/Redist/ucrt/DLLs/${_WIN_PLATFORM}")
+   else()
+   message(FATAL_ERROR "Windows 10 SDK directory 
not found")
+   endif()
+   endif()
+   
+   install(
+   FILES
+   ${KITSPATH}/api-ms-win-core-file-l1-2-0.dll
+   ${KITSPATH}/api-ms-win-core-file-l2-1-0.dll
+   
${KITSPATH}/api-ms-win-core-localization-l1-2-0.dll
+   
${KITSPATH}/api-ms-win-core-processthreads-l1-1-0.dll
+   
${KITSPATH}/api-ms-win-core-processthreads-l1-1-1.dll
+   ${KITSPATH}/api-ms-win-core-synch-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-core-synch-l1-2-0.dll
+   ${KITSPATH}/api-ms-win-core-timezone-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-conio-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-convert-l1-1-0.dll
+   
${KITSPATH}/api-ms-win-crt-environment-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-filesystem-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-heap-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-locale-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-math-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-process-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-runtime-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-stdio-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-string-l1-1-0.dll
+   ${KITSPATH}/api-ms-win-crt-time-l1-1-0.dll
+   ${KITSPATH}/ucrtbase.dll
+   
${MSVC14_REDIST_DIR}/${_WIN_PLATFORM}/Microsoft.VC140.CRT/vcruntime140.dll
+   DESTINATION "."
+   )
+   if(WITH_OPENMP)
+   install(
+   FILES 
${MSVC14_REDIST_DIR}/${_WIN_PLATFORM}/Microsoft.VC140.OpenMP/vcomp140.dll
+   DESTINATION "."
+   )
+   endif()
+   Message("KITSPATH = ${KITSPATH}")
+   endif()
 endif()

___
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs


[Bf-blender-cvs] [521b981] master: change default for quicktime suport for macOS to off

2016-11-05 Thread Martijn Berger
Commit: 521b98157568deb39d13d45e5bca6e67186e60b6
Author: Martijn Berger
Date:   Sat Nov 5 14:23:00 2016 +0100
Branches: master
https://developer.blender.org/rB521b98157568deb39d13d45e5bca6e67186e60b6

change default for quicktime suport for macOS to off

===

M   CMakeLists.txt

===

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bbab208..afc1d9d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -333,7 +333,7 @@ option(WITH_ALEMBIC "Enable Alembic Support" 
OFF)
 option(WITH_ALEMBIC_HDF5"Enable Legacy Alembic Support (not officially 
supported)" OFF)
 
 if(APPLE)
-   option(WITH_CODEC_QUICKTIME "Enable Quicktime Support" ON)
+   option(WITH_CODEC_QUICKTIME "Enable Quicktime Support" OFF)
 endif()
 
 # 3D format support

___
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs