[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [CMake] ExternalProject_Add ALWAYS
From:       James Turner <james.turner () kdab ! com>
Date:       2013-12-01 10:53:08
Message-ID: 6B0EABD8-E5B7-4EDC-8A9B-6DE819C542B1 () kdab ! com
[Download RAW message or body]

Hi,

I am trying to force the BUILD step of an ExternalProject_Add target to be =
run - always. I have found several wiki articles, and references in the arc=
hives of this list, to setting an ALWAYS option for the stage I want to for=
ce to run each time. The problem is I can=92t find any documentation on the=
 exact syntax to use - can someone please enlighten me? (This is for a proj=
ect where the files are on the local disk when the build is run, but may ch=
ange due to external sync mechanisms - right now the build system never not=
ices this)

I=92m guessing it must be something like:

ExternalProject_Add(Foo =

   PREFIX ${CMAKE_BINARY_DIR}
   DOWNLOAD_COMMAND ""    # no need to download
   BUILD_ALWAYS # <<< but is this correct?
   SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/path/to/foo
  =85...
)

Kind regards,
James Turner =

--

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 in=
formation 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/opensour=
ce/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic