[CMake] Writing platform check
Bill Hoffman
bill.hoffman at kitware.com
Wed Nov 5 07:59:33 EST 2008
Eric Noulard wrote:
> 2008/11/5 Rajika Kumarasiri <rajika at wso2.com>:
>> hello every body,
>> I was trying to generate and use a config.h file from a very simple
>> config.h.in file for cross compilation of my software, cmake gave me the
>> following error. I was reading the guide here[1].
>> CMake Error: Could not open file for write in copy
>> operation /util/include/config.h.tmp
> CONFIGURE_FILE(${TEST_SOURCE_DIR}/util/include/config-util.h.in
> > ${TEST_SOURCE_DIR}/util/include/config.h)
My guess would be TEST_SOURCE_DIR is empty.
-Bill
More information about the CMake
mailing list