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
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
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
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
# -- 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
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