Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local install should uset the CMAKE_INSTALL_PREFIX to set variables #20

Closed
abdes opened this issue Sep 18, 2022 · 0 comments
Closed

Local install should uset the CMAKE_INSTALL_PREFIX to set variables #20

abdes opened this issue Sep 18, 2022 · 0 comments

Comments

@abdes
Copy link
Owner

abdes commented Sep 18, 2022

The ASAP_xxx variables should be set using the install prefix:

    # Install into local directory
    set(ASAP_INSTALL_ROOT      "${CMAKE_INSTALL_PREFIX}")                     # ./
    set(ASAP_INSTALL_LIB       "${ASAP_INSTALL_ROOT}/lib")                    # ./lib
    set(ASAP_INSTALL_SHARED    "${ASAP_INSTALL_LIB}")                         # ./lib
    set(ASAP_INSTALL_CMAKE     "${ASAP_INSTALL_ROOT}/share/cmake/${META_PROJECT_NAME}") # ./share/cmake/<project>
    set(ASAP_INSTALL_PKGCONFIG "${ASAP_INSTALL_ROOT}/share/pkgconfig")        # ./share/pkgconfig
    set(ASAP_INSTALL_EXAMPLES  "${ASAP_INSTALL_ROOT}")                        # ./
    set(ASAP_INSTALL_DATA      "${ASAP_INSTALL_ROOT}")                        # ./data
    set(ASAP_INSTALL_BIN       "${ASAP_INSTALL_ROOT}/bin")                    # ./bin
    set(ASAP_INSTALL_INCLUDE   "${ASAP_INSTALL_ROOT}/include")                # ./include
    set(ASAP_INSTALL_DOC       "${ASAP_INSTALL_ROOT}/doc")                    # ./doc
    set(ASAP_INSTALL_SHORTCUTS "${ASAP_INSTALL_ROOT}/misc")                   # ./misc
    set(ASAP_INSTALL_ICONS     "${ASAP_INSTALL_ROOT}/misc")                   # ./misc
    set(ASAP_INSTALL_INIT      "${ASAP_INSTALL_ROOT}/misc")                   # ./misc
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

No branches or pull requests

1 participant