Skip to content

Commit

Permalink
Merge pull request #19 from Rinzii/core-api-rework
Browse files Browse the repository at this point in the history
Core api rework
  • Loading branch information
Rinzii authored Oct 29, 2023
2 parents 63c8cbb + ca2a4a5 commit 300430e
Show file tree
Hide file tree
Showing 114 changed files with 2,552 additions and 29,442 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ endif()

# We will hit 1.0.0 when we have a stable API
# We will hit 0.1.0 when we have finished the basic API
set(build_version 0.0.4)
set(build_version 0.0.5)

include(CheckPIESupported)
check_pie_supported()
Expand Down
13 changes: 12 additions & 1 deletion ext/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
project(mim-ext)

include(FetchContent)



if (MIM_BUILD_TEST)
# PThreads are not available on Windows
Expand All @@ -13,7 +16,15 @@ if (MIM_BUILD_TEST)
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
set(gtest_build_samples OFF CACHE BOOL "" FORCE)
set(gtest_build_tests OFF CACHE BOOL "" FORCE)
add_subdirectory(googletest)


FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG v1.14.0
)
FetchContent_MakeAvailable(googletest)

add_library(gtest::gtest ALIAS gtest)
endif()

Expand Down
84 changes: 0 additions & 84 deletions ext/googletest/.gitignore

This file was deleted.

37 changes: 0 additions & 37 deletions ext/googletest/CMakeLists.txt

This file was deleted.

28 changes: 0 additions & 28 deletions ext/googletest/LICENSE

This file was deleted.

Loading

0 comments on commit 300430e

Please sign in to comment.