It looks as though installation of items is different than I thought it
should be.

CMakeLists.txt

  install(CODE "message(\"start\")")

  add_subdirectory(sub1)

  install(CODE "message( \"end\")")

sub1\CMakeLists.txt:

  install(CODE "message("\--sub1\")")

In this example the following output is generated during install:

start
end
--sub1

I would have expected:

start
--sub1
end

I'm surprised that it is running all the install commands for the top level
cmake before doing the commands in the sub directory.  I would have expected
the install commands to be run in script order.

James
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to