On Wed, Jun 19, 2019 at 11:30 AM Innokentiy Alaytsev wrote:
> Hello!
>
> Are the header files of the shared library (DLL) listed as INTERFACE_SOURCES
> for the library target? AFAIK, the only reason for header files to be
> processed by AUTOMOC is to be part of the project. The only way that I
Dear all
It's a very long time I last posted here, so please be kind :-)
I currently am having a very hard time to get AUTOMOC to work properly
on WIN32 for the case where I have some Qt classes in a DLL that I
link to an executable. In this case, the header gets included by both,
the
On Mon, Nov 30, 2015 at 7:01 PM, Dan Liew wrote:
> Hi Michael,
>
>> Not going into detail as I'm typing on the phone, but this really sounds
>> like a case where a "SuperBuild"
>> (http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html)
>> can help you to
On Mon, Nov 30, 2015 at 7:01 PM, Dan Liew wrote:
> Hi Michael,
>
>> Not going into detail as I'm typing on the phone, but this really sounds
>> like a case where a "SuperBuild"
>> (http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html)
>> can help you to
On Sun, Nov 29, 2015, 10:47 Dan Liew wrote:
Hi,
# TL;DR
I need a way of determining the header file dependencies of a source
file and inform CMake about them. CMake doesn't do this automatically
because I'm using custom commands for the compilation step so CMake
doesn't do
On Sun, Nov 29, 2015, 10:47 Dan Liew wrote:
Hi,
# TL;DR
I need a way of determining the header file dependencies of a source
file and inform CMake about them. CMake doesn't do this automatically
because I'm using custom commands for the compilation step so CMake
doesn't do
/v2.8.11/cmake.html#variable:CMAKE_USER_MAKE_RULES_OVERRIDE
http://cmake.org/cmake/help/v2.8.11/cmake.html#variable:CMAKE_USER_MAKE_RULES_OVERRIDE_LANG
If the documentation isn't sufficient, can you please suggest modifications.
On Fri, Sep 6, 2013 at 8:32 AM, Michael Wild them...@gmail.com
On Thu, Sep 5, 2013 at 8:22 AM, Michael Wild them...@gmail.com wrote:
[snip long rant]
Sorry, Alex. If had scrolled down a bit more in
CMakeLANGInformation.cmake, I would have seen the hook variables
CMAKE_USER_MAKE_RULES_OVERRIDE{,_LANG}. However, can I request that this
be documented
On 04.09.2013 20:42, Michael Wild wrote:
Dear all
no matter when I try to set CMAKE_{C,CXX}_OUTPUT_EXTENSION, on my Linux
box using the GNU Makefiles generator the resulting object files always
have a .o extension. I tried setting it in the cache, before and after
the project() call
On 29.05.2013 22:59, Matthew Woehlke wrote:
On 2013-05-28 21:23, Wojciech Knapik wrote:
On Fri, May 24, 2013 at 11:21:57AM -0400, Matthew Woehlke wrote:
[...]
I do understand the distinction between calling cmake and make and I
understood from the start when variables are evaluated and such,
On Thu, Apr 4, 2013 at 2:33 PM, Brad King brad.k...@kitware.com wrote:
On 04/04/2013 12:12 AM, Michael Wild wrote:
On 09/21/2012 04:36 PM, Stephen Kelly wrote:
This page has links for various versions of cmake:
http://www.cmake.org/cmake/help/documentation.html
Would it be possible
On 09/21/2012 04:36 PM, Stephen Kelly wrote:
Hi,
This page has links for various versions of cmake:
http://www.cmake.org/cmake/help/documentation.html
Would it be possible to get a 'latest' url too, such as
http://www.cmake.org/cmake/help/latest/cmake.html
It would make more
You should find this interesting:
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
In short:
* In project A create a AConfig.cmake file and export your targets
* In project B call find_package(A REQUIRED)
HTH
Michael
On Wed, Apr 3, 2013 at 7:44 AM, Saad
On Mon, Mar 11, 2013 at 7:56 AM, Chandan Choudhury iitd...@gmail.comwrote:
Dear cmake users,
I am very new to cmake. I really find it interesting. I installed gromacs
(4.6.1) with it. One simple query regarding its usage is, how do I add
program suffix to the executables created.
Chandan
-DCMAKE_EXECUTABLE_SUFFIX=_461 make -j 12 make install
But the suffix was not added to the executables. Might be I am missing
something or doing silly.
Kindly have a look.
Chandan
--
Chandan kumar Choudhury
NCL, Pune
INDIA
On Mon, Mar 11, 2013 at 12:34 PM, Michael Wild them...@gmail.com wrote
On Mon, Mar 11, 2013 at 9:20 AM, J Decker d3c...@gmail.com wrote:
On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury iitd...@gmail.comwrote:
Dear cmake users,
I am very new to cmake. I really find it interesting. I installed gromacs
(4.6.1) with it. One simple query regarding its usage
, J Decker d3c...@gmail.com wrote:
On Mon, Mar 11, 2013 at 1:24 AM, Michael Wild them...@gmail.com wrote:
On Mon, Mar 11, 2013 at 9:20 AM, J Decker d3c...@gmail.com wrote:
On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury
iitd...@gmail.comwrote:
Dear cmake users,
I am very new
Looking at the sources, it seems that you also need to set
GMX_DEFAULT_SUFFIX to FALSE in order for this to work.
Michael
On Mon, Mar 11, 2013 at 10:49 AM, Chandan Choudhury iitd...@gmail.comwrote:
Dear Micheal, Yngve Decker and Eric
Thank for remarks.
Micheal you are right that I want to
Hi
On Wed, Feb 6, 2013 at 11:59 AM, Pat Marion pat.mar...@kitware.com wrote:
Hi,
I'm emailing about bug
13093http://public.kitware.com/Bug/view.php?id=13093in the backlog. I
found comments
by Brad http://www.cmake.org/pipermail/cmake/2011-February/042556.htmlthat
suggest it's a
...@gmail.comwrote:
SDL installation? But there is no such thing. At least not on Windows.
... Right?
On Mon, Feb 4, 2013 at 1:10 PM, Michael Wild them...@gmail.com wrote:
In that case, clearly ExternalProject_Add. It is an external dependency,
and should be treated as such. If a users have SDL
Hi
On Mon, Feb 4, 2013 at 12:43 PM, Ansis Māliņš ansis.mal...@gmail.comwrote:
I'm just learning CMake and posting questions in this mailing list, but
the answers I get only confuse me. It seems I must take a step back and ask
more general questions.
In Linux there is a package for
PM, Michael Wild them...@gmail.com wrote:
Hi
On Mon, Feb 4, 2013 at 12:43 PM, Ansis Māliņš ansis.mal...@gmail.comwrote:
I'm just learning CMake and posting questions in this mailing list, but
the answers I get only confuse me. It seems I must take a step back and ask
more general questions
all you can do.
On Mon, Feb 4, 2013 at 2:05 PM, Ansis Māliņš ansis.mal...@gmail.com wrote:
Exactly! So, going back to my original question, how do I use CMake in
face of DLL Hell?
On Mon, Feb 4, 2013 at 2:58 PM, Michael Wild them...@gmail.com wrote:
That has nothing to do whether
If your project is open source and you want to have any chance of it ever
being included in any of the major Linux distros without making somebody
very angry at you, forget about add_subdirectory() for external
dependencies.
On Mon, Feb 4, 2013 at 3:29 PM, Theodore Papadopoulo
How did you compile SDL?
Most generally, you would do:
find_path(SDL2_INCLUDE_DIR SDL.h PATH_SUFFIXES SDL2)
# I have no idea against which libraries you have to link, so you might
need more than this
find_library(SDL2_LIBRARY SDL)
if(NOT SDL2_INCLUDE_DIR OR NOT SDL2_LIBRARY)
In a SuperBuild, all projects, even your own, are built by one large
super-build project that contains a series of ExternalProject_Add calls.
That's all there is to it.
On Mon, Feb 4, 2013 at 4:23 PM, Ansis Māliņš ansis.mal...@gmail.com wrote:
SuperBuild pattern
Tell me all about it!
--
AFAIK you will need to cross-compile for VxWorks, and for that you need a
toolchain file that describes the cross-compile toolchain (compiler,
linker, archiver, etc.) to CMake. Googling I found this:
https://github.com/alexbrinister/vxWorks-GCC-NashobaRobotics/blob/master/vxworks-toolchain.cmake.
On 10/17/2012 08:05 PM, Totte Karlsson wrote:
On 10/16/2012 12:49 AM, Michael Wild wrote:
This will always work:
add_executable(frobnicate frobnicate.c)
add_custom_command(OUTPUT ${resultFile}
COMMAND frobnicate ${resultFileFolder}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR
On 10/15/2012 08:20 PM, Totte Karlsson wrote:
set( resultFileFolder ${PROJECT_SOURCE_DIR}/wiki/reports) set(
resultFile ${resFileFolder}/tests_auto.xml)
First things first: You should *never* pollute your source tree, always
output to the build tree.
This is part of a google code project
On 10/16/2012 02:06 AM, digitalriptide wrote:
I need to create a Mach-o bundle format file. With g++, for example, I
can do the following
g++ -o helloWorld.bundle -bundle helloWorld.o
given some object file.
Is there some way to do this from cmake? I've looked at the
documentation for
Hi
On 10/15/2012 12:54 AM, Totte Karlsson wrote:
Hi, I have an executable target, that I want to be executed as part
of its own build.
The target takes one argument, which is output folder of a text
file. This text file is part of my source dir.
In my CMake file I have, at the end
On 09/12/2012 12:41 PM, Philipp Berger wrote:
About a few weeks ago I asked for help regarding Find*.cmake files for
Pantheios. With your help, I managed to build a Find file for Pantheios
and its associated library STLSoft. My question now is:
Where can I submit those files to be included in
On 09/06/2012 09:43 AM, Anton Sibilev wrote:
Hi all!
I'm making shared library with add_library(xxx SHARED xxx.c) and as
result I got 'libxxx.so'.
I want to create lib with name like 'libxxx.so.1', can you please help,
how to make this?
Point is not to create link or copy libxxx.so -
On 09/06/2012 10:05 AM, Benjamin Eikel wrote:
Am Donnerstag, 6. September 2012 um 10:01:36 schrieb Michael Wild:
On 09/06/2012 09:43 AM, Anton Sibilev wrote:
Hi all!
I'm making shared library with add_library(xxx SHARED xxx.c) and as
result I got 'libxxx.so'.
I want to create lib with name
On 09/06/2012 10:09 AM, Michael Wild wrote:
On 09/06/2012 10:05 AM, Benjamin Eikel wrote:
Am Donnerstag, 6. September 2012 um 10:01:36 schrieb Michael Wild:
On 09/06/2012 09:43 AM, Anton Sibilev wrote:
Hi all!
I'm making shared library with add_library(xxx SHARED xxx.c) and as
result I got
On 09/06/2012 04:15 PM, Jack Stalnaker wrote:
Using autoconf, I could specify a numerical option using AC_ARG_ENABLE.
This was useful for specifying a logging level at compile time. I could
pass --enable-logging=8 to the configure script to enable deep logging.
Is there a way to do this with
On 08/30/2012 03:44 PM, Skippy VonDrake wrote:
I remember belonging to a mailing list meant for general questions
from cmake users.
Where does on go no when the have a problem/question just using cmake?
This site: http://public.kitware.com/mailman/listinfo/dart
just lists cmake-developers and
On 08/17/2012 05:25 PM, David Cole wrote:
On Fri, Aug 17, 2012 at 11:16 AM, Rolf Eike Beer e...@sf-mail.de
mailto:e...@sf-mail.de wrote:
Am Freitag, 17. August 2012, 14:17:33 schrieb Michael Wild:
Yes, e.g. i386 works fine:
https://buildd.debian.org/status/fetch.php
On 08/18/2012 02:20 PM, David Cole wrote:
On Sat, Aug 18, 2012 at 6:57 AM, Michael Wild them...@gmail.com
mailto:them...@gmail.com wrote:
On 08/17/2012 05:25 PM, David Cole wrote:
On Fri, Aug 17, 2012 at 11:16 AM, Rolf Eike Beer e...@sf-mail.de
mailto:e...@sf
Dear all
I have this very strange case that on some hardware architectures
(powerpc, s390, s390x) CMake somehow fails to generate the
target-directories (/path/to/build-tree/CMakeFiles/libname.dir).
Have you ever encountered this problem?
If you're curious, here's the build log of one such
-endian...
Michael
On 08/17/2012 02:10 PM, David Cole wrote:
Guess: Maybe the + in the build tree directory name is messing
something up?
Are there + characters in the build tree names on architectures that work?
On Fri, Aug 17, 2012 at 8:01 AM, Michael Wild them...@gmail.com
mailto:them
BTW, I found that using lcov is much easier than trying to figure out
the raw gcov output and it handles the output file naming automatically too.
Michael
On 08/17/2012 04:22 PM, Sumit Adhikari wrote:
Now I am doing good. Thanks for the info.
By the way, why not making this a feature
On 08/14/2012 01:18 PM, Peng Yu wrote:
CMake really leaves the decision when to recompile something to the
backend, i.e. GNU Make, Xcode, Visual Studio, ninja etc. It merely
defines dependencies and then lets the actual build tool handle the
rest, and most of them choose to use simple
On 08/14/2012 02:41 PM, Peng Yu wrote:
Again, using ccache solves this much more elegantly. And calling md5sum
twice is also not very nice...
I'm not sure ccache replaces hash. My understanding is that ccache
speed up individual compilation, but all the targets that depends on
it are still
On 08/14/2012 04:32 PM, Peng Yu wrote:
You miss the point. If CMake wanted to offer hash-based checking, it
would need to do so for *all* backends, not just GNU Make. Good look
implementing that hack in Visual Studio or Xcode...
I get your point that there is not an easy to do content based
On 08/13/2012 04:18 PM, Peng Yu wrote:
Hi,
I use the following command to generate the pdf file from cmake
manpage. But the pdf file does not have bookmarks. Does anybody know a
way to generated the manual in pdf with bookmarks and possibly
hyperlinks?
man -t $f | ps2pdf - $f.pdf
CMake really leaves the decision when to recompile something to the
backend, i.e. GNU Make, Xcode, Visual Studio, ninja etc. It merely
defines dependencies and then lets the actual build tool handle the
rest, and most of them choose to use simple time-stamps instead of
hashes. Also note that
Oops, my bad. Apologies. Fixed now.
Michael
On 08/08/2012 01:04 PM, Eric Noulard wrote:
2012/8/8 Nico Schlömer nico.schloe...@gmail.com:
Hi,
I just looked at
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
to learn about exporting build information to the
On 07/30/2012 04:12 PM, luxInteg wrote:
Greetings
I have a bash script (from an auto-tools Makefile ) to translate
to cmake
My 'translation might go something like thios
execute_process(COMMAND ${some_command} '21' INPUT_FILE
${someFile2} OUTPUT_FILE/dev/null
On 07/30/2012 02:15 AM, Kyle Husmann wrote:
Hi all,
In my project I have a python program (call it program.py) that
references a python module also in my project (call it pymodule).
program.py gets installed to ${CMAKE_INSTALL_PREFIX}/bin/program and
pymodule gets installed to
A few comments:
* transform all CMake commands to lower case names: s/IF/if/g,
s/ELSE/else/g, s/ENDIF/endif/g, s/SET/set/g etc.
* spelling: s/Settung/Setting/g
* docs list a component NFrontEnd, but that string doesn't show up in
the actual code. Typo?
* just set the default front- and
On 07/04/2012 08:37 AM, hce wrote:
Hi,
In ExternalProject_Add, BUILD_COMMAND make works fine, but I need to add
multiple make commands. In Linux command line I can type make make
extra, but how can I set following BUILD_COMMAND for multiple make
commands, it just not working?
On 06/13/2012 12:13 PM, Daniel Dekkers wrote:
Somewhat related...
We now have the resources excluded from the build but visible in the IDE. So
far so good.
But we also want to copy them (all) to the build directory.
We have a post build command that does that.
But if you only change the
On 05/24/2012 03:43 PM, vivek goel wrote:
I have a project with 10 binary files.
and I am installing custom 15 bash files using
install(PROGRAMS
file-list
DESTINATION /bin
)
Is there a way to have custom install target like
make install script which
On 05/16/2012 06:51 AM, Adrien Guinet wrote:
Hello everyone,
It seems that, in Qt 4.8.1 (at least in the Debian packages), the QtWebKit
module isn't shipped in a separated .so (libQtWebKit.so).
Thus, this makes FindQt4.cmake fails to find the QtWebkit modules, beucase
a module is considered
My guess is that it has something to do with module files.
Michael
On 05/16/2012 08:31 AM, Petr Kmoch wrote:
Anyone? Surely there must be a reason for adding those directories.
Petr
On Thu, May 10, 2012 at 9:25 AM, Petr Kmoch petr.km...@gmail.com wrote:
Hi all,
we're using cmake to
On 05/08/2012 11:13 PM, Dave Abrahams wrote:
on Tue May 08 2012, Alexander Neundorf
a.neundorf-work-hi6Y0CQ0nG0-AT-public.gmane.org wrote:
On Tuesday 08 May 2012, Dave Abrahams wrote:
Here's another one!
Scenario:
* I am running CMake under 0install to build and install libraries
*
On 09.05.2012, at 21:03, Alexander Neundorf a.neundorf-w...@gmx.net wrote:
On Wednesday 09 May 2012, Michael Wild wrote:
On 05/08/2012 11:13 PM, Dave Abrahams wrote:
on Tue May 08 2012, Alexander Neundorf
a.neundorf-work-hi6Y0CQ0nG0-AT-public.gmane.org wrote:
On Tuesday 08 May 2012
On 05/05/2012 07:25 AM, Dave Abrahams wrote:
I need to preserve the built-but-not-yet-installed state of some
projects, and the tool I'm driving CMake with moves the result of every
build step from a read-write build directory into a readonly cache. The
result is that the generated
On 05/05/2012 08:25 AM, Dave Abrahams wrote:
I am driving invocations of cmake with another tool, and I would like to
pass the equivalent of -jN for the cmake --build step, but I don't
seem to be about to find out what generator will be used, which makes it
hard to even write code to
On 05/04/2012 10:16 PM, Robert Dailey wrote:
I'm doing the following:
set_property( TARGET ${target_name} APPEND_STRING PROPERTY
COMPILE_FLAGS /ZI /Gy
)
However this applies to all configurations. I want to only set this
compiler flag for debug builds, not release. How can I do this?
On 05/05/2012 09:59 PM, Dave Abrahams wrote:
[...]
...but I hadn't thought of installing everything as part of creating
the pre-installed state and then having the installed state draw from
those results. That's a very interesting idea. I'll try it, thanks.
The other advantage is that we
On 04/30/2012 04:42 AM, Klaim - Joël Lamotte wrote:
Hi,
I'm having a hard time finding documentation about this: I have a
library that provide IDE-specific project files, for example Visual
Studio project files. Instead of writing CMake file for it, I just
want to write in my CMakeFiles.txt
On 03/21/2012 02:32 PM, Giovanni Azua wrote:
Hello,
I have a project for which the main language is C (soon CPP) that calls
some functions from Intel MKL. I have the need to use four third-party
high performance fortran routines and I need to:
1) be able to call these Fortran routines
On 03/11/2012 07:46 AM, P. Martin wrote:
In CMake 2.8.7 on Lion, is there anything that would trigger -isysroot
to appear in flags.make for a cxx program when there is no code by the
devs to specifically add a -isysroot? Thanks.
Yes, the CMAKE_OSX_SYSROOT in the cache does that.
Michael
--
On 03/11/2012 09:07 PM, P. Martin wrote:
On Mar 11, 2012, Michael Wild them...@gmail.com wrote:
On 03/11/2012 07:46 AM, P. Martin wrote:
In CMake 2.8.7 on Lion, is there anything that would trigger -isysroot
to appear in flags.make for a cxx program when there is no code by the
devs
On 03/08/2012 05:40 PM, buzz clay wrote:
Hi,
I have not been able to find the answer to my current problem so I
thought I'd try a new post. Before diving into the details, please be
aware that the code I am writing compiles/runs perfectly with a personal
Makefile I wrote.
My code is
On 03/07/2012 04:10 PM, Michael Jackson wrote:
In an effort to speed up the build of a project that uses Qt (and moc) I
tried an alternate approach with the moc files. Normally I use the basic idea
of gathering the headers that need to be moc'ed and feed those to moc with
this type of CMake
That's the wrong way to go about things. Rather than putting the COMMAND
in the custom target, put it in a add_custom_command() call and make the
custom target DEPENDS on it. Then you let the build system handle the
dependencies. E.g. like this:
find_program(JAVAC_COMPILER javac PATH_SUFFIXES bin
On 03/01/2012 07:21 AM, Tan, Tom (Shanghai) wrote:
According to the doc, generate_export_header(somelib) generates a file
in the ${CMAKE_CURRENT_BUILD_DIR} called somelib_export.h.
What's the recommended way to include this somelib_export.h.
#include somelib_export.h does not work. And
On 02/28/2012 10:00 AM, Bart Vandewoestyne wrote:
Hello list,
I'm quite new to CMake, still learning my way around... I currently
have the following in a CMakeList.txt file:
set(BOOST_LIBNAME boost_regex)
#set(BOOST_LIBNAME boost_regex-mt)
target_link_libraries(airspace
Hi Bart
Please keep answers on the list, so others can also profit from the
discussion.
On 02/28/2012 01:59 PM, Bart Vandewoestyne wrote:
On 02/28/2012 10:28 AM, Michael Wild wrote:
Don't do it this way. Use this:
find_package(Boost REQUIRED COMPONENTS regex)
include_directories
On 02/27/2012 09:15 PM, Alexander Neundorf wrote:
Hi,
I think find_package in Config mode might still need some more work.
When the FooConfig.cmake has been found, Foo_FOUND is set to TRUE:
// Set a variable marking whether the package was found.
std::string foundVar = this-Name;
On 02/24/2012 10:52 AM, yao wang wrote:
Hi,
We've written a module finding AMD's APP SDK's include abd library
paths. And set OPENCL_INCLUDE_DIR and OPENCL_LIBRARY, which are
useful for compiling OpenCL programs. Is it possible for me to
contribute to the share modules and make it included
On 02/23/2012 04:08 PM, Andrea Crotti wrote:
I really physically suffer using case-insensitive languages,
Seriously? You must be an annoyingly happy person if that's your biggest
problem in life! ;-)
but is
there any convention to decide
at least when to use upper and when to use a lower
On 02/20/2012 04:32 PM, Barth wrote:
Hello,
Let be a project A developed and distributed by organization AA.
Let be another project B depending on A, developed by organization BB. B
calls find_package(A) in its CMakeLists.txt as to get the dependencies
libraries and includes.
How
On 02/20/2012 09:59 PM, Orion Poplawski wrote:
For quite a while, Fedora packages will call cmake with
-DCMAKE_INSTALL_LIBDIR set to /usr/lib or /usr/lib64 as appropriate.
Some projects that use this convention include plplot, lasi
The relatively new cmake module GNUInstallDirs sets
On 02/14/2012 04:36 PM, aaron.mead...@thomsonreuters.com wrote:
*Looks like ‘+’ is not a valid character for the target name. *
* *
*Specifically, cmGeneratorExpression.cxx does not have it as part of the
regular expression to match target names: (line 23 on) *
* *
* *
On 02/02/2012 08:44 AM, Joakim Hove wrote:
First you should use the COMPONENT parameter of the INSTALL command.
See:
cmake --help-command install
and
http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack
then you may install all the target/files/...
On 02/01/2012 09:33 AM, Arnaud Gelas wrote:
Hi all,
I have been trying to compile a very simple example with cmake (2.8.5)
and boost, and I can't get what I am doing wrong...
CMakeLists.txt
--
cmake_minimum_required(VERSION 2.6)
project(ReadGraph)
On 01/25/2012 12:25 AM, Alan W. Irwin wrote:
On 2012-01-24 06:28+0100 Michael Wild wrote:
On 01/24/2012 05:50 AM, Alan W. Irwin wrote:
The documentation you get from
cmake --help-full
refers to the IMPORTED_LOCATION property as one of the more important
ones set for imported targets. I
On 01/24/2012 09:35 AM, pellegrini wrote:
Hello everbody,
I would like to understand a bit more one feature related to
CMAKE_INSTALL_PREFIX initialization.
When reading the documentation, it is specified that this variable
contains the directory that will be pre-pended to all install
Hi all
I based my dashboard driver script on the one used by CMake
(http://cmake.org/gitweb?p=cmake.git;a=blob;f=cmake_common.cmake;hb=refs/heads/dashboard)
and wonder what it's license is. Is it the usual 3-clause BSD-style license?
Michael
--
Powered by www.kitware.com
Visit other Kitware
On 01/18/2012 03:16 PM, Brad King wrote:
On Wed, Jan 18, 2012 at 8:41 AM, Michael Wild them...@gmail.com wrote:
I based my dashboard driver script on the one used by CMake
(http://cmake.org/gitweb?p=cmake.git;a=blob;f=cmake_common.cmake;hb=refs/heads/dashboard)
and wonder what it's license
AFAICS these files are considered to be source files, right? So they
should be explicitly listed in the CMakeLists.txt file. If your
CMakeLists.txt file gets too big, you can put the relevant code into
another file and then include() it from the CMakeLists.txt.
Doing this also helps you detecting
On 01/17/2012 03:25 PM, Tim Hutton wrote:
On 17 January 2012 13:21, David Cole david.c...@kitware.com wrote:
If you want to use file GLOB at CMake time, then you have to re-run
CMake manually when you add or remove a file. There's no way around
that, because we are not going to monitor your
On 01/16/2012 04:59 PM, Maciej (Matchek) Bliziński wrote:
2011/12/22 Maciej (Matchek) Bliziński mac...@opencsw.org:
CMake Error at cmake/ssl.cmake:83 (MESSAGE):
Cannot find appropriate system libraries for SSL. Use WITH_SSL=bundled to
enable SSL support
Call Stack (most recent call first):
On 01/12/2012 04:26 PM, gilles B wrote:
Hi,
I want to create a directshow filter (windows) and so change output name
of my dll from myfilter.dll to myfilter.ax
How to do this ?
Thank you very much for your help
regards
Gilles.
set_target_properties(myfilter PROPERTIES
SUFFIX .ax)
On 01/11/2012 01:44 PM, Michael Hertling wrote:
On 01/10/2012 07:17 PM, vivek goel wrote:
Is there a way to color warning/error of gcc with cmake ?
AFAIK, no, but you might remember the power of *nix, feed the output
of make VERBOSE=1 21 into sed/awk/perl/your-favorite-here and
use ANSI
On 01/10/2012 10:50 AM, Totte Karlsson wrote:
But when executing the PACKAGE target, from within VS IDE, the
${CMAKE_BUILD_TYPE} does not seem to be set.
VS IDE or XCode do not set this because they are able to handle
several config at once.
yes.
You may try to use CMAKE_CFG_INTDIR
On 01/10/2012 11:14 AM, Martin Uhrin wrote:
Dear CMake community,
firstly, thank you for the extremely useful build tool, it's saved me a
lot of time and effort!
I'm trying to solve the following problem:
I'd like the user (i.e. non-developer compiling my code) to have the
option to
On 01/09/2012 03:07 AM, David Cole wrote:
On Sunday, January 8, 2012, Alexander Neundorf neund...@kde.org
mailto:neund...@kde.org wrote:
On Sunday 08 January 2012, Stephen Kelly wrote:
Alexander Neundorf wrote:
On Sunday 08 January 2012, Stephen Kelly wrote:
Hi,
I don't think I've
On 01/04/2012 09:28 PM, Michael Jackson wrote:
I am having trouble getting add_custom_Command and CMAKE_CFG_INTDIR to work
correctly together. This is what I have so far.
# -- Setup output Directories -
SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY
set(SRCS a/a.cpp b/b.cpp c/c.cpp d/d.cpp)
foreach(f IN LISTS SRCS)
get_filename_component(b ${f} NAME)
set_source_files_properties(${f} PROPERTIES
COMPILE_DEFINITIONS MYSRCNAME=${b})
endforeach()
add_executable(foo ${SRCS})
HTH
Michael
On 12/28/2011 08:17 AM, vivek goel wrote:
Is
If you don't want to have the full path embedded in the binary, you do.
As an addendum to my previous answer, the string after the equal sign might
need escaped quoting.
Michael.
On 28.12.2011, at 18:41, J Decker d3c...@gmail.com wrote:
ya - before using the file parameter, find the last /
On 12/26/2011 08:46 AM, J Decker wrote:
I have this huge project that I've been building with cmake; and even
under gcc (mingw) I don't have this problem... but what is happening
is I have a generic list of libraries that I provide for applications
to link against. This includes the c version
On 12/26/2011 11:52 AM, Anton Sibilev wrote:
Hello! Can you, please, help me with regex?
I have the string, for example, aaa111/bbb222/ccc333.
As the result of regex I want to get aaa111, but I can't set proper
expression..
string (REGEX REPLACE ^(.*/)? folder ${folder}) ?
Try
make VERBOSE=1
Michael
On 26.12.2011, at 15:18, Ceylow cey...@gmail.com wrote:
Hello,
I'm having some troubles with a linking step and I would like to see exactly
which parameters are given to my compiler when running the Makefile generated
by CMake.
Currently it only shows:
On 12/22/2011 12:23 PM, pellegrini wrote:
Hi all,
I have a program that uses an external library whose path name depends
on its version (32 or 64 bit).
Is there a direct way in cmake to test whether my cpu is 32 or 64 bit ?
You don't actually care about the CPU, but the operating system
On 12/23/2011 07:23 AM, Eric Noulard wrote:
2011/12/23 Pau Garcia i Quiles pgqui...@elpauer.org:
Hi,
Visual C++ 2010 does not support C99 yet and it seems it will be a
long time before MSVC supports it. For now, the usual work-around is
to build the project as C++.
I'd like to build as C
1 - 100 of 1128 matches
Mail list logo