summaryrefslogtreecommitdiff
path: root/Source/cmNinjaNormalTargetGenerator.h
diff options
context:
space:
mode:
authorMatthieu Ribiere <matthieu.ribiere@airbus.com>2023-04-07 12:10:19 +0200
committerMatthieu Ribiere <matthieu.ribiere@airbus.com>2023-04-13 11:10:00 +0200
commite0364eb20dd69cc6db2981c33dc94ba353a5bc78 (patch)
tree6f40b244602cfa443ef54e81d1bda4f68c08483b /Source/cmNinjaNormalTargetGenerator.h
parent9af53e9bcfadb1e613b72cd385a0dbe31ec0fd2a (diff)
downloadcmake-e0364eb20dd69cc6db2981c33dc94ba353a5bc78.tar.gz
Add support of CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_LIBRARIES variable.
We add a function in cmNinjaNormalTargetGenerator.cxx to check for the state of the option (as it was done for Makefile). This will be checked to add or not the `$LINK_PATH` and `$LINK_LIBRARIES` to the Ninja file. The default behavior is adding those libraries. Fixes: #24681
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h
index 85f42a4487..187ea4627a 100644
--- a/Source/cmNinjaNormalTargetGenerator.h
+++ b/Source/cmNinjaNormalTargetGenerator.h
@@ -26,7 +26,7 @@ private:
const std::string& config) const;
std::string LanguageLinkerCudaFatbinaryRule(const std::string& config) const;
std::string TextStubsGeneratorRule(const std::string& config) const;
-
+ bool CheckUseResponseFileForLibraries(const std::string& config) const;
const char* GetVisibleTypeName() const;
void WriteLanguagesRules(const std::string& config);