Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core api rework #19

Merged
merged 2 commits into from
Oct 29, 2023
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
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