[CMake] Problems with TRY_RUN
j.trauntvein at comcast.net
j.trauntvein at comcast.net
Mon Oct 10 17:55:31 EDT 2005
Hello,
I am trying to specify in my cmake project file that a file should be compiled and run in order to generate a header from a text file that can be used in my source. Although I believe that I have constructed the command as specified in the web documentation, I cannot get cmake to successfully run. I get the following message:
CMake Error: The source directory "ARGUMENT" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
The following is the excerpt from my CMakeLists.txt file:
TRY_RUN(wmodem_result wmodem_compile
${BINDIR} wmodem_convert.cpp
ARGUMENT wmodem.ini ModemDbHelpers.DbInit.h)
Any help would be appreciated.
regards,
Jon Trauntvein
More information about the CMake
mailing list