Skip to content

Commit

Permalink
Emscripten builds; Major CMake reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Oct 30, 2024
1 parent ac4e1fc commit 92cc4b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ using Clock = ::std::chrono::system_clock;
namespace Langulus::Logger
{

Interface Instance {};
Interface Instance {};
MessageSink MessageSinkInstance {};

void AttachDuplicator(A::Interface* d) noexcept {
Expand Down
13 changes: 3 additions & 10 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ file(GLOB_RECURSE
*.cpp
)

add_executable(LangulusLoggerTest ${LANGULUS_LOGGER_TEST_SOURCES})

target_link_libraries(LangulusLoggerTest
PRIVATE LangulusLogger
Catch2
)

add_test(
NAME LangulusLoggerTest
COMMAND LangulusLoggerTest
add_langulus_test(LangulusLoggerTest
SOURCES ${LANGULUS_LOGGER_TEST_SOURCES}
LIBRARIES LangulusLogger
)

0 comments on commit 92cc4b7

Please sign in to comment.