Michael Casadevall wrote:
My intent here is not to start a flamewar between autotools and
cmake, In some cases, autotools is the proper tool vs cmake due to
cross-compiling (which will hopefully fixed) and the fact that you
need the cmake executable to build any CMake package. autotools
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and
RelWithDebInfo build types. I want to keep all 4 of 'em. I want to
select MinSizeRel as the default build, so that if an end user just
fires up BUILD_ALL and does nothing else, he'll get a MinSizeRel build.
The default
Hello!
I'm newbie in cmake. I'm trying use his for my small project which
consist from 3 files which produce one executable file after
compilation.
I have cmake version 2.4-patch 3 on my Linux box.
I was read two articles at the site
Slava Semushin wrote:
So I have questions for you: where my fault ? What I should fix in my
CMakeLists.txt? And why documents WritingCMakeLists.html and
I can't tell you what you have to fix without your CMakeLists.txt
--
Filipe Sousa
signature.asc
Description: OpenPGP digital
Slava Semushin wrote:
What I should fix in my CMakeLists.txt?
Um, you didn't send us this, so how could we tell you?
And why documents WritingCMakeLists.html and
Examples.html not mentioned about installation and related
variables/rules?
Because we're slack. We all have way too
Arjen Markus wrote:
Michael Casadevall wrote:
My intent here is not to start a flamewar between autotools and
cmake, In some cases, autotools is the proper tool vs cmake due to
cross-compiling (which will hopefully fixed) and the fact that you
need the cmake
--- Filipe Sousa 2006-09-07 09:17:00 +0100
+++ Slava Semushin 2006-09-07 15:31:28 +0700
FS I can't tell you what you have to fix without your CMakeLists.txt
Wow. I'm very sorry. I forgot attach CMakeLists.txt :-(
--- Brandon J. Van Every 2006-09-07 01:20:55 -0700
+++ Slava Semushin
Arjen Markus wrote:
Don't forget all those PCs with Windows installed but no Cygwin or
MingW: they simply can not use the configure scripts. Of course, one
can require these users to install Cygwin or MingW, but what is that
different from installing CMake?
The level of pain. Cygwin is
Slava Semushin wrote:
I think anybody should update
http://www.cmake.org/HTML/Examples.html and adds INSTALL directives to
example. Without this change some newbies, like me, may puzzle.
I was about to say, It's a wiki. You could do that. But then I saw
it's not a wiki, so
Slava Semushin wrote:
--- Filipe Sousa 2006-09-07 09:17:00 +0100
+++ Slava Semushin 2006-09-07 15:31:28 +0700
FS I can't tell you what you have to fix without your CMakeLists.txt
Wow. I'm very sorry. I forgot attach CMakeLists.txt :-(
--- Brandon J. Van Every 2006-09-07 01:20:55
Arjen Markus wrote:
Arjen Markus wrote:
Don't forget all those PCs with Windows installed but no Cygwin or
MingW: they simply can not use the configure scripts. Of course, one
can require these users to install Cygwin or MingW, but what is that
different
Only Unix people think that end users run ./configure scripts or
CMake. In the Windows world, if you're running a compiler, you're a
developer. You may be a developer who wants a painless build, but
you're still a developer. The answer for an end user is CPack, not
CMake. Even for most
Hi,
What are the equivalent of sysconfdir and localstatedir ?
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
would be
cmake -DCMAKE_INSTALL_PREFIX=/usr -D???=/etc --D???=/var
Thanks,
__
--- NOTICE
Von: Brandon J. Van Every [EMAIL PROTECTED]
Slava Semushin wrote:
I think anybody should update
http://www.cmake.org/HTML/Examples.html and adds INSTALL directives
to
example. Without this change some newbies, like me, may puzzle.
I was about to say, It's a wiki. You
Original-Nachricht
Datum: Thu, 7 Sep 2006 12:41:39 +0200
Von: frederic heem [EMAIL PROTECTED]
An: cmake cmake@cmake.org
Betreff: [CMake] sysconfdir and localstatedir
Hi,
What are the equivalent of sysconfdir and localstatedir ?
./configure --prefix=/usr --sysconfdir=/etc
Toni Timonen wrote:
When cross-compiling windows dlls with mingw compiler using linux, the
dlls are not installed to the correct location (and the import library
is not installed at all). It seems that some things about the platform
are fixed at runtime.
The patch attached fixes this issue
Stephan Tolksdorf wrote:
If a subdirectory is included with EXCLUDE_FROM_ALL, targets in the
subdirectory are listed in the generated Visual Studio solution, but
targets recursively included in subdirectories of the subdirectory are
not. Is this a bug or a feature? (I'm using CMake from CVS
[EMAIL PROTECTED] wrote:
ADD_EXECUTABLE(foo foo.cxx)
TARGET_LINK_LIBRARIES(foo bar.lib)
and I got a -lbar on the link line from CMake 2.4.3 with the MSYS
Makefiles and MinGW Makefiles generators.
This example works for me, too. Maybe there's some issue on setting the
LIbrary via
Ryan Phillips wrote:
I am having a problem when I include INCLUDE_DIRECTORIES(${SOMEVAR})
within my project. The generated CFLAGS (under linux) include my
CMAKE_SOURCE_DIR appended with my ${SOMEVAR}, ie:
SOMEVAR=/usr/include/openssl/
upon compilation:
On 2006-09-07 00:56-0700 Brandon J. Van Every wrote:
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and
RelWithDebInfo build types. I want to keep all 4 of 'em. I want to select
MinSizeRel as the default build, so that if an end user just fires up
BUILD_ALL and does nothing
Alan W. Irwin wrote:
Its a cached variable. So I think what you want is
SET (CMAKE_BUILD_TYPE MinSizeRel CACHE STRING Flags used by the compiler
No, Cmake (at least 2.4.2) is not generating any .suo file at all.
Thus neither CMAKE_BUILD_TYPE nor CMAKE_CONFIGURATION_TYPES will help
with
Alexander Neundorf wrote:
Von: "Brandon J. Van Every" [EMAIL PROTECTED]
Slava Semushin wrote:
I think anybody should update
http://www.cmake.org/HTML/Examples.html and adds INSTALL directives
to
example. Without this
Brad King wrote:
Brandon J. Van Every wrote:
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and
RelWithDebInfo build types. I want to keep all 4 of 'em. I want to
select MinSizeRel as the default build, so that if an end user just
fires up BUILD_ALL and does
Brandon J. Van Every wrote:
Brad King wrote:
This would be a nice feature but I don't know how to implement it. Try
generating a project and then manually editing the project files in such
a way that the IDE selects a different configuration by default. Don't
forget to remove the .suo and
On 2006-09-07 09:35-0700 Brandon J. Van Every wrote:
Alan W. Irwin wrote:
On 2006-09-07 00:56-0700 Brandon J. Van Every wrote:
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and
RelWithDebInfo build types. I want to keep all 4 of 'em. I want to
select MinSizeRel as the
Alan W. Irwin wrote:
On 2006-09-07 09:35-0700 Brandon J. Van Every wrote:
Alan W. Irwin wrote:
On 2006-09-07 00:56-0700 Brandon J. Van Every wrote:
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and
RelWithDebInfo build types. I want to keep all 4 of 'em. I want
to
Joerg Mayer wrote:
I'd like to follow development of cmake a bit more closely. In order to
do that, many other open source projects have mailing lists that follow
the cvs commit and the bug tracking system.
Is something like that available and just not mentioned on the mailing
lists page or,
I looks like this has something to do with the nature of the key/value.
For values listed as REG_SZ (within regedit.exe), CMake can retrieve the
content but for values stored as REG_EXPAND_SZ I systematically get
/registry. I don't know much about the Windows registry but I did a
quick survey of
Begin forwarded message:From: Michael Casadevall [EMAIL PROTECTED]Date: September 7, 2006 5:38:14 PM EDTTo: "William A. Hoffman" [EMAIL PROTECTED]Subject: Re: [CMake] Adding cross-compiler support to CMake ... I would disagree with that. Your using a cross-compiler, but CMake doesn't know its
Hi,
How can I display the libraries actually used during a given link
process? I have to use some VTK libraries (which link just fine with
CMake) using a manual makefile and I really need to see all the
libraries.
Thanks,
--
Gheorghe Postelnicu, PhD
MGH, Harvard Medical School
Gheorghe Postelnicu wrote:
Hi,
How can I display the libraries actually used during a given link
process? I have to use some VTK libraries (which link just fine with
CMake) using a manual makefile and I really need to see all the
libraries.
I believe you are looking for:
$ make
At 06:42 PM 9/7/2006, Michael Casadevall wrote:
1. Never seen that. autotools should only enter cross-compiling mode
if --host is set, and its different the current platform, or if both
build and host are set with different values.
If you look in a configure script..
rm -f a.out a.exe
Hello,
How do I set the value of a list using the -D option when running cmake?
For example, if I want FOO to be a list containing the letters a, b, and
c, I thought I would do something like
cmake ../src -DFOO:STRING=a b c
I tried this but then it just treats it as a string and my foreach
On 2006-09-07 21:44-0400 Darby J Van Uitert wrote:
Hello,
How do I set the value of a list using the -D option when running cmake? For
example, if I want FOO to be a list containing the letters a, b, and c, I
thought I would do something like
cmake ../src -DFOO:STRING=a b c
I tried this but
i succeed use cmake to build a qt4's example's imageviewer in windows,build with mingw32.the programe run with a console with cmake build ,if use qmake,the programe run without console,why?and how to forbid to show console with cmake?
this is my cmakelist.txtproject(imageviewer)
felix winkelmann wrote:
On 9/7/06, Brandon J. Van Every [EMAIL PROTECTED] wrote:
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and
RelWithDebInfo build types. I want to keep all 4 of 'em. I want to
select MinSizeRel as the default build, so that if an end user just
fires up
36 matches
Mail list logo