MCPcopy Create free account
hub / github.com/Kitware/CMake / cmGlobalVisualStudio7Generator

Class cmGlobalVisualStudio7Generator

Source/cmGlobalVisualStudio7Generator.h:33–133  ·  view source on GitHub ↗

\class cmGlobalVisualStudio7Generator * \brief Write a Unix makefiles. * * cmGlobalVisualStudio7Generator manages UNIX build process for a tree */

Source from the content-addressed store, hash-verified

31 * cmGlobalVisualStudio7Generator manages UNIX build process for a tree
32 */
33class cmGlobalVisualStudio7Generator : public cmGlobalVisualStudioGenerator
34{
35public:
36 ~cmGlobalVisualStudio7Generator() override;
37
38 //! Create a local generator appropriate to this Global Generator
39 std::unique_ptr<cmLocalGenerator> CreateLocalGenerator(
40 cmMakefile* mf) override;
41
42#if !defined(CMAKE_BOOTSTRAP)
43 Json::Value GetJson() const override;
44#endif
45
46 bool SetSystemName(std::string const& s, cmMakefile* mf) override;
47
48 /**
49 * Utilized by the generator factory to determine if this generator
50 * supports toolsets.
51 */
52 static bool SupportsToolset() { return false; }
53
54 /**
55 * Utilized by the generator factory to determine if this generator
56 * supports platforms.
57 */
58 static bool SupportsPlatform() { return false; }
59
60 /**
61 * Try to determine system information such as shared library
62 * extension, pthreads, byte order etc.
63 */
64 void EnableLanguage(std::vector<std::string> const& languages, cmMakefile*,
65 bool optional) override;
66
67 /**
68 * Try running cmake and building a file. This is used for dynamically
69 * loaded commands, not as part of the usual build process.
70 */
71 std::vector<GeneratedMakeCommand> GenerateBuildCommand(
72 std::string const& makeProgram, std::string const& projectName,
73 std::string const& projectDir, std::vector<std::string> const& targetNames,
74 std::string const& config, int jobs, bool verbose,
75 cmBuildOptions buildOptions = cmBuildOptions(),
76 std::vector<std::string> const& makeOptions = std::vector<std::string>(),
77 BuildTryCompile isInTryCompile = BuildTryCompile::No) override;
78
79 /** Append the subdirectory for the given configuration. */
80 void AppendDirectoryForConfig(std::string const& prefix,
81 std::string const& config,
82 std::string const& suffix,
83 std::string& dir) override;
84
85 //! What is the configurations directory variable called?
86 char const* GetCMakeCFGIntDir() const override
87 {
88 return "$(ConfigurationName)";
89 }
90

Callers

nothing calls this directly

Calls 1

cmBuildOptionsClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…