Skip to content

CMake INSTALL project? #957

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

Closed
PrimarchOfTheSpaceWolves opened this issue Sep 6, 2016 · 4 comments
Closed

CMake INSTALL project? #957

PrimarchOfTheSpaceWolves opened this issue Sep 6, 2016 · 4 comments

Comments

@PrimarchOfTheSpaceWolves

Hi all,

I'm using Windows 7 with Visual Studio 2013, and I use CMake a fair amount. It would be nice if the current CMakeLists.txt file also generated the appropriate INSTALL project.

I've been trying to roll my own with some success; any suggestions would be welcome:

FILE(GLOB INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
install (TARGETS ${OpenBLAS_LIBNAME} DESTINATION lib)
install (FILES ${INCLUDE_FILES} DESTINATION include)

@PrimarchOfTheSpaceWolves
Copy link
Author

Followup: this is my patch file so far
CMakeLists-patch.txt

@BarrySmith
Copy link

Could you turn this into a pull request? It's crazy the cmake stuff doesn't all ready have an install, but I am too incompetent at cmake (and spelling) to change the cmake files myself.

@martin-frbg
Copy link
Collaborator

While updating the pull request I built from your patch, I noticed that your proposal appears to be adding the _d postfix twice - once by redefining the LIBNAME, and a second time by attaching DEBUG_POSTFIX ?

@martin-frbg
Copy link
Collaborator

Now merged from PR #988 - please double-check if you can spare the time.

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

3 participants