[CMake] TRY_RUN generates commands ...

Radek Kotesovec benet at benetland.com
Thu Mar 24 08:47:52 EST 2005


Hello,
is possible to view what commands CMake command 'TRY_RUN' generates?

Something like:

CMakeLists.txt :
TRY_RUN(run_res compile_res ${BINDIR} hello_world.cpp)

bash:
cmake --verbose .<enter>
...
building TRY_RUN(run_res compile_res ${BINDIR} hello_world.cpp):
c++ -o hello_world.o -c hello_world.cpp
c++ hello_world.o -o hello_world
./hello_world
...

???

Thanks,
with regards,
benet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benet.vcf
Type: text/x-vcard
Size: 260 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050324/f7e703fd/benet.vcf


More information about the CMake mailing list