Skip to content

Commit

Permalink
Move AssertionUnit from the extension to messaging and adjust all cma…
Browse files Browse the repository at this point in the history
…ke files
  • Loading branch information
VeithMetro committed Jan 17, 2025
1 parent 14fa876 commit b3b3824
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 408 deletions.
1 change: 0 additions & 1 deletion Source/Thunder/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <plugins/plugins.h>
#include <websocket/websocket.h>
#include <messaging/messaging.h>
#include <assertion/assertion.h>

#ifdef __CORE_WARNING_REPORTING__
#include <warningreporting/warningreporting.h>
Expand Down
1 change: 0 additions & 1 deletion Source/com/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ target_link_libraries(${TARGET}
PRIVATE
${NAMESPACE}Core::${NAMESPACE}Core
${NAMESPACE}Messaging::${NAMESPACE}Messaging
${NAMESPACE}Assertion::${NAMESPACE}Assertion
CompileSettingsDebug::CompileSettingsDebug
)

Expand Down
2 changes: 0 additions & 2 deletions Source/com/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include <core/core.h>
#include <messaging/messaging.h>

#include <assertion/assertion.h>

#ifdef WARNING_REPORTING_ENABLED
#include <warningreporting/warningreporting.h>
#endif
Expand Down
2 changes: 2 additions & 0 deletions Source/core/Trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ namespace Core {
if (index > 0) {
do {
index--;

found = ((fileName[index] == '\\') || (fileName[index] == '/'));

} while ((found == false) && (index != 0));
}

return (found == false ? fileName : &fileName[index + 1]);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/core/Trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
#include "Portability.h"
#include "AssertionControl.h"

#ifdef __CORE_MESSAGING__
#include <sstream>
#endif

#ifndef __WINDOWS__
#include <syslog.h>
Expand Down
6 changes: 0 additions & 6 deletions Source/extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

option(ASSERTION
"Include asserts library in the build." ON)
option(BLUETOOTH
"Include bluetooth library in the build." OFF)
option(BROADCAST
Expand All @@ -32,10 +30,6 @@ option(PROCESSCONTAINERS
option(WARNING_REPORTING
"Include warning reporting in the build." OFF)

if(ASSERTION)
add_subdirectory(assertion)
endif()

if(BLUETOOTH)
add_subdirectory(bluetooth)
endif()
Expand Down
72 changes: 0 additions & 72 deletions Source/extensions/assertion/CMakeLists.txt

This file was deleted.

22 changes: 0 additions & 22 deletions Source/extensions/assertion/Module.cpp

This file was deleted.

32 changes: 0 additions & 32 deletions Source/extensions/assertion/Module.h

This file was deleted.

32 changes: 0 additions & 32 deletions Source/extensions/assertion/assertion.h

This file was deleted.

Loading

0 comments on commit b3b3824

Please sign in to comment.