-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2034 from Exiv2/fix_README_ctest_main
Updating documentation on main to respect ctest
- Loading branch information
Showing
5 changed files
with
122 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,21 +98,19 @@ os_build=Windows | |
[env] | ||
``` | ||
|
||
_Profiles for Visual Studio are discussed in detail here: [Visual Studio Notes](#2-2)__ | ||
_Profiles for Visual Studio are discussed in detail here: [Visual Studio Notes](#2-2)_ | ||
|
||
<name id="1-4"></a> | ||
|
||
##### 1.4) Build dependencies, create build environment, build and test</a> | ||
|
||
|
||
| | Build Steps | Linux and macOS | Visual Studio | | ||
|:-- |:--------------|--------------------------------|------------------------------| | ||
| | Build Steps | Linux and macOS | Visual Studio | | ||
|:-- |:-------------------------------------------------------------------------|-----------------------|------------------------------| | ||
| _**1**_ | Get conan to fetch dependencies<br><br>The output can be quite<br>long as conan downloads and/or builds<br>zlib, expat, curl and other dependencies.| $ conan install ..<br> --build missing | c:\\..\\build> conan install .. --build missing<br> --profile msvc2019Release64 | | ||
| _**2**_ | Get cmake to generate<br>makefiles or sln/vcxproj | $ cmake .. | c:\\..\\build> cmake .. -G "Visual Studio 16 2019" | ||
| _**3**_ | Build | $ cmake --build . | c:\\..\\build> cmake --build . --config Release<br>You may prefer to open exiv2.sln and build using the IDE. | | ||
| _**4**_ | Optionally Run Test Suite | $ make tests | c:\\..\\build> cmake --build . --config Release --target tests<br/>[README.md](README.md) | | ||
|
||
|
||
| _**2**_ | Get cmake to generate<br>makefiles or sln/vcxproj | $ cmake .. | c:\\..\\build> cmake .. -G "Visual Studio 16 2019" | ||
| _**3**_ | Build | $ cmake --build . | c:\\..\\build> cmake --build . --config Release<br>You may prefer to open exiv2.sln and build using the IDE. | | ||
| _**4**_ | Optionally Run Test Suite<br/>Test documentation: [README.md](README.md) | $ ctest | c:\\..\\build> ctest -C Release | | ||
|
||
[TOC](#TOC) | ||
<name id="2"></a> | ||
|
@@ -587,4 +585,4 @@ $ cmake -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON .. | |
[TOC](#TOC) | ||
Written by Robin Mills<br>[email protected]<br>Updated: 2021-03-18 | ||
Written by Robin Mills<br>[email protected]<br>Updated: 2021-12-17 |
Oops, something went wrong.