From: Gunnar Beutner Date: Mon, 18 Mar 2013 21:40:40 +0000 (+0100) Subject: Windows build fix. X-Git-Tag: v0.0.2~214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;ds=sidebyside;h=734f76af9696af2d1aff9c2d1b3d83a6f4bb0d6e;p=icinga2 Windows build fix. --- diff --git a/components/checker/checker.vcxproj b/components/checker/checker.vcxproj index b5b82fd18..a82056fb9 100644 --- a/components/checker/checker.vcxproj +++ b/components/checker/checker.vcxproj @@ -65,28 +65,28 @@ true $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -97,6 +97,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -111,6 +112,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -127,6 +129,7 @@ NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -145,6 +148,7 @@ NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -177,6 +181,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c diff --git a/components/compat/compat.vcxproj b/components/compat/compat.vcxproj index 7b3cdf87c..ccb339c42 100644 --- a/components/compat/compat.vcxproj +++ b/components/compat/compat.vcxproj @@ -64,28 +64,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -97,6 +97,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true false + NotUsing Windows @@ -111,6 +112,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions) true false + NotUsing Windows @@ -126,6 +128,7 @@ true NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true + NotUsing Windows @@ -143,6 +146,7 @@ true NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true + NotUsing Windows @@ -175,6 +179,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c diff --git a/components/delegation/delegation.vcxproj b/components/delegation/delegation.vcxproj index 1b8901a59..81bca4382 100644 --- a/components/delegation/delegation.vcxproj +++ b/components/delegation/delegation.vcxproj @@ -64,28 +64,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -97,6 +97,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -111,6 +112,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -127,6 +129,7 @@ NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -145,6 +148,7 @@ NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false true + NotUsing Windows @@ -177,6 +181,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c diff --git a/components/demo/demo.vcxproj b/components/demo/demo.vcxproj index 91e202ffd..cd6b6b88b 100644 --- a/components/demo/demo.vcxproj +++ b/components/demo/demo.vcxproj @@ -64,28 +64,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -97,6 +97,7 @@ Level3 false true + NotUsing Windows @@ -111,6 +112,7 @@ Level3 false true + NotUsing Windows @@ -127,6 +129,7 @@ Level3 false true + NotUsing Windows @@ -145,6 +148,7 @@ Level3 false true + NotUsing Windows @@ -177,6 +181,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c diff --git a/components/livestatus/livestatus.vcxproj b/components/livestatus/livestatus.vcxproj index b3fc251c7..ee9f21de1 100644 --- a/components/livestatus/livestatus.vcxproj +++ b/components/livestatus/livestatus.vcxproj @@ -75,6 +75,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c @@ -123,28 +127,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -156,6 +160,7 @@ Level3 false true + NotUsing Windows @@ -170,6 +175,7 @@ Level3 false true + NotUsing Windows @@ -186,6 +192,7 @@ Level3 false true + NotUsing Windows @@ -204,6 +211,7 @@ Level3 false true + NotUsing Windows diff --git a/components/livestatus/query.h b/components/livestatus/query.h index 5b2a832cf..8f9a81f50 100644 --- a/components/livestatus/query.h +++ b/components/livestatus/query.h @@ -24,6 +24,7 @@ #include "base/object.h" #include "base/array.h" #include "base/stream.h" +#include using namespace icinga; diff --git a/components/notification/notification.vcxproj b/components/notification/notification.vcxproj index 871dc7a48..7075b968e 100644 --- a/components/notification/notification.vcxproj +++ b/components/notification/notification.vcxproj @@ -64,28 +64,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -97,6 +97,7 @@ Level3 false true + NotUsing Windows @@ -111,6 +112,7 @@ Level3 false true + NotUsing Windows @@ -127,6 +129,7 @@ Level3 false true + NotUsing Windows @@ -145,6 +148,7 @@ Level3 false true + NotUsing Windows @@ -177,6 +181,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c diff --git a/components/replication/replication.vcxproj b/components/replication/replication.vcxproj index 664d10191..c65de807c 100644 --- a/components/replication/replication.vcxproj +++ b/components/replication/replication.vcxproj @@ -64,28 +64,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -97,6 +97,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true false + NotUsing Windows @@ -111,6 +112,7 @@ _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;_WINDOWS;%(PreprocessorDefinitions) true false + NotUsing Windows @@ -126,6 +128,7 @@ true NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true + NotUsing Windows @@ -143,6 +146,7 @@ true NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true + NotUsing Windows @@ -175,6 +179,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c diff --git a/icinga-app/icinga-app.vcxproj b/icinga-app/icinga-app.vcxproj index 7ddfb1187..dd72983a0 100644 --- a/icinga-app/icinga-app.vcxproj +++ b/icinga-app/icinga-app.vcxproj @@ -68,28 +68,28 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(Platform)\$(Configuration)\ $(SolutionDir)$(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(Platform)\$(Configuration)\ $(SolutionDir)$(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(Platform)\$(Configuration)\ $(SolutionDir)$(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(Platform)\$(Configuration)\ $(SolutionDir)$(Platform)\$(Configuration)\ @@ -101,6 +101,7 @@ Level3 false true + NotUsing Console @@ -115,6 +116,7 @@ Level3 false true + NotUsing Console @@ -132,6 +134,7 @@ Level3 false true + NotUsing Console @@ -151,6 +154,7 @@ Level3 false true + NotUsing Console diff --git a/lib/base/application.cpp b/lib/base/application.cpp index ff42aa21b..6d57767d8 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -66,7 +66,7 @@ Application::Application(const Dictionary::Ptr& serializedUpdate) if (WSAStartup(MAKEWORD(1, 1), &wsaData) != 0) { BOOST_THROW_EXCEPTION(win32_error() << boost::errinfo_api_function("WSAStartup") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); } #endif /* _WIN32 */ @@ -268,7 +268,7 @@ String Application::GetExePath(const String& argv0) if (!GetModuleFileName(NULL, FullExePath, sizeof(FullExePath))) BOOST_THROW_EXCEPTION(win32_error() << boost::errinfo_api_function("GetModuleFileName") - << boost::errinfo_win32_error(GetLastError())); + << errinfo_win32_error(GetLastError())); return FullExePath; #endif /* _WIN32 */ diff --git a/lib/base/base.vcxproj b/lib/base/base.vcxproj index d469f75e3..45ae561d8 100644 --- a/lib/base/base.vcxproj +++ b/lib/base/base.vcxproj @@ -30,12 +30,6 @@ - - Create - Create - Create - Create - @@ -57,6 +51,7 @@ + @@ -73,6 +68,9 @@ + + + @@ -94,6 +92,7 @@ + @@ -145,25 +144,25 @@ - $(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) + $(SolutionDir)\lib;$(SolutionDir)\components;$(SolutionDir)\third-party\mmatch;$(SolutionDir)\third-party\cJSON;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ @@ -175,7 +174,7 @@ Level3 false i2-base.h - Use + NotUsing true @@ -194,7 +193,7 @@ Level3 false i2-base.h - Use + NotUsing true @@ -208,7 +207,7 @@ - Use + NotUsing MaxSpeed true true @@ -232,7 +231,7 @@ - Use + NotUsing MaxSpeed true true diff --git a/lib/base/base.vcxproj.filters b/lib/base/base.vcxproj.filters index a2b1d7937..5a15e4634 100644 --- a/lib/base/base.vcxproj.filters +++ b/lib/base/base.vcxproj.filters @@ -46,9 +46,6 @@ Quelldateien - - Quelldateien - Quelldateien @@ -109,6 +106,9 @@ Quelldateien + + Quelldateien + @@ -222,6 +222,18 @@ Headerdateien + + Headerdateien + + + Headerdateien + + + Headerdateien + + + Headerdateien + diff --git a/lib/base/eventqueue.cpp b/lib/base/eventqueue.cpp index dfb4eb140..6bac6a940 100644 --- a/lib/base/eventqueue.cpp +++ b/lib/base/eventqueue.cpp @@ -141,7 +141,7 @@ void EventQueue::QueueThreadProc(void) int divctx = usage_end.ru_nivcsw - usage_start.ru_nivcsw; # endif /* RUSAGE_THREAD */ if (et - st > 0.5) { - stringstream msgbuf; + std::ostringstream msgbuf; # ifdef RUSAGE_THREAD msgbuf << "Event call took user:" << duser << "s, system:" << dsys << "s, wait:" << dwait << "s, minor_faults:" << dminfaults << ", major_faults:" << dmajfaults << ", voluntary_csw:" << dvctx << ", involuntary_csw:" << divctx; # else diff --git a/lib/base/exception.h b/lib/base/exception.h index 174a377fc..8d6908534 100644 --- a/lib/base/exception.h +++ b/lib/base/exception.h @@ -21,6 +21,7 @@ #define EXCEPTION_H #include "base/i2-base.h" +#include "base/qstring.h" #include "base/stacktrace.h" #include #include diff --git a/lib/base/i2-base.cpp b/lib/base/i2-base.cpp deleted file mode 100644 index c66f624b1..000000000 --- a/lib/base/i2-base.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * Icinga 2 * - * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software Foundation * - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ******************************************************************************/ - -/* This file is used by MSVC to generate the pre-compiled hedader. */ - -#include "i2-base.h" diff --git a/lib/base/i2-base.h b/lib/base/i2-base.h index ab8fd5248..64f6c0290 100644 --- a/lib/base/i2-base.h +++ b/lib/base/i2-base.h @@ -70,7 +70,6 @@ #include #include #include -#include #include #include diff --git a/lib/base/logger_fwd.h b/lib/base/logger_fwd.h index 1323a535a..3d7c69668 100644 --- a/lib/base/logger_fwd.h +++ b/lib/base/logger_fwd.h @@ -39,7 +39,7 @@ enum LogSeverity LogCritical }; -void Log(LogSeverity severity, const String& facility, +void I2_BASE_API Log(LogSeverity severity, const String& facility, const String& message); } diff --git a/lib/base/object.h b/lib/base/object.h index 287172c31..278b2365a 100644 --- a/lib/base/object.h +++ b/lib/base/object.h @@ -21,7 +21,15 @@ #define OBJECT_H #include "base/i2-base.h" +#include + +#ifndef _DEBUG #include +#else /* _DEBUG */ +#include "base/utility.h" +#include +#endif /* _DEBUG */ + #include #include #include diff --git a/lib/base/registry.h b/lib/base/registry.h index d80a3d6e1..100b2a45c 100644 --- a/lib/base/registry.h +++ b/lib/base/registry.h @@ -36,7 +36,7 @@ namespace icinga * @ingroup base */ template -class I2_BASE_API Registry +class Registry { public: typedef std::map ItemMap; diff --git a/lib/base/singleton.h b/lib/base/singleton.h index 59039b813..346929e5b 100644 --- a/lib/base/singleton.h +++ b/lib/base/singleton.h @@ -32,7 +32,7 @@ namespace icinga * @ingroup base */ template -class I2_BASE_API Singleton +class Singleton { public: static T *GetInstance(void) @@ -41,10 +41,12 @@ public: static boost::mutex mutex; boost::mutex::scoped_lock lock(mutex); - if (!m_Instance) - m_Instance = new T(); + static T *instance; - return m_Instance; + if (!instance) + instance = new T(); + + return instance; } private: friend T *T::GetInstance(void); @@ -52,9 +54,6 @@ private: static T *m_Instance; }; -template -T *Singleton::m_Instance = NULL; - } #endif /* SINGLETON_H */ diff --git a/lib/base/socket.cpp b/lib/base/socket.cpp index 9b0f10504..5f4a07071 100644 --- a/lib/base/socket.cpp +++ b/lib/base/socket.cpp @@ -20,6 +20,7 @@ #include "base/socket.h" #include "base/objectlock.h" #include "base/utility.h" +#include "base/exception.h" #include #include #include @@ -159,7 +160,7 @@ void Socket::HandleException(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("select") - << boost::errinfo_win32_error(GetError())); + << errinfo_win32_error(GetError())); #endif /* _WIN32 */ } @@ -182,7 +183,7 @@ String Socket::GetAddressFromSockaddr(sockaddr *address, socklen_t len) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("getnameinfo") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -211,7 +212,7 @@ String Socket::GetClientAddress(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("getsockname") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -238,7 +239,7 @@ String Socket::GetPeerAddress(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("getpeername") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -290,7 +291,7 @@ void Socket::ReadThreadProc(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("select") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -357,7 +358,7 @@ void Socket::WriteThreadProc(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("select") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -487,7 +488,7 @@ void Socket::Listen(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("listen") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -545,7 +546,7 @@ void Socket::HandleWritableClient(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("send") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -582,7 +583,7 @@ void Socket::HandleReadableClient(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("recv") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -626,7 +627,7 @@ void Socket::HandleReadableServer(void) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("accept") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } diff --git a/lib/base/tcpsocket.cpp b/lib/base/tcpsocket.cpp index a876e26cf..78cb47ceb 100644 --- a/lib/base/tcpsocket.cpp +++ b/lib/base/tcpsocket.cpp @@ -18,6 +18,7 @@ ******************************************************************************/ #include "base/tcpsocket.h" +#include "base/exception.h" #include #include #include @@ -63,7 +64,7 @@ void TcpSocket::Bind(String node, String service, int family) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("getaddrinfo") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } @@ -134,7 +135,7 @@ void TcpSocket::Connect(const String& node, const String& service) #else /* _WIN32 */ BOOST_THROW_EXCEPTION(socket_error() << boost::errinfo_api_function("getaddrinfo") - << boost::errinfo_win32_error(WSAGetLastError())); + << errinfo_win32_error(WSAGetLastError())); #endif /* _WIN32 */ } diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index 844b05ecd..4c14eee5c 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -19,7 +19,8 @@ #include "base/tlsutility.h" -using namespace icinga; +namespace icinga +{ static bool l_SSLInitialized = false; @@ -147,3 +148,4 @@ shared_ptr GetX509Certificate(const String& pemfile) return shared_ptr(cert, X509_free); } +} diff --git a/lib/base/tlsutility.h b/lib/base/tlsutility.h index ede21b02a..18ff18058 100644 --- a/lib/base/tlsutility.h +++ b/lib/base/tlsutility.h @@ -31,9 +31,9 @@ namespace icinga { -shared_ptr MakeSSLContext(const String& pubkey, const String& privkey, const String& cakey); -String GetCertificateCN(const shared_ptr& certificate); -shared_ptr GetX509Certificate(const String& pemfile); +shared_ptr I2_BASE_API MakeSSLContext(const String& pubkey, const String& privkey, const String& cakey); +String I2_BASE_API GetCertificateCN(const shared_ptr& certificate); +shared_ptr I2_BASE_API GetX509Certificate(const String& pemfile); class I2_BASE_API openssl_error : virtual public std::exception, virtual public boost::exception { }; diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index 2d9539c0c..b12367fbf 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -305,7 +305,7 @@ bool Utility::Glob(const String& pathSpec, const boost::function #include @@ -83,6 +82,7 @@ private: } #ifdef _DEBUG +# include # define ASSERT(expr) assert(expr) #else /* _DEBUG */ # define ASSERT(expr) diff --git a/lib/config/config.vcxproj b/lib/config/config.vcxproj index cd36dd256..ea405f584 100644 --- a/lib/config/config.vcxproj +++ b/lib/config/config.vcxproj @@ -62,12 +62,6 @@ - - Create - Create - Create - Create - @@ -86,6 +80,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c config_lexer.cc @@ -155,32 +153,32 @@ - $(SolutionDir)\lib\base;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - Use + NotUsing Level3 Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;I2_CONFIG_BUILD;%(PreprocessorDefinitions) @@ -196,7 +194,7 @@ - Use + NotUsing Level3 Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;I2_CONFIG_BUILD;%(PreprocessorDefinitions) @@ -213,7 +211,7 @@ Level3 - Use + NotUsing MaxSpeed true true @@ -233,7 +231,7 @@ Level3 - Use + NotUsing MaxSpeed true true diff --git a/lib/config/config.vcxproj.filters b/lib/config/config.vcxproj.filters index dfc62bb23..49c92f108 100644 --- a/lib/config/config.vcxproj.filters +++ b/lib/config/config.vcxproj.filters @@ -22,9 +22,6 @@ Quelldateien - - Quelldateien - Quelldateien diff --git a/lib/config/configcompiler.h b/lib/config/configcompiler.h index 1918dd78e..2940b1574 100644 --- a/lib/config/configcompiler.h +++ b/lib/config/configcompiler.h @@ -78,7 +78,7 @@ private: void DestroyScanner(void); }; -class ConfigFragmentRegistry : public Registry +class I2_CONFIG_API ConfigFragmentRegistry : public Registry { }; /** diff --git a/lib/config/i2-config.cpp b/lib/config/i2-config.cpp deleted file mode 100644 index 6f83e0a07..000000000 --- a/lib/config/i2-config.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * Icinga 2 * - * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software Foundation * - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ******************************************************************************/ - -/* This file is used by MSVC to generate the pre-compiled hedader. */ - -#include "i2-config.h" diff --git a/lib/icinga/i2-icinga.cpp b/lib/icinga/i2-icinga.cpp deleted file mode 100644 index ae6e8fae3..000000000 --- a/lib/icinga/i2-icinga.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * Icinga 2 * - * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software Foundation * - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ******************************************************************************/ - -/* This file is used by MSVC to generate the pre-compiled hedader. */ - -#include "i2-icinga.h" diff --git a/lib/icinga/icinga.vcxproj b/lib/icinga/icinga.vcxproj index 52b5341e6..f7d2f88bc 100644 --- a/lib/icinga/icinga.vcxproj +++ b/lib/icinga/icinga.vcxproj @@ -25,12 +25,6 @@ - - Create - Create - Create - Create - NotUsing NotUsing @@ -90,6 +84,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c @@ -139,35 +137,35 @@ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ true - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - Use + NotUsing Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;I2_ICINGA_BUILD;%(PreprocessorDefinitions) Level3 @@ -183,7 +181,7 @@ - Use + NotUsing Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;I2_ICINGA_BUILD;%(PreprocessorDefinitions) Level3 @@ -199,7 +197,7 @@ - Use + NotUsing MaxSpeed true true @@ -220,7 +218,7 @@ - Use + NotUsing MaxSpeed true true @@ -242,4 +240,4 @@ - + \ No newline at end of file diff --git a/lib/icinga/icinga.vcxproj.filters b/lib/icinga/icinga.vcxproj.filters index ca0483580..94a44f1e8 100644 --- a/lib/icinga/icinga.vcxproj.filters +++ b/lib/icinga/icinga.vcxproj.filters @@ -4,9 +4,6 @@ Quelldateien - - Quelldateien - Quelldateien diff --git a/lib/remoting/i2-remoting.cpp b/lib/remoting/i2-remoting.cpp deleted file mode 100644 index 38af43183..000000000 --- a/lib/remoting/i2-remoting.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * Icinga 2 * - * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software Foundation * - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ******************************************************************************/ - -/* This file is used by MSVC to generate the pre-compiled hedader. */ - -#include "i2-remoting.h" diff --git a/lib/remoting/remoting.vcxproj b/lib/remoting/remoting.vcxproj index c475cd589..49f87f94b 100644 --- a/lib/remoting/remoting.vcxproj +++ b/lib/remoting/remoting.vcxproj @@ -30,12 +30,6 @@ - - Create - Create - Create - Create - NotUsing @@ -62,6 +56,10 @@ %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) %(Filename).cpp;%(Outputs) + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c + $(SolutionDir)\tools\mkembedconfig.c @@ -109,32 +107,32 @@ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - Use + NotUsing Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;I2_REMOTING_BUILD;%(PreprocessorDefinitions) Level3 @@ -154,7 +152,7 @@ - Use + NotUsing Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;I2_REMOTING_BUILD;%(PreprocessorDefinitions) Level3 @@ -174,7 +172,7 @@ - Use + NotUsing MaxSpeed true true @@ -199,7 +197,7 @@ - Use + NotUsing MaxSpeed true true diff --git a/lib/remoting/remoting.vcxproj.filters b/lib/remoting/remoting.vcxproj.filters index eee3d9d96..7e7514746 100644 --- a/lib/remoting/remoting.vcxproj.filters +++ b/lib/remoting/remoting.vcxproj.filters @@ -10,9 +10,6 @@ Quelldateien - - Quelldateien - Quelldateien diff --git a/test/test.vcxproj b/test/test.vcxproj index 4fed34b5a..37d8e842e 100644 --- a/test/test.vcxproj +++ b/test/test.vcxproj @@ -66,34 +66,33 @@ true $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) true $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) false $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) false $(SolutionDir)$(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ - $(SolutionDir)\lib\base;$(SolutionDir)\lib\remoting;$(SolutionDir)\lib\icinga;$(SolutionDir)\lib\config;$(IncludePath) + $(SolutionDir)\lib;$(IncludePath) $(SolutionDir)$(Platform)\$(Configuration)\;$(LibraryPath) - - + NotUsing Level3 Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) @@ -108,8 +107,7 @@ - - + NotUsing Level3 Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) @@ -125,8 +123,7 @@ Level3 - - + NotUsing MaxSpeed true true @@ -145,8 +142,7 @@ Level3 - - + NotUsing MaxSpeed true true diff --git a/third-party/cJSON/cJSON.vcxproj b/third-party/cJSON/cJSON.vcxproj index 7cbd304ac..c12ea5970 100644 --- a/third-party/cJSON/cJSON.vcxproj +++ b/third-party/cJSON/cJSON.vcxproj @@ -95,6 +95,7 @@ Level3 false true + NotUsing Windows @@ -108,6 +109,7 @@ Level3 false true + NotUsing Windows @@ -124,6 +126,7 @@ Level3 false true + NotUsing Windows @@ -142,6 +145,7 @@ Level3 false true + NotUsing Windows diff --git a/third-party/mmatch/mmatch.vcxproj b/third-party/mmatch/mmatch.vcxproj index 825e2cd4d..fc656a5fe 100644 --- a/third-party/mmatch/mmatch.vcxproj +++ b/third-party/mmatch/mmatch.vcxproj @@ -95,6 +95,7 @@ Level3 false true + NotUsing Windows @@ -108,6 +109,7 @@ Level3 false true + NotUsing Windows @@ -123,6 +125,7 @@ Level3 false true + NotUsing Windows @@ -140,6 +143,7 @@ Level3 false true + NotUsing Windows diff --git a/tools/mkembedconfig.vcxproj b/tools/mkembedconfig.vcxproj index 8e65e4e1f..797aec9a8 100644 --- a/tools/mkembedconfig.vcxproj +++ b/tools/mkembedconfig.vcxproj @@ -84,8 +84,7 @@ - - + NotUsing Level3 Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) @@ -97,8 +96,7 @@ - - + NotUsing Level3 Disabled _DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) @@ -111,8 +109,7 @@ Level3 - - + NotUsing MaxSpeed true true @@ -128,8 +125,7 @@ Level3 - - + NotUsing MaxSpeed true true