Просмотр исходного кода

ENH: add build name to the cache with a default value for dot net

Bill Hoffman 24 лет назад
Родитель
Сommit
aa88d4824c
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Templates/CMakeDotNetSystemConfig.cmake

+ 4 - 0
Templates/CMakeDotNetSystemConfig.cmake

@@ -21,6 +21,9 @@ SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL
 SET (CMAKE_MAKE_PROGRAM "devenv" CACHE STRING 
 SET (CMAKE_MAKE_PROGRAM "devenv" CACHE STRING 
      "Program used to build from dsp files.")
      "Program used to build from dsp files.")
 
 
+SET (BUILDNAME "Win32-DotNET-devenv" CACHE STRING 
+     "Name used by dart to specify the build name.")
+
 SET (CMAKE_CONFIGURATION_TYPES "Debug Release MinSizeRel RelWithDebInfo" CACHE STRING 
 SET (CMAKE_CONFIGURATION_TYPES "Debug Release MinSizeRel RelWithDebInfo" CACHE STRING 
      "Space separated list of supported configuration types, only supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be ignored.")
      "Space separated list of supported configuration types, only supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be ignored.")
 
 
@@ -36,6 +39,7 @@ SET (CMAKE_SIZEOF_DOUBLE    8   CACHE INTERNAL "Size of double data type")
 # The following variables are advanced 
 # The following variables are advanced 
 
 
 MARK_AS_ADVANCED(
 MARK_AS_ADVANCED(
+BUILDNAME
 CMAKE_CXX_USE_RTTI
 CMAKE_CXX_USE_RTTI
 CMAKE_CXX_COMPILER
 CMAKE_CXX_COMPILER
 CMAKE_CXX_STACK_SIZE
 CMAKE_CXX_STACK_SIZE