diff options
author | Brad King <brad.king@kitware.com> | 2020-09-08 15:19:20 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-09-08 15:19:28 (GMT) |
commit | d0ccc7cf2aaba90d4b30e3c7e9b0e6513eba8dc2 (patch) | |
tree | 91b93890bb74588e4df258462ec62708ae739e90 /Source/cmGeneratorTarget.h | |
parent | b63f508e4d7ccb8f543512630394a4021a14cab2 (diff) | |
parent | a020787a9b7ede3aa490345bd446e469fb1713d2 (diff) | |
download | CMake-d0ccc7cf2aaba90d4b30e3c7e9b0e6513eba8dc2.zip CMake-d0ccc7cf2aaba90d4b30e3c7e9b0e6513eba8dc2.tar.gz CMake-d0ccc7cf2aaba90d4b30e3c7e9b0e6513eba8dc2.tar.bz2 |
Merge topic 'ispc_improvements'
a020787a9b ISPC: Support generation for multiple instruction sets
5a1750017e ISPC: Add compiler launcher support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5173
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index b64fd53..330d784 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -448,6 +448,8 @@ public: void AddCUDAArchitectureFlags(std::string& flags) const; void AddCUDAToolkitFlags(std::string& flags) const; + void AddISPCTargetFlags(std::string& flags) const; + std::string GetFeatureSpecificLinkRuleVariable( std::string const& var, std::string const& lang, std::string const& config) const; @@ -820,6 +822,11 @@ public: std::vector<std::string> GetGeneratedISPCHeaders( std::string const& config) const; + void AddISPCGeneratedObject(std::vector<std::string>&& objs, + std::string const& config); + std::vector<std::string> GetGeneratedISPCObjects( + std::string const& config) const; + private: void AddSourceCommon(const std::string& src, bool before = false); @@ -1000,6 +1007,8 @@ private: std::unordered_map<std::string, std::vector<std::string>> ISPCGeneratedHeaders; + std::unordered_map<std::string, std::vector<std::string>> + ISPCGeneratedObjects; bool IsLinkLookupScope(std::string const& n, cmLocalGenerator const*& lg) const; |