[CMake] Define a library target without using the add_library command ? <==> Working with repositories
Andreas Pakulat
apaku at gmx.de
Mon Jan 12 08:37:35 EST 2009
On 12.01.09 11:27:29, Alexandre Feblot wrote:
> Is there a way to define a library target, on which I could use
> target_link_libraries(), without creating/building this library, i.e.
> without defining it with add_library(), but with add_custom_target for
> instance ?
In CMake 2.6 you can export and import targets, which might be an option.
The CMake manual tells you more about this, just look for install and
EXPORT.
Andreas
--
You will be advanced socially, without any special effort on your part.
More information about the CMake
mailing list