Hi,
I have several nested directories, and each directory contains a CMakeLists.txt
file.
And most start with PROJECT( ) Where xxx is some name for what I like to
contains some targets.
In VC it is possible to create in the top solution, so called solution folders.
Why does CMake not use
Hi,
I use ADD_DEFINITIONS( ${wxWidgets_DEFINITIONS} ) to add flags for compilation
like this:
set( wxWidgets_CXX_FLAGS ${wxWidgets_CXX_FLAGS}
-D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
-fexceptions -fno-pcc-struct-return
-fstrict-aliasing
-Wall#all warnings
Hi,
I have in my repository N projects/packages, that depend on each other.
E.g. project 1 found with find_package( wxDocview ), needs to build
first, before i can do project2.
I can not generate all at once all cmake binary project files, since the
project2, call find_package on project 1.
S
Hi,
The find_path documentation says:
If the file in a directory is found the result is stored in the variable
and the search will not be repeated unless the variable is cleared.
So how do i clear a variable?
The only thing i can work out is:
SET( VAR VAR-NOT-FOUND CACHE INTERNAL "" )
Is t
Hi,
I think this is a bug, only the last version of FIND_PATH actually works.
This is in Cmake 2.6 patch 0.
Thanks,
Klaas
PROJECT( myproject )
FIND_PATH( DIRTOFIND ft2build.h
c:/soft/freetype/GnuWin32
PATH_SUFFIXES_PATH include
NO_DEFAULT_PATH
)
MESSAGE( "results in" ${DIRTOFIND} )
FIND_
Hi,
I want to use FIND_PACKAGE( FREETYPE ) on windows. But it looks like it
does not work.
If i change in FindFreetype.cmake:
FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
$ENV{FREETYPE_DIR}
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
to this:
FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2b
Ken Martin wrote:
Which is why CMake has
include, macro, foreach etc. which are all staples of a programming
language.
Right, much better to spend time on something else, and use Lua for all
these things.
Add wxLua , and the graphical interface becomes easy too. CMakeSetup is
nice, but i ca
Hi,
My own library, depends on wxWidgets, wxLua, wxstedit. The problem is
that i need to link them all static or dynamic, not a mix of them.
Now Cmake choosen dynamic above static when available, as i understood.
But if for library there is no dynamic version available, this becomes a
problem.
Hi,
The myvar is the outcome of something like this:
EXEC_PROGRAM( sh
ARGS "${wxWidgets_CONFIG_EXECUTABLE}" "${CONFIG_TEST}"
"--version"
OUTPUT_VARIABLE wxWidgets_PFVERSION
RETURN_VALUEwxWidgets_WANTED_AVAILABLE
)
IF ( NOT ${wxWidget
Hi Cmakers and users,
I improved FindwxWidgets some more.
I did upload it here: http://www.pontademangue.com/tmp/wxpm.tgz
It contains the modified FindwxWidgets, a packaged called "led" + a
sample which uses both.
One first goes to the packages/led and run Cmake and make there, to
build the
Hi,
Cmake 2.4 patch 5
I am getting different behaviour on Linux compared to windows. From the
docs i understand that the next should end up with the message "fine".
Is that true? I get the else answer??
SET( myvar 0 )
IF( myvar EQUAL 0 )
MESSAGE( "fine" )
ELSE( myvar EQUAL 0 )
MESSAGE
Hoffman wrote:
klaas.holwerda wrote:
Hi,
I always thought that Cmake did automatically rebuild libraries,
within the same Cmake build, linked to my application.
Like if i have several libraries created with ADD_LIBRARY() and
linked to my end executable with TARGET_LINK_LIBARIES or just
Hi,
I always thought that Cmake did automatically rebuild libraries, within
the same Cmake build, linked to my application.
Like if i have several libraries created with ADD_LIBRARY() and linked
to my end executable with TARGET_LINK_LIBARIES or just LINK_LIBRARIES.
But it seems i am missing som
Werner Smekal wrote:
Hi Klaas,
I don't actually understand your problem correctly. As I understand
you have MSYS, wxWidgets compiled with MSYS and want somehow call
wx-config which is a bash script from the cmake file? Is this correct?
I want to have the output of wx-config, which is a shell s
Hi,
I like to use Cmake for wxWidgets using MSYS + Mingw.
And for that i need the output of wx-config, which is a shell script.
But the return from the following is, that it is not a windows executable.
How can i tell Cmake that i am using MSYS as a shell, and therefore that
it can call shell s
Hi Cmakers and users,
I did an attempt to improve FindwxWidgets, and to add some macros to
easily add packages based on something in the making called wxWidgets
Packages.
http://wxwpm.sourceforge.net/index.php
The packages must be compiled in the same manner as the wxWidgets build
that was
Hi,
I want to get gcc to use precompiled headers.
From http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
i read that i need to compile a header file ( containing #includes to
all others for instance ).
I have this haeder file, how to compile it with Cmake?
I tried CHECK_CXX_SOURCE_CO
Hi I did read this, in release notes:
* Allow EXECUTE_PROCESS to strip trailing white space
Is this automatically or how does one do it?
Thanks,
Klaas
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
18 matches
Mail list logo