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

Refactor WITH_SELFCONTAINED CMake option #1990

Closed
jaeandersson opened this issue Apr 24, 2017 · 3 comments
Closed

Refactor WITH_SELFCONTAINED CMake option #1990

jaeandersson opened this issue Apr 24, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@jaeandersson
Copy link
Member

@jaeandersson jaeandersson commented Apr 24, 2017

The WITH_SELFCONTAINED option looks like a weird design to me. Isn't a more natural design to allow the user to override LIBRARY DESTINATION, ARCHIVE DESTINATION and RUNTIME DESTINATION?

      install(TARGETS ${name}
        LIBRARY DESTINATION ${CASADI_LIBRARY_DESTINATION}
        ARCHIVE DESTINATION ${CASADI_ARCHIVE_DESTINATION}
        RUNTIME DESTINATION ${CASADI_RUNTIME_DESTINATION}
      )

Cf. #1988 #1989

@jaeandersson jaeandersson added this to the Version 3.2 milestone Apr 24, 2017
@jaeandersson jaeandersson self-assigned this Apr 24, 2017
@jaeandersson
Copy link
Member Author

@jaeandersson jaeandersson commented Apr 24, 2017

Ping @jgillis

jaeandersson added a commit that referenced this issue Apr 25, 2017
…IR, INSTALL_CMAKE_DIR cmake cache paths
@jgillis
Copy link
Member

@jgillis jgillis commented Apr 25, 2017

Legacy, from a time where the build system was going through rough waters, and i needed to deploy binaries.

jaeandersson added a commit that referenced this issue Apr 25, 2017
jaeandersson added a commit that referenced this issue Apr 25, 2017
jaeandersson added a commit that referenced this issue Apr 25, 2017
…prefices to a flat hierarchy and modifies rpath
jaeandersson added a commit that referenced this issue Apr 25, 2017
@jaeandersson
Copy link
Member Author

@jaeandersson jaeandersson commented May 21, 2017

It ended up not getting removed, but refactored.

@jaeandersson jaeandersson changed the title Remove WITH_SELFCONTAINED CMake option Refactor WITH_SELFCONTAINED CMake option May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants