forked from microsoft/ifc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automated testing using doctest (microsoft#55)
* Add automated testing using doctest This change adds basic unit testing for some simple scenarios in the IFC. * Added [`doctest`](https://github.com/doctest/doctest) as a dependency for unit testing the C++ SDK. * Added preset value for building the testing executables. * Added unit tests for MSVC. * Improved documentation for building in developer mode.
- Loading branch information
Showing
9 changed files
with
946 additions
and
3 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 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright Microsoft Corporation. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
||
# This module is an opt-in find module _only_ for developers of the SDK who | ||
# cannot use vcpkg. To tell CMake about this find module, pass this file's | ||
# directory via the CMAKE_MODULE_PATH command line option. This will satisfy a | ||
# simple find_package(doctest REQUIRED) call by default. | ||
|
||
include(FetchContent) | ||
|
||
FetchContent_Declare( | ||
doctest | ||
GIT_REPOSITORY https://github.com/doctest/doctest.git | ||
GIT_TAG v2.4.11 | ||
GIT_SHALLOW YES | ||
) | ||
|
||
FetchContent_MakeAvailable(doctest) | ||
|
||
set(doctest_FOUND 1) |
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
Oops, something went wrong.