Is there something that I am missing that will prevent make from *always*
calling autogen and configure even though the target has been built and has
not been changed ?

Here is the offending project.

## Grub boot loader
set(PROJECT_NAME grub)
set(PROJECT_URL git://git.savannah.gnu.org/grub.git)
set(PROJECT_DEPENDS bison)
set(PROJECT_CONFIGURE_COMMAND ./autogen.sh && ./configure)


ExternalProject_Add(
   ${PROJECT_NAME}
   DEPENDS ${PROJECT_DEPENDS}
   GIT_REPOSITORY ${PROJECT_URL}
   CONFIGURE_COMMAND  ${PROJECT_CONFIGURE_COMMAND}
   BUILD_COMMAND make -j 2
   BUILD_IN_SOURCE 1 # What's up with that !
   CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
   INSTALL_COMMAND ""
)
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to