Conversation
including the macros related to the depredated API
to prevent ever erroneously passing the compile-time configuration as macros rather than cmake variables/options
|
TODO:
|
|
@otbrown What do you think about this PR, to replace PR #656? Here, I remove all macros from the compiler flags being passed to the QuEST source. They are replaced with cmake options passed to It's worth checking whether I broke installation. I removed the cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)
make installI note it writes the headers to where I also note instead performing cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)
cmake --install .produces error but I don't really understand what I'm doing since I never install Let me know what you think! |
|
Btw, I note cmake .. -DVERBOSE_LIB_NAME=ON
make installoutputs... which was also the case before this PR (on Is |
after manually verifying various compilation configs succeed on MacOS and linux
since it cannot actually be disabled without breaking QuEST source compilation
|
Hi Tyson, LGTM! I can confirm you didn't break installation -- your test didn't work as setting the install prefix to the build directory is... unexpected. My install directory looks like: which is as expected. The slightly upsetting |
|
Oh! And the config file naming -- that file shouldn't be renamed as then everything else would need to We probably can get it to work such that config headers are distinguished by name, but I would like an actual use-case to be presented before putting the work in as I think the solution would be ugly 😅 |
|
Wew brilliant, thanks very much! 🎉
Aha! Truly I am always bitten by my own previous stubbornness ehehe |
Supersedes #656