Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ FetchContent_MakeAvailable(benchmark)

add_library(FastCast INTERFACE fastcast.hpp)

add_executable(measure benchmark.cpp utilities.hpp)
add_executable(measure benchmark/benchmark.cpp tests/utilities.hpp)
target_link_libraries(measure PRIVATE benchmark::benchmark FastCast)

add_executable(tests tests.cpp)
add_executable(tests tests/tests.cpp)
target_link_libraries(tests PRIVATE FastCast Boost::unit_test_framework)
target_include_directories(tests PRIVATE ${Boost_INCLUDE_DIRS})

Expand Down
4 changes: 2 additions & 2 deletions benchmark.cpp → benchmark/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Created by sayan on 10/4/25.
//

#include "fastcast.hpp"
#include "utilities.hpp"
#include "../fastcast.hpp"
#include "../tests/utilities.hpp"
#include <benchmark/benchmark.h>
#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion tests.cpp → tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// fastcast_test.cpp
#define BOOST_TEST_MODULE FastCastTests
#include "fastcast.hpp"
#include "../fastcast.hpp"
#include "utilities.hpp"
#include <boost/test/included/unit_test.hpp>

Expand Down
File renamed without changes.
Loading