-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add optional Tests/TCK builds (#824)
Signed-off-by: gsstoykov <[email protected]>
- Loading branch information
Showing
4 changed files
with
62 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
add_subdirectory(sdk) | ||
add_subdirectory(tck) | ||
# Optional TCK build | ||
option(BUILD_TCK "Build the TCK tests" OFF) | ||
|
||
if(BUILD_TCK) | ||
message(STATUS "Including TCK tests in the build.") | ||
add_subdirectory(tck) | ||
else() | ||
message(STATUS "TCK tests are not included in the build.") | ||
endif() |
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,3 +1,19 @@ | ||
add_subdirectory(examples) | ||
# Optional Examples build | ||
option(BUILD_EXAMPLES "Build the example builds" OFF) | ||
|
||
if(BUILD_EXAMPLES) | ||
message(STATUS "Including examples in the build.") | ||
add_subdirectory(tests) | ||
else() | ||
message(STATUS "Examples are not included in the build.") | ||
endif() | ||
add_subdirectory(main) | ||
add_subdirectory(tests) | ||
# Optional Tests build | ||
option(BUILD_TESTS "Build the test suite" OFF) | ||
|
||
if(BUILD_TESTS) | ||
message(STATUS "Including tests in the build.") | ||
add_subdirectory(tests) | ||
else() | ||
message(STATUS "Tests are not included in the build.") | ||
endif() |