1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00

Avoid sharing the same source file between multiple projects where there's a possibility that with each project object generated by the the source file could have a diffrent code used by other sources from the project.

Which can lead to undefined link time errors (at best) or run-time crashes (at worst).
This commit is contained in:
Sandu Liviu Catalin 2016-06-20 16:17:03 +03:00
parent ad55025bc8
commit 3a8d4952c1
12 changed files with 11 additions and 9 deletions

View File

@ -439,7 +439,7 @@
<Unit filename="../modules/irc/Session.hpp" /> <Unit filename="../modules/irc/Session.hpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -427,7 +427,7 @@
<Unit filename="../modules/json/Module.cpp" /> <Unit filename="../modules/json/Module.cpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -437,7 +437,7 @@
<Unit filename="../modules/mmdb/Sockaddr.hpp" /> <Unit filename="../modules/mmdb/Sockaddr.hpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -449,7 +449,7 @@
<Unit filename="../modules/mg/WebSocket.hpp" /> <Unit filename="../modules/mg/WebSocket.hpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -463,7 +463,7 @@
<Unit filename="../modules/mysql/Transaction.hpp" /> <Unit filename="../modules/mysql/Transaction.hpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -433,7 +433,7 @@
<Unit filename="../modules/sqlite/Transaction.hpp" /> <Unit filename="../modules/sqlite/Transaction.hpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -416,7 +416,7 @@
<Unit filename="../modules/sample/Module.cpp" /> <Unit filename="../modules/sample/Module.cpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -428,7 +428,7 @@
<Unit filename="../modules/xml/Wrapper/ParseResult.hpp" /> <Unit filename="../modules/xml/Wrapper/ParseResult.hpp" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Module.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../shared/SqMod.cpp" /> <Unit filename="../shared/SqMod.cpp" />
<Extensions> <Extensions>

View File

@ -433,7 +433,7 @@
<Unit filename="../external/Hash/sha3.h" /> <Unit filename="../external/Hash/sha3.h" />
<Unit filename="../shared/Base/Buffer.cpp" /> <Unit filename="../shared/Base/Buffer.cpp" />
<Unit filename="../shared/Base/Buffer.hpp" /> <Unit filename="../shared/Base/Buffer.hpp" />
<Unit filename="../shared/Base/Utility.cpp" /> <Unit filename="../shared/Base/Plugin.cpp" />
<Unit filename="../shared/Base/Utility.hpp" /> <Unit filename="../shared/Base/Utility.hpp" />
<Unit filename="../source/Base/AABB.cpp" /> <Unit filename="../source/Base/AABB.cpp" />
<Unit filename="../source/Base/AABB.hpp" /> <Unit filename="../source/Base/AABB.hpp" />

1
shared/Base/Module.cpp Normal file
View File

@ -0,0 +1 @@
#include "Utility.inl"

1
shared/Base/Plugin.cpp Normal file
View File

@ -0,0 +1 @@
#include "Utility.inl"