-
Notifications
You must be signed in to change notification settings - Fork 484
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
CMake install target not generating cmake config #394
Comments
Basically, it doesn't work if one uses find_package in config mode nor module mode. |
@DraconPern TBH, I have not managed to wrap my head around the CMake project.config magic. Last time I tried I gave up on unclear documentation and lack of complete sample for a project that is more complex than basic 'hello world'. CMake-experienced contributors strongly welcome :) |
i'll work on some modifications to get it building on appveyor on windows. I noticed that it's got switches for both shared and static build. I think they should be mutually exclusive options? boost does it that way, and most of the projects I have worked on also do the same. |
@DraconPern I prefer it should be exclusive and controlled by standard variable BUILD_SHARED_LIBS as pointed out here http://www.slideshare.net/DanielPfeifer1/cmake-48475415 slide 28 |
@snikulov I agree. It was first time I read through Daniel Pfeifer's presentation. It's great resource, I wish I knew it before I created CMake setup for SOCI :) |
This should be resolved by #1118 |
there's no way to include soci in another cmake project because the sociconfig.cmake file is missing from the installed directory. Attempt to use FindSoci.cmake doesn't work either because the lib is decorated e.g. libsoci_core_3_2.lib
The text was updated successfully, but these errors were encountered: