Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dinocore1
Copy link
Contributor

To have cmake install units library to a local 'install' directory:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="install" ..
cmake --build . --target install

The units library can then be used in some other cmake project using the
standard
'find_package' command. Like so:

find_package(units)

To have cmake install units library to a local 'install' directory:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="install" ..
cmake --build . --target install

The units library can then be used in some other cmake project using the
standard
'find_package' command. Like so:

find_package(units)
@nholthaus
Copy link
Owner

Thank you very much for this! I wouldn't be surprised if it's the favorite new feature of v2.3.

@nholthaus nholthaus self-assigned this Sep 16, 2017
@nholthaus nholthaus added this to the v2.3.0 milestone Sep 16, 2017
@nholthaus nholthaus merged commit a674ebb into nholthaus:master Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants