On Tuesday 23 September 2008 22:29:38 Phil Smith wrote: > How does CMAKE decide on its own that A.c is dependent on B.c, and that > compiling A.c thus requires compiling B.c? I'm somewhat confused by what you mean. In basic terms CMake is about creating libraries or executables. A library/executable will depend on all their listed source files and any other targets specified by target_link_libraries() or add_dependencies()
> I've read the doc and Googled and looked at all the build.make and > depend.make files, and there's clearly some figurin' out going on, but I > don't understand it. A pointer or two would help here! 0x783bd319 0xb358ea34 (I'm not funny, excuse me) > So I'd like to tell "make clean" to delete .ASM and .LST files when it > deletes .o files. And ADDITIONAL_MAKE_CLEAN_FILES sounds like it's designed > to do that. But again, I can't figure out how to get it to do so. An > example would get me going, I'm sure. In the relevant source directory: set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES FOO.ASM BAR.LST) Hope this was helpful, if not, let me know and I'll try and explain better. -- Cheers, Mike Arthur http://mikearthur.co.uk/ _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
