[CMake] skip install of subdirectory

Tiago Macarios tiagomacarios at gmail.com
Wed Jul 20 14:02:08 EDT 2016


Hi,

I have a project which uses git submodules to manage it's dependencies.
Right now we want to add a installer to it, problem we have is that some of
the dependencies have their own "install" directives. Is there a way to
ignore a project install command?

Long version case it is unclear:

main project
   submodule - has a install directive
   myCode - actual code, links statically to submodule above

I would like to only issue the install of myCode. is there a way to tell
cmake or cpack to ignore "submodule" install directives?

Tiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160720/f3c139f4/attachment.html>


More information about the CMake mailing list