diff options
Diffstat (limited to 'source/core/windows')
| -rw-r--r-- | source/core/windows/slang-win-visual-studio-util.h | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/source/core/windows/slang-win-visual-studio-util.h b/source/core/windows/slang-win-visual-studio-util.h index fefb9ad0f..e8afbf418 100644 --- a/source/core/windows/slang-win-visual-studio-util.h +++ b/source/core/windows/slang-win-visual-studio-util.h @@ -6,48 +6,9 @@ #include "../slang-process-util.h" -namespace Slang { - -struct CPPCompileOptions -{ - enum class OptimizationLevel - { - Normal, ///< Normal optimization - Debug, ///< General has no optimizations - }; - - enum DebugInfoType - { - None, ///< Binary has no debug information - Maximum, ///< Has maximum debug information - Normal, ///< Has normal debug information - }; - enum TargetType - { - Executable, ///< Produce an executable - SharedLibrary, ///< Produce a shared library object/dll - Object, ///< Produce an object file - }; +#include "../slang-cpp-compiler.h" - struct Define - { - String nameWithSig; ///< If macro takes parameters include in brackets - String value; - }; - - OptimizationLevel optimizationLevel = OptimizationLevel::Debug; - DebugInfoType debugInfoType = DebugInfoType::Normal; - TargetType targetType = TargetType::Executable; - - String modulePath; ///< The path/name of the output module. Should not have the extension, as that will be added for each of the target types - - List<Define> defines; - - List<String> sourceFiles; - - List<String> includePaths; - List<String> libraryPaths; -}; +namespace Slang { struct WinVisualStudioUtil { |
