Hi,

I'd like to call genassym from cmake.

>From FreeBSD man page:
   sh genassym.sh [-c] C compiler invocation

I do not really get how to perform such a task from CMake, as the "C
compiler invokation" string is similar to what is defined with the
<CMAKE_C_COMPILER> <DEFINES> <FLAGS> (as retrieved from the
CMAKE_C_COMPILE_OBJECT var) but I cannot figure a way to retrieve
<DEFINES> and <FLAGS> contents here. I tried with (too) many
combinations of GET_PROPERTY, with no luck.

What would be the best way to retrieve all the definitions and flags
used for the current target, but invoke the compiler though
genassym.sh?

Thanks,
Manu
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to