- Partially updated win32 project files

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1242 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-09-17 17:24:51 +00:00
parent f3e7ee0393
commit fbcc9e9267
6 changed files with 31 additions and 38 deletions

View File

@ -45,7 +45,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories=""$(SolutionDir)config";"$(SolutionDir)..\..";"$(PYTHON_BASEPATH)\include";"$(SolutionDir)..\..\src\backend"" AdditionalIncludeDirectories=""$(SolutionDir)config";"$(SolutionDir)..\..";"$(PYTHON_BASEPATH)\include";"$(SolutionDir)..\..\src\backend""
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_SGPEM_EXPORTS;_SECURE_SCL_THROWS" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_SGPEM_EXPORTS;_SECURE_SCL_THROWS;VISIBILITY_SUPPORT_HH"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
@ -128,7 +128,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..&quot;;&quot;$(PYTHON_BASEPATH)\include&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..&quot;;&quot;$(PYTHON_BASEPATH)\include&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_SGPEM_EXPORTS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_SGPEM_EXPORTS;VISIBILITY_SUPPORT_HH"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="3"

View File

@ -42,7 +42,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;BACKEND_EXPORTS" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;BACKEND_EXPORTS;VISIBILITY_SUPPORT_HH"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
@ -51,6 +51,7 @@
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
DisableSpecificWarnings="4290;4275;4250;4251" DisableSpecificWarnings="4290;4275;4250;4251"
ForcedIncludeFiles="config.h"
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
@ -120,12 +121,14 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;BACKEND_EXPORTS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;BACKEND_EXPORTS;VISIBILITY_SUPPORT_HH"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="3"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
DisableSpecificWarnings="4275;4290"
ForcedIncludeFiles="config.h"
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
@ -207,6 +210,10 @@
RelativePath="..\..\src\backend\concrete_thread_statistics.cc" RelativePath="..\..\src\backend\concrete_thread_statistics.cc"
> >
</File> </File>
<File
RelativePath="..\..\src\backend\cpp_resource_policy_manager.cc"
>
</File>
<File <File
RelativePath="..\..\src\backend\cpu_policies_gatekeeper.cc" RelativePath="..\..\src\backend\cpu_policies_gatekeeper.cc"
> >
@ -223,10 +230,6 @@
RelativePath="..\..\src\backend\cpu_policy_manager.cc" RelativePath="..\..\src\backend\cpu_policy_manager.cc"
> >
</File> </File>
<File
RelativePath="..\..\src\backend\default_resource_policy_manager.cc"
>
</File>
<File <File
RelativePath="..\..\src\backend\dynamic_process.cc" RelativePath="..\..\src\backend\dynamic_process.cc"
> >
@ -267,10 +270,6 @@
RelativePath="..\..\src\backend\history_observer.cc" RelativePath="..\..\src\backend\history_observer.cc"
> >
</File> </File>
<File
RelativePath="..\..\src\backend\holt_graph.cc"
>
</File>
<File <File
RelativePath="..\..\src\backend\invalid_plugin_exception.cc" RelativePath="..\..\src\backend\invalid_plugin_exception.cc"
> >
@ -469,6 +468,10 @@
RelativePath="..\..\src\backend\concrete_thread_statistics.hh" RelativePath="..\..\src\backend\concrete_thread_statistics.hh"
> >
</File> </File>
<File
RelativePath="..\..\src\backend\sgpemv2\cpp_resource_policy_manager.hh"
>
</File>
<File <File
RelativePath="..\..\src\backend\sgpemv2\cpu_policies_gatekeeper.hh" RelativePath="..\..\src\backend\sgpemv2\cpu_policies_gatekeeper.hh"
> >
@ -485,10 +488,6 @@
RelativePath="..\..\src\backend\sgpemv2\cpu_policy_manager.hh" RelativePath="..\..\src\backend\sgpemv2\cpu_policy_manager.hh"
> >
</File> </File>
<File
RelativePath="..\..\src\backend\sgpemv2\default_resource_policy_manager.hh"
>
</File>
<File <File
RelativePath="..\..\src\backend\dynamic_process.hh" RelativePath="..\..\src\backend\dynamic_process.hh"
> >
@ -533,10 +532,6 @@
RelativePath="..\..\src\backend\sgpemv2\history_observer.hh" RelativePath="..\..\src\backend\sgpemv2\history_observer.hh"
> >
</File> </File>
<File
RelativePath="..\..\src\backend\sgpemv2\holt_graph.hh"
>
</File>
<File <File
RelativePath="..\..\src\backend\sgpemv2\invalid_plugin_exception.hh" RelativePath="..\..\src\backend\sgpemv2\invalid_plugin_exception.hh"
> >

View File

@ -44,7 +44,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)\config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\pyloader&quot;;&quot;$(PYTHON_BASEPATH)\include&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)\config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\pyloader&quot;;&quot;$(PYTHON_BASEPATH)\include&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PYLOADER_EXPORTS;_SECURE_SCL_THROWS" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PYLOADER_EXPORTS;_SECURE_SCL_THROWS;VISIBILITY_SUPPORT_HH"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
@ -53,6 +53,7 @@
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
DisableSpecificWarnings="4250;4290;4275;4251;4297" DisableSpecificWarnings="4250;4290;4275;4251;4297"
ForcedIncludeFiles=""
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
@ -126,12 +127,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\pyloader&quot;;&quot;$(PYTHON_BASEPATH)\include&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\pyloader&quot;;&quot;$(PYTHON_BASEPATH)\include&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PYLOADER_EXPORTS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PYLOADER_EXPORTS;VISIBILITY_SUPPORT_HH"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="3"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
ForcedIncludeFiles=""
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"

View File

@ -26,7 +26,7 @@
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
Description="Copy glade stuff" Description="Copy glade stuff"
CommandLine="copy &quot;$(SolutionDir)..\..\glade\*.glade&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;&#x0D;&#x0A;copy &quot;$(SolutionDir)..\..\data\logo.png&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;" CommandLine="copy &quot;$(SolutionDir)..\..\glade\*.glade&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;&#x0D;&#x0A;copy &quot;$(SolutionDir)..\..\data\logo.png&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;&#x0D;&#x0A;"
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -44,7 +44,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)\config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)\config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;VISIBILITY_SUPPORT_HH"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
@ -53,6 +53,7 @@
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
DisableSpecificWarnings="4250;4290;4275;4251" DisableSpecificWarnings="4250;4290;4275;4251"
ForcedIncludeFiles="config.h"
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
@ -109,7 +110,7 @@
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
Description="Copy glade stuff" Description="Copy glade stuff"
CommandLine="copy &quot;$(SolutionDir)..\..\glade\*.glade&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;&#x0D;&#x0A;copy &quot;$(SolutionDir)..\..\data\logo.png&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;" CommandLine="copy &quot;$(SolutionDir)..\..\glade\*.glade&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;&#x0D;&#x0A;copy &quot;$(SolutionDir)..\..\data\logo.png&quot; &quot;$(SolutionDir)$(ConfigurationName)\glade&quot;&#x0D;&#x0A;"
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -126,12 +127,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;VISIBILITY_SUPPORT_HH"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="3"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
ForcedIncludeFiles="config.h"
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
@ -239,10 +241,6 @@
RelativePath="..\..\src\resources_widget.cc" RelativePath="..\..\src\resources_widget.cc"
> >
</File> </File>
<File
RelativePath="..\..\src\schedulable_state_widget.cc"
>
</File>
<File <File
RelativePath="..\..\src\schedulables_statistics_widget.cc" RelativePath="..\..\src\schedulables_statistics_widget.cc"
> >
@ -329,10 +327,6 @@
RelativePath="..\..\src\resources_widget.hh" RelativePath="..\..\src\resources_widget.hh"
> >
</File> </File>
<File
RelativePath="..\..\src\schedulable_state_widget.hh"
>
</File>
<File <File
RelativePath="..\..\src\schedulables_statistics_widget.hh" RelativePath="..\..\src\schedulables_statistics_widget.hh"
> >

View File

@ -42,7 +42,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\xmlsave&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\xmlsave&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;XMLSAVE_EXPORTS" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;XMLSAVE_EXPORTS;VISIBILITY_SUPPORT_HH"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
@ -51,6 +51,7 @@
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
DisableSpecificWarnings="4290;4275;4251" DisableSpecificWarnings="4290;4275;4251"
ForcedIncludeFiles=""
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
@ -122,12 +123,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\xmlsave&quot;" AdditionalIncludeDirectories="&quot;$(SolutionDir)config&quot;;&quot;$(SolutionDir)..\..\src\backend&quot;;&quot;$(SolutionDir)..\..\plugins\xmlsave&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;XMLSAVE_EXPORTS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;XMLSAVE_EXPORTS;VISIBILITY_SUPPORT_HH"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="3"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
ForcedIncludeFiles=""
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"

View File

@ -22,7 +22,7 @@
#ifndef DOWN_CAST_TCC #ifndef DOWN_CAST_TCC
#define DOWN_CAST_TCC 1 #define DOWN_CAST_TCC 1
#if (not defined NDEBUG) && (not defined _MSC_VER) #if not defined(NDEBUG) && not defined(_MSC_VER)
#include <sys/types.h> #include <sys/types.h>
#include <iostream> #include <iostream>
#include <signal.h> #include <signal.h>
@ -113,7 +113,7 @@ namespace sgpem
template<typename From> template<typename From>
inline To* operator()(From* obj) const inline To* operator()(From* obj) const
{ {
#if (not defined NDEBUG) && (not defined _MSC_VER) #if not defined(NDEBUG) && not defined(_MSC_VER)
To* check_ptr = dynamic_cast<To*>(obj); To* check_ptr = dynamic_cast<To*>(obj);
if(check_ptr == NULL) if(check_ptr == NULL)
{ {