Skip to content

Commit 3eac29b

Browse files
committed
Lots of fixes and new implementations that I had lying around
1 parent 03d2659 commit 3eac29b

File tree

119 files changed

+3689
-317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+3689
-317
lines changed

CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FetchContent_MakeAvailable(spdlog)
1717
FetchContent_Declare(
1818
gtest
1919
GIT_REPOSITORY https://github.com/google/googletest.git
20-
GIT_TAG release-1.11.0
20+
GIT_TAG v1.17.0
2121
SYSTEM)
2222
FetchContent_MakeAvailable(gtest)
2323

@@ -37,7 +37,7 @@ FetchContent_MakeAvailable(cpython)
3737
FetchContent_Declare(
3838
tsl
3939
GIT_REPOSITORY https://github.com/Tessil/ordered-map
40-
GIT_TAG v1.1.0)
40+
GIT_TAG v1.2.0)
4141
FetchContent_MakeAvailable(tsl)
4242

4343
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
@@ -69,7 +69,7 @@ if (${ENABLE_SANITIZER_UNDEFINED_BEHAVIOR})
6969
endif()
7070

7171
project_options(
72-
WARNINGS_AS_ERRORS
72+
# WARNINGS_AS_ERRORS
7373
# ENABLE_COVERAGE
7474
# ENABLE_CPPCHECK
7575
# ENABLE_CLANG_TIDY
@@ -103,6 +103,11 @@ check_cxx_source_compiles(
103103
constexpr auto u64v = std::bit_cast<std::uint64_t>(f64v);"
104104
STL_SUPPORTS_BIT_CAST)
105105

106+
find_library(MATH_LIBRARY m)
107+
if(NOT MATH_LIBRARY)
108+
message(FATAL_ERROR "Could not find math library")
109+
endif()
110+
106111
add_subdirectory(src)
107112
add_subdirectory(integration)
108113

integration/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include(GoogleTest)
22

33
add_executable(integration-tests_ program.cpp ../src/testing/main.cpp)
4-
target_link_libraries(integration-tests_ PRIVATE python-cpp gtest gtest_main cxxopts project_options project_warnings)
4+
target_link_libraries(integration-tests_ PRIVATE python-cpp gtest gtest_main cxxopts project_options project_warnings tsl::ordered_map)
55
# gtest_add_tests(TARGET integration-tests_)
66

77
# cmake-format: off

0 commit comments

Comments
 (0)