Usually uname can report this, uname -m here on Linux.
The machine I am working on gives ia64.
PA-RISC machines give something strange:
http://curl.haxx.se/mail/curlpp-2008-11/att-0051/config.log
You are building HP-UX binaries on a Linux machine ?
This would be really cross compiling.
When using INSTALL its possible to first build with release and then debug
into the same target directory, but with PACKAGE this is not possible.
First I build with release I get only release libraries into an installer
(running under windows using NSIS)
second, if I build with debug, I get a new
Hello,
I'm using the COMPONENT option of the install command, and found myself not
knowing how to invoke the installation of only one component. Browsing the
list's archives, I found a 2006 post [1] that suggests doing the following:
make preinstall cmake -DCOMPONENT=foo -P cmake_install.cmake
Hi James,
your version for showing documentation is surely much nicer than mine.
One minor tip: Instead of your function cmake-find-word you could use
the function word-at-point coming from the package thingatpt, which does
exactly, what you need. This package is part of the current Emacs
Are you using Visual Studio on Windows?
Do you care if the solution is portable to other build systems?
What you want to do is possible, but probably not very easy.
The problem is that CMake assumes you will build/install/package everything
for either a Debug build or a Release build. (In make
Hi all,
foreach(cnt RANGE 3 1)
message(STATUS ${cnt})
endforeach(cnt RANGE 3 1)
produces the output
-- 3
-- 2
-- 1
Apparently, CMake decides to count backward whenever stop start.
I find this a little counter-intuitive; counting now starts at stop and
stops at start (confusing isn't it).
I'm building fortran executables that run on a web server. The
occasional bug gets hit and I want to have traceback information
available so that I can take a guess at what went wrong.
In order to get traceback information in, I have to have incremental
linking turned off which doesn't
Hi Andreas,
The thing is that I was hoping that I would not have to check explicitly
for any missing arguments to DEPENDS. But of course it is very wise to
check and report this error. It was more that I was baffled by the
behaviour of foreach(). I'll have to work around this feature ;-)
Best
On Wednesday 29 April 2009, Adolfo Rodríguez wrote:
Hello,
I'm using the COMPONENT option of the install command, and found myself not
knowing how to invoke the installation of only one component. Browsing the
list's archives, I found a 2006 post [1] that suggests doing the following:
make
Thanks for the suggestion. word-at-point works better than my hand rolled
code.
Here's the updated version. I also fixed a slight annoyance where if the
help command output was short enough it would print the outout to both the
help buffer and the minibuffer.
I'm also open to additional
I have a fairly complex library with a bunch of small pieces scattered
throughout subdirectories.
Each subdirectory has its own CMakeLists.txt. This is nice because the
list of .cpp files for each subdirectory is right there in the
subdirectory, and because these subdirectories behave just like
James Bigler wrote:
Thanks for the suggestion. word-at-point works better than my hand
rolled code.
Here's the updated version. I also fixed a slight annoyance where if
the help command output was short enough it would print the outout to
both the help buffer and the minibuffer.
I'm also
Hi,
I'm having trouble getting the automatic project file reloading in
Visual Studio 2005 to work when running under Vista (Home Premium
64-bit). Reproduce:
* Open VS2005 + a solution generated by CMake
* Modify one of the CMakeLists.txt files.
* Rebuild solution
* Observed behavior:
Sorry if this has been discussed before, but I couldn¹t find anything in
Google.
When building with XCode and Qt, I have to build twice when I change my .ui
files in QtDesigner. Apparently the build order is wrong? The first build
re-generates the ui_*.h files, but doesn¹t trigger the
On Wed, Apr 29, 2009 at 08:33:56PM +0100, Hicham Mouline wrote:
The thing is, this is the dir structure for e.g.
Lib1 (library with source files)
+ cmakelists.txt
+
Lib2 (header only, contains template functions, no source files)
+
+
If I add the headers to Lib1' cmakelists.txt, the
On Wed, Apr 29, 2009 at 09:23:15PM +0200, Jesper Eskilson wrote:
* Open VS2005 + a solution generated by CMake
* Modify one of the CMakeLists.txt files.
* Rebuild solution
* Observed behavior: ZERO_CHECK reruns CMake, but VS2005 does not detect
that the project files has changed until the
-Original Message-
From: Tyler Roscoe [mailto:ty...@cryptio.net]
Sent: 29 April 2009 19:50
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] header-only project for VS2005
On Wed, Apr 29, 2009 at 07:27:05PM +0100, Hicham Mouline wrote:
I use cmake to generate a VS2005
You might try the following:
add_executable ( Sumatra ${SumatrSources} ${SumatraUISHeaders} )
and see what happens.
Here is a snippet from one of my own projects:
# -- Run MOC and UIC on the necessary files
QT4_ADD_RESOURCES( Generated_RC_SRCS ${ModelEditor_RCS} )
# this will run uic on
Hi Mike,
Here is my actual add_executable call.
add_executable ( Sumatra ${GUI_TYPE} ${SumatraSource} ${SumatraUISHeaders}
${SumatraMOCSource} ${SumatraResources} )
I may try swizzling the order around,
Thanks,
-dan
On 4/29/09 3:17 PM, Michael Jackson mike.jack...@bluequartz.net wrote:
I was able to use this example to successfully build a standalone
application. Many thanks!
One thing: I had to set EXECUTABLE_OUTPUT_PATH in my CMakeLists.txt
file -- otherwise when it built the install scripts that variable was
empty and it wasn't finding my application at all.
And with CMake
I have a project that uses wxWidgets and in particular the stc module (in
the contrib folder). How do I specify the stc module for wxWidgets? I
tried the following the line in my CMakeLists.txt:
find_package(wxWidgets REQUIRED stc core base)
However, I get the following error:
Could NOT find
Daniel Blezek wrote:
Hi Mike,
Here is my actual add_executable call.
add_executable ( Sumatra ${GUI_TYPE} ${SumatraSource} ${SumatraUISHeaders}
${SumatraMOCSource} ${SumatraResources} )
I may try swizzling the order around,
Thanks,
-dan
Sounds like a bug. If you could create a very
Hi,
I am not clear with this CMakeLists.txt as to how to create it automatically
because i don't know the conventions related to it.
I have a project named test.pro having following files
treemap.cpp
treemap.h
main.cpp
Libraries i am using are qt4, qt3support. The treemap.cpp comes from KDE
23 matches
Mail list logo