[CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools
Stephen Kelly
steveire at gmail.com
Thu Jan 23 11:16:07 EST 2014
Andreas Schuh wrote:
>> Yes, that's what I was referring to. I see why you have it. I'm not
>> convinced it should be upstreamed.
>
> I guess most people can live with defining a CMake macro for it if they
> want to.
I thought it might make sense for unit tests, but something else generally
introduces a requirement for a macro when creating unit tests anyway:
https://gitorious.org/grantlee/grantlee/source/c1b0fd62007c46856a86c45b0098ed37ee24fa42:templates/tests/CMakeLists.txt#L80
I think in that use-case,
add_executable(${testname}.cpp)
gives no particular advantage.
As for everything else, thanks for your comments and feel free to propose
individual changes to cmake where it seems appropriate.
Thanks,
Steve.
More information about the CMake
mailing list