[CMake] SET_TARGET_POPERTIES LOCATION for ADD_LIBRARAY

2007-11-14 Thread Amit C. Kr. Saluja
Hi I am doing ADD_LIBRARY( yourprintf SHARED ${SOURCS}) SET_TARGET_PROPERTIES ( yourprintf PROPERTIES LOCATION /home/aks/yourprintf) Its not producing the library @ the LOCATIOn specified. What's wrong with it? I am also trying COMPILE_FLAGS property but that too has no effect in compile

Re: [CMake] SET_TARGET_POPERTIES LOCATION for ADD_LIBRARAY

2007-11-14 Thread Amit C. Kr. Saluja
when -L is specified for target. regards Amit --- Alexander Neundorf [EMAIL PROTECTED] wrote: On Thursday 15 November 2007, Amit C. Kr. Saluja wrote: Hi I am doing ADD_LIBRARY( yourprintf SHARED ${SOURCS}) SET_TARGET_PROPERTIES ( yourprintf PROPERTIES LOCATION /home/aks/yourprintf

[CMake] Invoking tarhets in Handwritten Makefile through CMake

2007-11-14 Thread Amit C. Kr. Saluja
Hi, How can I add to the all: target to invoke make in handwritten Makefiles through CMake A- |- cmake/Makefile (CMakeLists.txt) |- src |- inc B-|-Makefile (handwriten Makefile, target all: clean: |- src |- inc Is it possible? regards Amit

Re: [CMake] How to redirect output (.o file generattion) in specific directory

2007-11-13 Thread Amit C. Kr. Saluja
!! regards Amit --- Alexander Neundorf [EMAIL PROTECTED] wrote: On Monday 12 November 2007, Amit C. Kr. Saluja wrote: Eric, Thanks for this info! EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH These are global CMake variables. If we change it then the EXECUTABLE LIBRARY path of all

[CMake] How to redirect output (.o file generattion) in specific directory

2007-11-12 Thread Amit C. Kr. Saluja
Hi All, If anybody could guide me about, How to redirect .o files in user defined directory? I am setting CMAKE_CURRENT_SOURCE_DIR to ../obj but it is generating targets in ~/src/*.o Can anybody enlighten? Thanks regards amit __ Do You Yahoo!?

Re: [CMake] How to redirect output (.o file generattion) in specific directory

2007-11-12 Thread Amit C. Kr. Saluja
do something? regards Amit --- Eric Noulard [EMAIL PROTECTED] wrote: 2007/11/12, Amit C. Kr. Saluja [EMAIL PROTECTED]: Hi All, If anybody could guide me about, How to redirect .o files in user defined directory? I am setting CMAKE_CURRENT_SOURCE_DIR to ../obj but it is generating