Skip to content

Fix klusolve install - #1

Open
beroset wants to merge 2 commits into
epri-dev:mainfrom
beroset:fix-klusolve-install
Open

beroset wants to merge 2 commits into
epri-dev:mainfrom
beroset:fix-klusolve-install

Conversation

@beroset

@beroset beroset commented Jul 20, 2024

Copy link
Copy Markdown
Member

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