Hello!

I have a little problems.

problem number one
How can I get list of object files in a variable?
that is I write in CMakeLists.txt SET(CMAKE_C_LINK_EXECUTABLE   "c:/linkit.bat 
<TARGET> <OBJECTS>")
when linkit.bat
echo "%1" > obj.txt
echo "%2" >> obj.txt
but I am not see list of object files.

if I write MESSAGE(STATUS <OBJECTS>), MESSAGE(STATUS "<OBJECTS>") or 
MESSAGE(STATUS ${OBJECTS})

ADD_CUSTOM_COMMAND(OUTPUT "o.txt"
                   COMMAND "c:/linkit.bat <TARGET> <OBJECTS>"
                   COMMENT "Create obj files")
                   
I am not see list of object files too. How can I get list of object
files?

and problem number two
Does CMake support svn but it is not run ADD_CUSTOM_COMMAND?



_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to