Hello everyone.
I have a simple test CMakeLists.txt like this:
message(Old value ${MY_VAR})
set(MY_VAR default value CACHE STRING test var)
message(New value ${MY_VAR})
On Debian Linux, I get expected behaviour:
karc...@hermes2:~/test$ cmake .
[...]
Old value
New value default value
[...]
Hello,
This problem happens when I need to use ${CMAKE_CURRENT_SOURCE_DIR}
inside a script, but for an out-of-source build. When echoed from the
CMakeLists.txt file, it outputs the right value (i.e., the source
folder) However, when echoed from inside the script, it outputs the
build folder
Hello,
I'm using the different version of the OpenCV library and i would like to
make it easy to switch from one to another by changing its path in
cmake-gui.
Howerver, it seems that keeping the value in the cache make this impossible!
here a sample of my code:
IF(NOT OpenCV_FOUND)
SET
On 14.06.09 20:50:22, Xiangyun Kong wrote:
Thanks. When I link the mylib with other objects to form a
dynamic library, I got a lot of undefined symbols.
Thats normal, if you link to static libraries only the symbols that are
used in your target are fetched from the static libs. So lets say
Hello cmake users
I want to put the current subversion revision into a script every time I run
make install.
Currently, I use configure_file() to replace a variable in the script, but
this only updates the script when either the script or something in
CMakeLists.txt changes.
Is there a way to
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello cmake users
I want to put the current subversion revision into a script every time I run
make install.
Currently, I use configure_file() to replace a variable in the script, but
this only updates the script when either the script or
Hello Eric
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello cmake users
I want to put the current subversion revision into a script every time I
run
make install.
Currently, I use configure_file() to replace a variable in the script,
but
this only updates the script when
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello Eric
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello cmake users
I want to put the current subversion revision into a script every time I
run
make install.
Currently, I use configure_file() to replace a variable in the
Eric Noulard schrieb:
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello Eric
2009/6/15 Jean-Pierre Bergamin ja...@ractive.ch:
Hello cmake users
I want to put the current subversion revision into a script every time I run make
install.
Currently, I use configure_file()
Brad King wrote:
We'll have to teach CMake to work around the problem. Please
submit a bug report here:
Nevermind, I've fixed it already. I'll schedule the fix for
release 2.6.5.
If you really did mean
to dllexport something, then you need to let VS put the import
library somewhere. One
On Sun, Jun 14, 2009 at 8:31 AM, Macumber, Daniel
daniel.macum...@nrel.govwrote:
Hello, I am looking for info on how to hide (make not visible) targets in
Visual Studio. I am working with generated code and am compiling several
hundred individual SWIG dll's (I have a CMake macro that makes
If I link my program with my own jpeg-6b and wxwidgets lib(use
FindwxWidgets.cmake) under win32, the conflict of jpeg lib happens.
It is because the line SET(wxWidgets_COMMON_LIBRARIES png tiff jpeg
zlib regex expat) in FindwxWidgets.cmake
I want to start a wxwidgets console program in a
12 matches
Mail list logo