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

Fix klusolve install #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

beroset
Copy link
Member

@beroset beroset commented Jul 20, 2024

This installs the needed klusolve_all library, adds CPack to allow for the user to create a package (e.g. with cmake --build build -t package) and removes the explicit destination directory to install the main executable in favor of using GNUInstallDirs for the Linux version. The install destination is settable from the command line anyway or via CMake presets, by setting the value of CMAKE_BUILD_PREFIX. This results in a usable .sh installer under Linux and still allows Windows users to explicitly set the installation directory for both the executable and the library.

beroset added 2 commits July 20, 2024 07:51
This installs the klusolve library, needed by the main executable.  It
uses GNUInstallDirs for Linux and allows the user to specify a
CMAKE_INSTALL_PREFIX from the command line or via preset if desired.

Signed-off-by: Ed Beroset <beroset@ieee.org>
This adds CPack to allow building a package. It should be augmented to
include a proper license file.

Signed-off-by: Ed Beroset <beroset@ieee.org>
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.

1 participant