Skip to content

poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE#456

Merged
aleks-f merged 1 commit intopocoproject:developfrom
guruofquality:cmake_library_install_work
May 22, 2014
Merged

poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE#456
aleks-f merged 1 commit intopocoproject:developfrom
guruofquality:cmake_library_install_work

Conversation

@guruofquality
Copy link
Copy Markdown
Contributor

For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.

For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
aleks-f added a commit that referenced this pull request May 22, 2014
poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
@aleks-f aleks-f merged commit 001b969 into pocoproject:develop May 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants