summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-13 14:05:07 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-16 14:18:36 (GMT)
commit61124de4c06b1195e79ee71326b902baf23c4c32 (patch)
tree827dc5df380c74bb7ea8186fcc63d446b5fd31c5 /Source/cmGlobalNinjaGenerator.cxx
parentf5b06cda0f187929ac68ed64595c22d4e6ec773c (diff)
downloadCMake-61124de4c06b1195e79ee71326b902baf23c4c32.zip
CMake-61124de4c06b1195e79ee71326b902baf23c4c32.tar.gz
CMake-61124de4c06b1195e79ee71326b902baf23c4c32.tar.bz2
Build object library targets in Ninja
Treat OBJECT libraries as STATIC libraries but leave out the archive step. The object files will be left behind for reference by other targets later.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 03c8be9..9cbd502 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -664,6 +664,7 @@ cmGlobalNinjaGenerator
target->GetFullPath(configName).c_str()));
break;
+ case cmTarget::OBJECT_LIBRARY:
case cmTarget::UTILITY: {
std::string path = ng->ConvertToNinjaPath(
target->GetMakefile()->GetStartOutputDirectory());