Re: [CMake] Trouble setting LIBRARY_OUTPUT_DIRECTORY

2009-06-04 Thread Lober, Randy
Mike - thanks for the idea - I have been blowing away my build dir to be safe all this time, i.e. rm -rf * ; cmake ../distro/zlib-1.2.3 ; make install Clint - your suggestion solved this problem. The following commands work iff they appeared prior to the add_library/add_executable statements s

Re: [CMake] Trouble setting LIBRARY_OUTPUT_DIRECTORY

2009-06-04 Thread Clinton Stimpson
How about setting the output dir variables before specifying the libraries and executables you want. Clint Lober, Randy wrote: Thanks for the response and suggestion Mike. I had tried directly setting the value CMAKE_LIBRARY_OUTPUT_DIRECTORY once before to no avail but following your idea

Re: [CMake] Trouble setting LIBRARY_OUTPUT_DIRECTORY

2009-06-04 Thread Michael Jackson
Did you try from a clean build directory? Blow away EVERYTHING in the build directory and start over. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software E

Re: [CMake] Trouble setting LIBRARY_OUTPUT_DIRECTORY

2009-06-04 Thread Lober, Randy
Thanks for the response and suggestion Mike. I had tried directly setting the value CMAKE_LIBRARY_OUTPUT_DIRECTORY once before to no avail but following your idea I tried all three again as you list below. Unfortunately, this still does not succeed in defining a non-default creation location fo

Re: [CMake] Trouble setting LIBRARY_OUTPUT_DIRECTORY

2009-06-04 Thread Michael Jackson
# -- Setup output Directories - SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin ) # - Setup the Executable output Directory - SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin ) # - Setup the Executable out

[CMake] Trouble setting LIBRARY_OUTPUT_DIRECTORY

2009-06-04 Thread Lober, Randy
Hello, I am a new user of cmake and I am running version 2.6-patch 4 on Linux. I am setting up a simple project to learn cmake and most everything has worked just as expected except for my attempts to define where an output library target is to be created. Here is part of the CMakeLists.txt pro