nikoladsp

TargetFactory.h

Nov 2nd, 2025
288
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.90 KB | Source Code | 0 0
  1. #ifndef CMVIS_TARGET_FACTORY_H
  2. #define CMVIS_TARGET_FACTORY_H
  3.  
  4. #include "Target.h"
  5.  
  6.  
  7. class TargetFactory {
  8. public:
  9.     static TargetFactory build();
  10.  
  11.     TargetFactory& id(std::string val);
  12.     TargetFactory& name(std::string val);
  13.     TargetFactory& type(std::string val);
  14.     TargetFactory& generatorProvided(bool val = true);
  15.     TargetFactory& imported(bool val = true);
  16.     TargetFactory& dependencies(std::vector<std::string> val);
  17.     TargetFactory& sources(std::vector<std::string> val);
  18.     TargetFactory& includes(std::vector<std::string> val);
  19.     TargetFactory& defines(std::vector<std::string> val);
  20.     TargetFactory& compileFlags(std::vector<std::string> val);
  21.     TargetFactory& linkLibraries(std::vector<std::string> val);
  22.     TargetFactory& artifacts(bool val = true);
  23.  
  24.     Target done();
  25.  
  26. private:
  27.  
  28.     TargetFactory() =default;
  29.  
  30.     Target::BuildData data_;
  31. };
  32.  
  33. #endif
  34.  
Advertisement
Comments
  • pemew89
    32 days
    # text 0.12 KB | 0 0
    1. ⭐️UPTADE⭐️
    2. [GUIDE] Swapzon Exploits
    3. >>> docs.google.com/document/d/1x8ocHgung7PrR5Y8SOjIE7N8ihaKV1RSt73-r3sr_K4
Add Comment
Please, Sign In to add comment