Search the mailing list archives. This was discussed some weeks ago.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malhotra, Anupam
Sent: 15 January 2008 06:37
To: cmake@cmake.org
Subject: [CMake] Adding Custom Build Types
Hi
I have a
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*Malhotra, Anupam
*Sent:* 15 January 2008 06:37
*To:* cmake@cmake.org
*Subject:* [CMake] Adding Custom Build Types
Now In my project I don’t want these build types. I want custom build
types like MD, MT, MDd, MTd, ML etc (for
Dear all,
I have an open source library that does not come with cmake.
But I would like to use it as if it is a package so as to combine with my
own cmake project.
Is it easy or difficult?
What would people usually do to combine cmake with non-cmake libraries?
Regards
Bunny
Hi,
is it possible to add a custom suffix rule to a makefile like:
.po.mo:
$(MSGFMT) -o $@ $
Will the following do?
ADD_CUSTOM_TARGET (.po.mo
...
)
many thanks
Chris
http://www.acurana.de/
___
CMake mailing list
CMake@cmake.org
On 14.01.08 23:40:39, Andreas Schneider wrote:
Rodolfo Schulz de Lima wrote:
Hi, I'd like to comment on the Find*.cmake variable naming procedure
adopted by cmake. Right now I have to look at some Find*.cmake files to
see what are the output variables they create. Some packages create a
Hello,
I'm getting the following error when using CMakeSetup or QtDialog to
create Unix Makefiles for cygwin:
The executable file format is Unknown
...
CMake Error: Unable to link function recv
Below is the complete output of the configuration process. I'm using a
cvs build (from Today). Built
On Monday 14 January 2008 04:04, Bill Hoffman wrote:
Brandon Van Every wrote:
On Jan 13, 2008 4:23 PM, Bill Hoffman [EMAIL PROTECTED] wrote:
Martin Lütken wrote:
That's great then. Do you know who to address in order to get the patch
into the CVS code ?
Actually, what about something
Andreas Pakulat wrote:
On 14.01.08 23:40:39, Andreas Schneider wrote:
Rodolfo Schulz de Lima wrote:
Hi, I'd like to comment on the Find*.cmake variable naming procedure
adopted by cmake. Right now I have to look at some Find*.cmake files to
see what are the output variables they create. Some
On 15.01.08 11:40:46, Andreas Schneider wrote:
Andreas Pakulat wrote:
On 14.01.08 23:40:39, Andreas Schneider wrote:
Rodolfo Schulz de Lima wrote:
Hi, I'd like to comment on the Find*.cmake variable naming procedure
adopted by cmake. Right now I have to look at some Find*.cmake files to
On Monday 14 January 2008 18:42, Brandon Van Every wrote:
On Jan 14, 2008 12:16 PM, Bill Hoffman [EMAIL PROTECTED] wrote:
Brandon Van Every wrote:
Example: I have a legacy handwritten GMake client.mk that acquires the
build tree from CVS before the main Autoconf generated Makefile is
If you do cmake -f client.txt, then every add_subdirectory and subdirs
will now look for client.txt. That is not the way make -f works. If
you do make -f it just changes the initial makefile that is read into
make, after that it is up to the makefile writer to use include, or
recursive
We are some people who have had a some dicussion about allowing an alternate
name instead of CMakeLists.txt. So here's a link to a page about CBS
(Common Build System) I am trying to create in the effort to make C++ as easy
to use as C#, Java etc.
Hi,
I am trying desperately to get the dollar sign ($) escaped properly in the
following:
ADD_CUSTOM_TARGET (read_potfiles_in ALL
COMMAND grep -Ev '^\#|^\\[|^$' POTFILES.in POTFILES.in.cmake
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
I searched
Andreas Schneider escreveu:
For much better FindBoost.cmake module take a look at
I see that there's no way to specify which version you might need. Yes,
you could check BOOST_VERSION *after* FindBoost returns, but this don't
cope with the situation when you have more than one version installed
Here is my FindBoost.cmake that I use in my projects. I have tried to
include ideas from FindQt4.cmake and allow for setting the version of
boost to use, along with static/dynamic/mt/icc/ and all that.
http://titanium.imts.us/viewvc/Task_7/MXADataModel/Resources/
Christopher Lang wrote:
Hi,
is it possible to add a custom suffix rule to a makefile like:
.po.mo:
$(MSGFMT) -o $@ $
Will the following do?
ADD_CUSTOM_TARGET (.po.mo
...
)
This would be nice, but the feature doesn't exist as far as I know. You
could accomplish something
Mike Jackson wrote:
There is and there is not.
What you need to try is putting -arch ppc -arch i386 for both the
CXX_FLAGS and C_FLAGS using ccmake.
That works for me in 10.4.11 with gcc.
Actually, there is full support for universal binaries in CMake.
If you set this cmake cache
There is and there is not.
What you need to try is putting -arch ppc -arch i386 for both the
CXX_FLAGS and C_FLAGS using ccmake.
That works for me in 10.4.11 with gcc.
Mike
On Jan 15, 2008, at 1:31 AM, Nicholas Yue wrote:
Hi
I see a mention of support for OSX universal binary in the
Hello!
I want to procompile some oracle pl/sql files with the proC compiler.
The problem is that I want to compile different targets for different oracle
versions from the same sources.
The different proC compilers for the oracle versions resists in different
directories.
I tried to define a
Rodolfo Lima wrote:
Andreas Schneider escreveu:
For much better FindBoost.cmake module take a look at
I see that there's no way to specify which version you might need. Yes,
you could check BOOST_VERSION *after* FindBoost returns, but this don't
cope with the situation when you have more
See the VTK source file VTK/CMake/ExtractBoostVersion.cmake...
http://public.kitware.com/cgi-bin/viewcvs.cgi/CMake/ExtractBoostVersion.cmake?rev=1.1view=markup
...for example CMake script that extracts version number information out of
boost/version.hpp using regular expressions -- feel free to
On 1/15/08 9:59 AM, Mike Jackson said:
In addition to what other's said, I'll just add the following:
Funny.. last time I asked I was told to use i386 ppc which did not
work and so I started adding the flags myself. Using a ; instead of
a space does allow universal binaries to be produced.
On Jan 15, 2008, at 8:44 AM, Bill Hoffman wrote:
Mike Jackson wrote:
There is and there is not.
What you need to try is putting -arch ppc -arch i386 for both the
CXX_FLAGS and C_FLAGS using ccmake.
That works for me in 10.4.11 with gcc.
Actually, there is full support for universal
Martin Lutken wrote:
That might work too.
I also does not understand why You are soo resistant to a minor feature which
couldn't really hurt anyone?
I just want to make sure it is a feature that we want. I will be one of
the ones supporting it for as long as CMake is around. As it is
We only need the error files when running the makefile on the shell as most
IDE's have a build-in handling of the errors.
When working on the shell, or with large (or distributed build systems) it
is most helpful to have an error file for each compilation or link process.
We actually are
On Tuesday 15 January 2008 16:40, you wrote:
Martin Lutken wrote:
That might work too.
I also does not understand why You are soo resistant to a minor feature
which couldn't really hurt anyone?
I just want to make sure it is a feature that we want. I will be one of
the ones supporting
Dieter Oberkofler wrote:
We only need the error files when running the makefile on the shell as most
IDE's have a build-in handling of the errors.
When working on the shell, or with large (or distributed build systems) it
is most helpful to have an error file for each compilation or link
Martin Lutken wrote:
Hmm well I see It can wait anyway.
I allready do the include-trick from the general Makefile, but in the
transitional phase for a large project it would be much easier to be able do
it that way.
Maybe it's because I never really used CMake GUI frontends Only
On Jan 15, 2008 7:03 AM, Martin Lutken [EMAIL PROTECTED] wrote:
Simple example from my actual codebase. CBS (Common Build System) makefiles
for zlib and libpng, which depends on zlib (install stuff not included):
--- z.cbs ---
TARGET_DEFAULT_VERSION ( 1 2 3 )
ADD_SOURCE_FILE ( adler32.c
On 15.01.08 11:37:12, Brandon Van Every wrote:
I'm unclear. What is the strategic purpose of CBS?
If I understood correctly, the purpose is to (at some point) build
foobar, including all deps completely with cbs. To me this totally
sounds like Gentoo with cmake files as emerge replacement.
On Jan 15, 2008 11:46 AM, Andreas Pakulat [EMAIL PROTECTED] wrote:
On 15.01.08 11:37:12, Brandon Van Every wrote:
I'm unclear. What is the strategic purpose of CBS?
If I understood correctly, the purpose is to (at some point) build
foobar, including all deps completely with cbs.
But is it
Yesterday I filed http://www.cmake.org/Bug/view.php?id=6243
FindPerlLibs should search harder for Perl. I gave it priority
minor, meaning it wasn't burning a hole in anyone's pocket. It was
summarily closed without comment, resolution no change required.
But I feel that's missing the point.
Bill Hoffman wrote:
Something like this:
find_package(bar REQUIRED)
add_executable(foo foo.cxx)
target_link_libraries(foo bar)
This would be GREAT! What is the status on this one? Is it ready waiting
for testing or you are still developing it? I could use this right now.
Thank you very
On Jan 15, 2008 4:34 AM, Tang Jacky [EMAIL PROTECTED] wrote:
Dear all,
I have an open source library that does not come with cmake.
But I would like to use it as if it is a package so as to combine with my
own cmake project.
Is it easy or difficult?
What would people usually do to combine
Rodolfo Schulz de Lima wrote:
Bill Hoffman wrote:
Something like this:
find_package(bar REQUIRED)
add_executable(foo foo.cxx)
target_link_libraries(foo bar)
This would be GREAT! What is the status on this one? Is it ready waiting
for testing or you are still developing it? I could use
On Jan 15, 2008 7:59 AM, Christopher Lang [EMAIL PROTECTED] wrote:
Hi,
I am trying desperately to get the dollar sign ($) escaped properly in the
following:
ADD_CUSTOM_TARGET (read_potfiles_in ALL
COMMAND grep -Ev '^\#|^\\[|^$' POTFILES.in POTFILES.in.cmake
On 15.01.08 12:05:36, Brandon Van Every wrote:
On Jan 15, 2008 11:46 AM, Andreas Pakulat [EMAIL PROTECTED] wrote:
On 15.01.08 11:37:12, Brandon Van Every wrote:
I'm unclear. What is the strategic purpose of CBS?
If I understood correctly, the purpose is to (at some point) build
On 15.01.08 08:43:01, Mike Jackson wrote:
Here is my FindBoost.cmake that I use in my projects. I have tried to
include ideas from FindQt4.cmake and allow for setting the version of boost
to use, along with static/dynamic/mt/icc/ and all that.
# --- MXAFindBoost.cmake BEGIN --
# - Try to find Boost
# Once done this will define
#
# BOOST_FOUND - System has Boost
# BOOST_INCLUDE_DIRS - Boost include directory
# BOOST_LIBRARIES - Link these to use Boost
# BOOST_LIBRARY_DIRS - The path to where the Boost
On Jan 15, 2008 2:54 PM, Andreas Pakulat [EMAIL PROTECTED] wrote:
What I meant is, it looks like cbs wants to use CMake to replace the
normal package manager in a source-based distro.
I still don't quite get it, perhaps because I have no practical
experience preparing packages for
On 15.01.08 15:08:06, Mike Jackson wrote:
I know I'm a PITA, but a please a real attachment. Your mail client
inserted linebreaks in a lot of files and I don't see myself fixing that
manually - the file is really too large ;)
Andreas
--
You own a dog, but you can only feed a cat.
Hi, Eric
I use vista. When I launch Eclipse from terminal. The following are output when
using external tool run CMake.
-- Check for working C compiler: cl
-- Check for working C compiler: cl -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: cl
Brandon,
a small breeze of fresh air in escape hell..., I figured it out. In fact it
had not so much to do with cmake escape but with *make* $$ type of escape.
Actually $$ did the trick...
cheers
Chris
Am Dienstag 15 Januar 2008 20:21:39 schrieb Brandon Van Every:
On Jan 15, 2008 7:59 AM,
what is in the D:/eclipse/workspace/sdf4/build/CMakeFiles/
CMakeError.log file?
can you post it here?
Mike
On Jan 15, 2008, at 5:14 PM, Yang, Y. wrote:
Hi, Eric
I use vista. When I launch Eclipse from terminal. The following are
output when using external tool run CMake.
-- Check for
Can you send us the CMakeCache.txt file you get after that run?
And what's your version of CMake?
Clint
On Tuesday 15 January 2008 3:14:11 pm Yang, Y. wrote:
Hi, Eric
I use vista. When I launch Eclipse from terminal. The following are output
when using external tool run CMake.
-- Check
I use CMake 2.4.7. The attachment is CMakeCache.txt
CMakeError.log:
Determining if the Q_WS_X11 exist failed with the following output:
File D:/eclipse/workspace/sdf4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include QtCore/qglobal.h
void cmakeRequireSymbol(int
From what I see, things look fine.
Does C:\Qt\4.3.3\lib\QtCore4.lib or C:\Qt\4.3.3\lib\QtCored4.lib even exist?
Or are you trying to do something like using a gcc build of Qt that has
libQtCore4.a with a Microsoft compiler?
Clint
On Tuesday 15 January 2008 3:35:06 pm Yang, Y. wrote:
I use
You're right. When I set arguments section with -G MinGW Makefiles ../
it generate makefile.
Thanks for your help.
Best regards
Yang
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 2008-1-15 (星期二) 23:51
To: Yang, Y.
Cc: cmake@cmake.org
Subject: Re: [CMake]
Rodolfo Schulz de Lima wrote:
Sorry people, I was wrong. Actually when you get the target's LOCATION
property, the name returned doesn't have any postfix attached. To get
the name with a debug postfix, one should get the DEBUG_LOCATION
property, for instance.
Regards,
rod
On Tuesday 15 January 2008, Miguel A. Figueroa-Villanueva wrote:
Hello,
I'm getting the following error when using CMakeSetup or QtDialog to
create Unix Makefiles for cygwin:
The executable file format is Unknown
...
CMake Error: Unable to link function recv
Below is the complete output
On Tuesday 15 January 2008, Brandon Van Every wrote:
...
In a regex, outside of [] you need \\$
In a regex, inside of [] you do not need anything. [$] is fine.
In a non-regex string, in front of a curly bracket you need \${
set(blah whatever but \${do_not_evaluate})
In a regex string, in
On Jan 15, 2008 7:04 PM, Alexander Neundorf [EMAIL PROTECTED] wrote:
On Tuesday 15 January 2008, Brandon Van Every wrote:
I am still too lazy to write this up on
http://www.cmake.org/Wiki/CMake:VariablesListsStrings
I think because I perceive this wiki page as a bit buried in the shuffle.
On Tuesday 15 January 2008, Martin Lutken wrote:
...
Well hope that gave you an impression of what it is. So the reason I need
an anternative name for the CMakeLists.txt file is that I wan't CBS
makefiles to be able to live side by side with a projects own CMake files.
I'm not sure this is a
On Jan 15, 2008 7:39 PM, Alexander Neundorf [EMAIL PROTECTED] wrote:
Adding a layer written in cmake on top of cmake doesn't sound good IMO. I
think my main problem with autotools was that they were a set of tools, you
had to learn and know each of them, and if one of them failed I was
On Tuesday 15 January 2008, Brad King wrote:
Rodolfo Schulz de Lima wrote:
Bill Hoffman wrote:
Something like this:
find_package(bar REQUIRED)
add_executable(foo foo.cxx)
target_link_libraries(foo bar)
This would be GREAT! What is the status on this one? Is it ready waiting
for
55 matches
Mail list logo