Re: [CMake] Specifying separate paths for .lib and .dll files on Windows

2010-05-31 Thread Prashanth Udupa
_DIRECTORY ${PROJECT_SOURCE_DIR}/bin CACHE PATH "Directory where .exe and .dll files are dumped." FORCE) Thanks, Prashanth On Mon, May 31, 2010 at 4:44 PM, Prashanth Udupa wrote: > Hi, > > I have a library project that I am generating the build system for > using CMake. I

[CMake] Specifying separate paths for .lib and .dll files on Windows

2010-05-31 Thread Prashanth Udupa
Hi, I have a library project that I am generating the build system for using CMake. I would like to have the .lib file generated in one directory and the .dll file in another directory. Right now I am using a construct as follows SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin CACHE PAT

Re: [CMake] Post Build Custom Copy Command

2007-08-09 Thread Prashanth Udupa
Hi, COMMAND ${CMAKE_COMMAND} -E copy Thanks. This worked. Best Regards, Prashanth ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Post Build Custom Copy Command

2007-08-09 Thread Prashanth Udupa
Hi All, I am using a custom post build command. ADD_CUSTOM_COMMAND( TARGET mylib POST_BUILD COMMAND copy ARGS ${MYLIBRARY_SOURCE_DIR}/lib/release/mylib.dll ${MYLIBRARY_SOURCE_DIR}/bin/release COMMAND copy ARGS ${MYLIBRARY_SOURCE_DIR}/lib/release/mylib.lib ${MYLIBRARY_SOURCE_DIR}/l

[CMake] How to link with MFC libraries?

2007-07-30 Thread Prashanth Udupa
Hi, We have a project where we are generating about 12-15 targets. Of these targets some depend on VTK, some on other external libraries. We have managed to author CMakeLists.txt for VTK and the external libraries, except for MFC and .Net targets. Any clues how we can author CMakeLists.txt to link

Re: [CMake] ADD_SUBDIRECTORY problem

2006-02-17 Thread Prashanth Udupa
The example programs are mentioned in the .dsw file.And the .dsp files have been created for the exampleprograms. But the example programs dont shown up in theIDE. :( I have attached a copy of the DSW file with this mail. I use Visual Studio 6.0 and CMake 2.2.3On 2/17/06, William A. Hoffman <[EMAIL

[CMake] ADD_SUBDIRECTORY problem

2006-02-17 Thread Prashanth Udupa
Hello All,I have a project in directory XYZ. The directory has thefollowing structureXYZ- include- sources- examples  - example_program1  - example_program2  - example_program3 - tools  - tool1When I use the following CMakeLists.txt file set on Linux;run cmake and make I notice that it works as exp