Re: [CMake] correct DEPENDS behaviour ?

2006-01-13 Thread Brad King
Brad King wrote: Alexander Neundorf wrote: CMakeLists.txt: ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/generated.h COMMAND sh ARGS -c echo //generated.h DEPENDS blah.h #DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/blah.h ) [snip] if I put only DEPENDS blah.h in the custom command, this

Re: [CMake] Linking with -l and -L flags

2006-01-13 Thread William A. Hoffman
At 09:01 PM 1/13/2006, Brad King wrote: I just verified this works: c++ junk.o -ltcl -L. -Wl,-search_paths_first In that case is there any reason not to just always pass this flag on the Mac to make it consistent with all other platforms? How does it interact with frameworks? -Brad I was