\class cmGlobalVisualStudio10Generator * \brief Write a Unix makefiles. * * cmGlobalVisualStudio10Generator manages UNIX build process for a tree */
| 26 | * cmGlobalVisualStudio10Generator manages UNIX build process for a tree |
| 27 | */ |
| 28 | class cmGlobalVisualStudio10Generator : public cmGlobalVisualStudio8Generator |
| 29 | { |
| 30 | public: |
| 31 | bool IsVisualStudioAtLeast10() const override { return true; } |
| 32 | |
| 33 | bool SetSystemName(std::string const& s, cmMakefile* mf) override; |
| 34 | bool SetGeneratorToolset(std::string const& ts, bool build, |
| 35 | cmMakefile* mf) override; |
| 36 | |
| 37 | std::vector<GeneratedMakeCommand> GenerateBuildCommand( |
| 38 | std::string const& makeProgram, std::string const& projectName, |
| 39 | std::string const& projectDir, std::vector<std::string> const& targetNames, |
| 40 | std::string const& config, int jobs, bool verbose, |
| 41 | cmBuildOptions buildOptions = cmBuildOptions(), |
| 42 | std::vector<std::string> const& makeOptions = std::vector<std::string>(), |
| 43 | BuildTryCompile isInTryCompile = BuildTryCompile::No) override; |
| 44 | |
| 45 | //! create the correct local generator |
| 46 | std::unique_ptr<cmLocalGenerator> CreateLocalGenerator( |
| 47 | cmMakefile* mf) override; |
| 48 | |
| 49 | /** |
| 50 | * Try to determine system information such as shared library |
| 51 | * extension, pthreads, byte order etc. |
| 52 | */ |
| 53 | void EnableLanguage(std::vector<std::string> const& languages, cmMakefile*, |
| 54 | bool optional) override; |
| 55 | |
| 56 | void AddAndroidExecutableWarning(std::string const& name) |
| 57 | { |
| 58 | this->AndroidExecutableWarnings.insert(name); |
| 59 | } |
| 60 | |
| 61 | bool IsCudaEnabled() const { return this->CudaEnabled; } |
| 62 | |
| 63 | /** Generating for Nsight Tegra VS plugin? */ |
| 64 | bool IsNsightTegra() const; |
| 65 | std::string GetNsightTegraVersion() const; |
| 66 | |
| 67 | /** The vctargets path for the target platform. */ |
| 68 | char const* GetCustomVCTargetsPath() const; |
| 69 | |
| 70 | /** The toolset name for the target platform. */ |
| 71 | char const* GetPlatformToolset() const; |
| 72 | std::string const& GetPlatformToolsetString() const; |
| 73 | |
| 74 | /** The toolset version props file, if any. */ |
| 75 | std::string const& GetPlatformToolsetVersionProps() const; |
| 76 | |
| 77 | /** The toolset host architecture name (e.g. x64 for 64-bit host tools). */ |
| 78 | char const* GetPlatformToolsetHostArchitecture() const; |
| 79 | std::string const& GetPlatformToolsetHostArchitectureString() const; |
| 80 | |
| 81 | /** The cuda toolset version. */ |
| 82 | char const* GetPlatformToolsetCuda() const; |
| 83 | std::string const& GetPlatformToolsetCudaString() const; |
| 84 | |
| 85 | /** The custom cuda install directory */ |
nothing calls this directly
no test coverage detected
searching dependent graphs…