-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare for report server build. Simplify boost version change. Alway…
…s build google test.
- Loading branch information
Showing
20 changed files
with
54 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
# Copyright 2021 Ingemar Hedvall | ||
# SPDX-License-Identifier: MIT | ||
|
||
if (NOT GTest_FOUND) | ||
set(GTEST_MSVC_SEARCH MT) | ||
if (COMP_DIR) | ||
# Ignore the error message that GTest_ROOT should be used. It has to be capital letters | ||
set(GTEST_ROOT ${COMP_DIR}/googletest/master) | ||
endif() | ||
include (FetchContent) | ||
|
||
find_package(GTest) | ||
message(STATUS "GTest Found: " ${GTest_FOUND}) | ||
message(STATUS "GTest Include Dirs: " ${GTEST_INCLUDE_DIRS}) | ||
message(STATUS "GTest Libraries: " ${GTEST_LIBRARIES}) | ||
message(STATUS "GTest Main Libraries: " ${GTEST_MAIN_LIBRARIES}) | ||
message(STATUS "GTest Both Libraries: " ${GTEST_BOTH_LIBRARIES}) | ||
endif() | ||
include(FetchContent) | ||
FetchContent_Declare(googletest | ||
GIT_REPOSITORY https://github.com/google/googletest.git | ||
GIT_TAG HEAD | ||
) | ||
# For Windows: Prevent overriding the parent project's compiler/linker settings | ||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) | ||
FetchContent_MakeAvailable(googletest) | ||
message(STATUS "googletest Populated: " ${googletest_POPULATED}) | ||
message(STATUS "googletest Source: " ${googletest_SOURCE_DIR}) | ||
message(STATUS "googletest Binary: " ${googletest_BINARY_DIR}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", | ||
"name": "mdflib", | ||
"version": "2.1", | ||
"dependencies": [ | ||
"zlib", | ||
"expat" | ||
], | ||
"features": { | ||
"mdfviewer": { | ||
"description": "Build mdf viewer", | ||
"dependencies": [ | ||
"boost-process", | ||
"boost-locale", | ||
"wxwidgets" | ||
] | ||
}, | ||
"mdflibtest": { | ||
"description": "Build mdf tests", | ||
"dependencies": [ | ||
"boost-endian", | ||
"gtest" | ||
] | ||
} | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", | ||
"name": "mdflib", | ||
"version": "2.1", | ||
"dependencies": [ | ||
"zlib", | ||
"expat" | ||
], | ||
"features": { | ||
"mdfviewer": { | ||
"description": "Build mdf viewer", | ||
"dependencies": [ | ||
"boost-process", | ||
"boost-locale", | ||
"wxwidgets" | ||
] | ||
}, | ||
"mdflibtest": { | ||
"description": "Build mdf tests", | ||
"dependencies": [ | ||
"boost-endian", | ||
"gtest" | ||
] | ||
} | ||
} | ||
}, | ||
"builtin-baseline": "2b681d95e08447fde261b4404fbeab324f7d1e5b" | ||
} |