Is there a way to be able to select if the build will be debug or
optimized at make time instead of during cmake time?
So, I can SET(CMAKE_BUILD_TYPE Debug) or SET(CMAKE_BUILD_TYPE Release)
for debug or optimized code respectively, then when I run make, the
corresponding compiler flags are
I've added some logging around each of our libraries that we build, but
I'm getting an unexpected result. I'm using a custom command with the
cmake -E echo to print a log out before and after a library is built.
However, the results are not consistent. When we have custom targets,
things
I want to be able to create my libraries in a different directory
instead of the current_bin_dir
For example:
ADD_LIBRARY(serialize SHARED ${SERIALIZE_SRCS})
creates current_bin_dir/libserialize.so
But if I try:
ADD_LIBRARY(/all_my_lib_files/serialize SHARED ${SERIALIZE_SRCS})
instead of
William A. Hoffman wrote:
At 11:06 AM 8/30/2006, Richard Fuchs wrote:
I want to be able to create my libraries in a different directory instead of
the current_bin_dir
See :
http://www.cmake.org/Wiki/CMake_Useful_Variables
LIBRARY_OUTPUT_PATH
-Bill
Ah, so simple
William A. Hoffman wrote:
At 01:51 PM 8/30/2006, Richard Fuchs wrote:
William A. Hoffman wrote:
At 11:06 AM 8/30/2006, Richard Fuchs wrote:
I want to be able to create my libraries in a different directory instead of
the current_bin_dir
See :
http
Mike Jackson wrote:
On 8/30/06 1:51 PM, Richard Fuchs [EMAIL PROTECTED] wrote:
William A. Hoffman wrote:
At 11:06 AM 8/30/2006, Richard Fuchs wrote:
I want to be able to create my libraries in a different directory instead of
the current_bin_dir
See :
http
Could I just use EXECUTE_PROCESS to call make (with a hand created
Makefile) or even the java compiler itself to get around the problems
I'm having with cmake and java not liking each other very much?
Thanks
Richard
___
CMake mailing list
Brad King wrote:
Richard Fuchs wrote:
Could I just use EXECUTE_PROCESS to call make (with a hand created
Makefile) or even the java compiler itself to get around the problems
I'm having with cmake and java not liking each other very much?
You can use ADD_CUSTOM_COMMAND
Brad King wrote:
Richard Fuchs wrote:
After hunting through CMakeJavaInformation.cmake, it doesn't seem to
have a CMAKE_Java_LINK_EXECUTABLE target/property (or whatever the
correct name for it is). Does this mean that you can't call
ADD_EXECUTABLE with java files and I need to use
Spoke to soon, it seems to be a problem with where javac is invoked.
With the current makefiles that are created, the javac -d option has a
relative path from where the source files are located, but javac is
being invoked from the root project dir. I was able to modify the
build.make file
Brad King wrote:
Richard Fuchs wrote:
I'm getting this error
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_Java_LINK_EXECUTABLE
where/how does this variable get set?
What is your CMakeLists.txt file code
To answer my own question, yes don't call ADD_EXECUTABLE with java
files, use ADD_LIBRARY.
After hunting through CMakeJavaInformation.cmake, it doesn't seem to
have a CMAKE_Java_LINK_EXECUTABLE target/property (or whatever the
correct name for it is). Does this mean that you can't call
I'm getting this error
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_Java_LINK_EXECUTABLE
where/how does this variable get set?
Thanks
Richard
___
CMake mailing list
Im setting up the build environment for our project
and Ive been looking around to find some examples of how to create
CMakelists.txt files and the only examples Ive come across so far are
the trivial ones on the cmake page and the crazy convoluted ones (well, from my
novice perspective)
14 matches
Mail list logo