[CMake] Re: Patch to apply! Changing the default
name"CMakeLists.txt"! Introduction to "Common Build System"
Brad King
brad.king at kitware.com
Tue Jan 15 13:58:55 EST 2008
Rodolfo Schulz de Lima wrote:
> Bill Hoffman wrote:
>
>> Something like this:
>>
>> find_package(bar REQUIRED)
>> add_executable(foo foo.cxx)
>> target_link_libraries(foo bar)
>
> This would be GREAT! What is the status on this one? Is it ready waiting
> for testing or you are still developing it? I could use this right now.
> Thank you very much for this feature...
It's still under development. I'm working on major improvements to
find_package right now. Next I need to do some link computation work to
support "imported" library targets which will make the above possible.
I'm hoping to get these two steps done for the 2.6 release.
Finally we need to introduce build properties that propagate to other
targets when a target is linked (such as include directories). This
will probably not be in 2.6.
-Brad
More information about the CMake
mailing list