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

BUG: fix undefined property FRAMEWORK

Ken Martin 18 лет назад
Родитель
Сommit
9bd0d0f1ed
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      Source/cmTarget.cxx

+ 8 - 0
Source/cmTarget.cxx

@@ -94,6 +94,14 @@ void cmTarget::DefineProperties(cmake *cm)
      "A message to display on some generators (such as makefiles) when "
      "the target is built.");
 
+  cm->DefineProperty
+    ("FRAMEWORK", cmProperty::TARGET,
+     "This target is a framework on the Mac.",
+     "Is set to true then if this target is a shared library, it will "
+     "be built as a framework when built on the mac. It will have the "
+     "directory structure required for a framework and will be suitable "
+     "to be used with the -framework option");
+
   cm->DefineProperty
     ("HAS_CXX", cmProperty::TARGET,
      "Force a target to use the CXX linker.",