At 06:45 AM 10/4/2006, Eric Noulard wrote: >In my project I have a library > >ADD_LIBRARY(tsp_ascii_writer ${ASCII_WRITER_LIB_SRC}) > >and an executable with the same name > >ADD_EXECUTABLE(tsp_ascii_writer ${ASCII_WRITER_SRC})
The target names must be different. However you can use the target property OUTPUT_NAME to change the name of the output file. -Bill _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake