[CMake] call a configure command

Brandon Van Every bvanevery at gmail.com
Sat Dec 22 14:01:59 EST 2007


On Dec 22, 2007 1:48 PM, Steven Van Ingelgem <steven at vaningelgem.be> wrote:
> Hi,
>
>
> How can I call a configure command at compilation time? (so not at the
> "cmake ." call?)

Write a CMake script containing the configure command.  Invoke it at
build time using ADD_CUSTOM_COMMAND COMMAND ${CMAKE_COMMAND} -P
myscript .  Of course, this isn't going to configure anything.  :-)
Are you just trying to perform text substitutions or something?

Cheers,
Brandon Van Every


More information about the CMake mailing list