CMake/Source/cmVisualStudio10ToolsetOptions.h
Michael Stürmer 9b06c22648 VS: Add flag tables for C#
Add these (currently unused) tables in preparation for `.csproj`
generation support.  Populate the tables for every version with a set of
initial values that work well for me with VS 12 and VS 14.  Later we may
need to generate them more thoroughly from MSBuild `.xml` files.
2016-12-01 16:45:34 +01:00

38 lines
1.5 KiB
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmVisualStudio10ToolsetOptions_h
#define cmVisualStudio10ToolsetOptions_h
#include <cmConfigure.h>
#include <string>
struct cmIDEFlagTable;
/** \class cmVisualStudio10ToolsetOptions
* \brief Retrieves toolset options for MSBuild.
*
* cmVisualStudio10ToolsetOptions manages toolsets within MSBuild
*/
class cmVisualStudio10ToolsetOptions
{
public:
cmIDEFlagTable const* GetClFlagTable(std::string const& name,
std::string const& toolset) const;
cmIDEFlagTable const* GetCSharpFlagTable(std::string const& name,
std::string const& toolset) const;
cmIDEFlagTable const* GetRcFlagTable(std::string const& name,
std::string const& toolset) const;
cmIDEFlagTable const* GetLibFlagTable(std::string const& name,
std::string const& toolset) const;
cmIDEFlagTable const* GetLinkFlagTable(std::string const& name,
std::string const& toolset) const;
cmIDEFlagTable const* GetMasmFlagTable(std::string const& name,
std::string const& toolset) const;
private:
std::string GetToolsetName(std::string const& name,
std::string const& toolset) const;
};
#endif