[CMake] EXECUTE_PROCESS too good at running programs
Brad King
brad.king at kitware.com
Sat Jul 22 08:17:57 EDT 2006
Brandon J. Van Every wrote:
> Ok, the CMake 2.4.2 documentation for the projectName version of
> TRY_COMPILE is only 3 short sentences. IIUYC, you are saying I'm going
> to have to write a CMakeLists.txt wrapper, and a subdirectory, for each
> and every tool like "makeinfo," if I want to prove that they work in the
> build.
You can create a macro to wrap this all up. The source tree for the
TRY_COMPILE can be created with FILE(WRITE) and FILE(MAKE_DIRECTORY).
-Brad
More information about the CMake
mailing list