This is unfortunately not possible. In a nutshell, my setup is as follows:
## top_level/CMakeLists.txt:
set_property(GLOBAL PROPERTY my_project_list
${variable_defined_on_command_line})
get_property(projects GLOBAL PROPERTY my_project_list)
while(projects)
set_property(GLOBAL PROPERTY my_projec
If it really "depends on stuff which happens" then the
add_subdirectory call should be "after that stuff"
On Thu, Apr 26, 2012 at 2:54 AM, Petr Kmoch wrote:
> Hi all,
>
> I have a rather complex setup with multiple subdirectories under one
> top-level CMakeLists.txt file. I need to install some