Преглед изворни кода

BUG: fix undefined property FRAMEWORK

Ken Martin пре 18 година
родитељ
комит
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.",