-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn src/examples/CMakeList.txt into standalone project (#1029)
* Turn src/examples/CMakeList.txt into standalone project By adding cmake_minimum_required(), project() and find_package() statements, src/examples serves as a standalone project linking against the OpenEXR library. This makes it a more representative example for end users, but it also makes it suitable for a CI validation step that builds against the already-installed library. This preserves the behavior of installing the example code as a part of the OpenEXR installation step. Signed-off-by: Cary Phillips <cary@ilm.com> * Remove space in find_package() Signed-off-by: Cary Phillips <cary@ilm.com> * Fix standalone examples and add to CI * examples CMakeLists.txt calls project() only when configure as standalone * CI builds and runs the examples * Rename the CI runs to match the .yml files (in upper case) Signed-off-by: Cary Phillips <cary@ilm.com> * Rename bazel action to Bazel Signed-off-by: Cary Phillips <cary@ilm.com> * Remove errant # in comment. Signed-off-by: Cary Phillips <cary@ilm.com> * CI examples cleanup, run for macOS, not yet for Windows Signed-off-by: Cary Phillips <cary@ilm.com>
- Loading branch information
Showing
3 changed files
with
67 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI | ||
name: Bazel | ||
|
||
on: | ||
push: {} | ||
|
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