diff options
author | Thomas Bernard <tbernard@go-engineering.de> | 2020-01-14 11:31:34 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-04 08:19:12 -0500 |
commit | 1c2d031cbdbf28f99ef36e5db5e4d9de1b97fff9 (patch) | |
tree | b987d5cf32bdf9b094f830e0e7c91112709301c8 /Source/cmcmd.h | |
parent | 5f04dfe57ebf1abee29101228844ebaa721356a2 (diff) | |
download | cmake-1c2d031cbdbf28f99ef36e5db5e4d9de1b97fff9.tar.gz |
Add -E cmake_llvm_rc to preprocess files for llvm-rc
llvm-rc requires preprocessed rc files. The CMake command line tool
cmake_llvm_rc enables channing the preprocessor call and the resource
compiler and make this appear as single compilation step.
When llvm-rc is detected as resource compiler, the RC compilation step
is set to use this command.
Diffstat (limited to 'Source/cmcmd.h')
-rw-r--r-- | Source/cmcmd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmcmd.h b/Source/cmcmd.h index 17f2f9a529..5b6c81333c 100644 --- a/Source/cmcmd.h +++ b/Source/cmcmd.h @@ -31,6 +31,9 @@ protected: static int ExecuteLinkScript(std::vector<std::string> const& args); static int WindowsCEEnvironment(const char* version, const std::string& name); + static int RunPreprocessor(const std::vector<std::string>& command, + const std::string& intermediate_file); + static int RunLLVMRC(std::vector<std::string> const& args); static int VisualStudioLink(std::vector<std::string> const& args, int type); }; |