Hi,
setting global environment variables in windows is just adding/editing some
registry keys. As an alternative, you can run setx command in a cmd.exe
instance.
HS
Am 24. Januar 2015 21:29:20 MEZ, schrieb Gonzalo Garramuno :
>I would like to set an environment variable in the NSIS installer,
Hi,
This makes cmake --build much less predictable across cmake versions and cmake
projects.
How can I find out if msbuild is chosen without inspecting the cmake project?
Specifying this manually is not really an option... too complicated.
Or like that:
- run CMake
- get the CMAKE_VS_MSBUILD...
Hi,
but msbuild does not use this setting from VS, only devenv does.
See option /m
HS
Am 20. Januar 2015 14:54:26 MEZ, schrieb David Cole via CMake :
>If you open the "Tools > Options" dialog in Visual Studio, and
>navigate to the "Projects and Solutions > Build and Run" tab, what is
>your "ma
Hi,
on Linux, libraries don't need the executable permission set.
HS
Am 9. Januar 2015 21:30:54 MEZ, schrieb J Decker :
>need to use install( PROGRAMS ... ) then
>
>
>
>On Fri, Jan 9, 2015 at 7:52 AM, Gonzalo Garramuno
>wrote:
>
>> On 08/01/15 21:56, J Decker wrote:
>>
>>> I don't think you sh
Hi,
this original makefile rule was probably just a simplification.
Make your custom target depend on all example targets which link the desired
parts, then you get what the original makefile author just didn't want to do
manually: having built all examples and their dependencies.
And it's less
Am 11. November 2014 08:50:26 MEZ, schrieb SF Markus Elfring
:
>> There is no need for a .src.rpm when you don't embed the build rules
>into it.
>> However, that only makes sense for distributions that have a package
>maintainer for the software,
>> creates a source package with all build option
Am 10. November 2014 21:45:26 MEZ, schrieb SF Markus Elfring
:
>Hello,
>
>Software package formats like DEB and RPM can help to distinguish
>the provided contents between source and binary files.
>https://wiki.debian.org/SourcePackage
>http://www.rpm.org/max-rpm/s1-rpm-miscellania-srpms.html
Th
Am 31. Oktober 2014 20:51:55 MEZ, schrieb Bill Somerville
:
>On 31/10/2014 19:42, Michael Jackson wrote:
>> Never said it was pretty, but here is the code I use for Qt4 based
>projects. I think I had to revamp a lot of this for Qt5. I call it like
>so:
>>
>> CMP_COPY_QT4_RUNTIME_LIBRARIES( "QtCo
erty ( TARGET zlib PROPERTY INTERFACE_INCLUDE_DIRECTORIES
>>> "${ZLIB_INCLUDE_DIR}"
>>> )
>>>
>>> set ( ZLIB_LIBRARIES zlib )
>>> set ( ZLIB_INCLUDE_DIRS "${ZLIB_INCLUDE_DIR}" )
>>> endif ( ZLIB_FOUND )
>>>
>&
;> set ( ZLIB_INCLUDE_DIRS "${ZLIB_INCLUDE_DIR}" )
>> endif ( ZLIB_FOUND )
>>
>> The .lib goes into IMPORTED_IMPLIB and the .dll goes into
>IMPORTED_LOCATION.
>> The way to find the .dll from the location of the .lib might differ
>for
>> different libr
Hi,
you can use generator expression in a post build rule to copy the dll file to
the same target dir as the target you link it with. The easiest way to do this
is to properly define all 3rd party libraries as imported targets that contains
both, the lib and the dll file.
Sadly, the FindQt4 on
On 23. September 2014 16:22:40 MESZ, Cristian Adam
>>> QCC compiler generates for this project dependency files which look
>like:
>>>
>>> c:\projects\my_proj\include\/a.h \
>>> c:\projects\my_proj\src\/a.cpp \
>>> c:\projects\my_proj\other\..\/include/b.h \
>>> c:\projects\my_proj\other\..\/src/
Hi,
this is a fairly simple task.
You just need to generate (with configure_file) the Cpack nsis template from
your own template (the template's template that is).
As an alternative you can do a similar thing with the Cpackconfig file.
HS
On 20. September 2014 18:45:41 MESZ, Richard Shaw wrot
On 15. September 2014 12:01:35 MESZ, "Daniele E. Domenichelli"
wrote:
>Hello,
>
>
>Is there an alternative variable for CMAKE_CFG_INTDIR that can be used
>in configure time, instead of build time?
>
>If there is not, is it safe to assume that the name of the directory is
>equal to the name of t
Hi,
I'm also interested in an answer to this question. IMHO the definition of
CMAKE_SYSTEM_PROCESSOR is broken for Visual Studio generators although it
matches the help entry.
HS
On 6. September 2014 16:02:56 MESZ, Alexey Petruchik
wrote:
>I want to use different library folders for x64/x86
On 7. September 2014 11:32:31 MESZ, Alexander Lamaison
wrote:
>What I would like is to be able to do is:
>
>add_executable(my_exe ${SOURCES})
>find_package(Foo)
>target_link_libraries(my_exe Foo)
>
>and have it Just Work. Is that possible?
Yes, you just have to create an IMPORTED library targ
On 6. September 2014 05:49:44 MESZ, J Decker wrote:
>you'll need separate includes for dlopen thing, because you'll need the
>functions declares are pointers...
Not really
>void (*f)( void );
>or typedefed as functions
>typedef void (*some_function_type)( void );
>some_function_type f;
Usuall
On 4. September 2014 16:38:21 MESZ, Ruslan Baratov via CMake
wrote:
>On 04-Sep-14 18:09, Anders Lindgren wrote:
>> make sure that the argument don't form a valid variable name.
>It's not possible
>
>>
>> set(a b)
>> set(b c)
>> if(">${a}<" STREQUAL ">b<" OR ">${a}<" STREQUAL ">c<")
On 30. August 2014 16:18:26 MESZ, Richard Shaw wrote:
>In the project I'm converting to cmake there are a lot of checks for
>headers and functions I've reimplemented in cmake, but it seems a lot
>of
>autotools based programs do a lot of excessive checking and I don't
>want to
>implement stuff th
On 19. August 2014 16:36:14 MESZ, David Cole via CMake wrote:
>> Definitely getting warmer! It looks like that GetPrerequistes only
>> works on an existing target so I'm thinking I would have to set this
>> up as a "super" cmake project after the main project is already
>built?
>
>Right, or as a
On 18. August 2014 09:20:26 MESZ, Petr Kmoch wrote:
>Hi Paul.
>
>The straightfroward way to do thisis with custom commands:
>
>add_custom_command(
> OUTPUT ${CMAKE_BINARY_DIR}/foo.f
> COMMAND custom_preproc foo.fs -o ${CMAKE_BINARY_DIR}/foo.f
> MAIN_DEPENDENCY foo.fs
> COMMENT "Custom-prepro
On 13. August 2014 21:40:34 MESZ, Nagger wrote:
>But what I really miss is an "--update" option for CMake which is doing
>
>all the work (updating if possible, configuring if necessary)
>internally. It would use the implementation of 'cmake --build' to
>trigger a re-configure and if that is no
Hi,
-lm does not belong to CMAKE_CXX_FLAGS as it is a linker option to link libm.
Use
target_link_libraries(protpred-Gromacs-NSGA2 m)
instead. (Don't search for libm, the linker knows where it is.)
It is also more common to use a variable for the list of source files. That
would make it also pos
Hi,
I'm not sure that ~ is supported directly.
HS
On 19. Juli 2014 04:31:23 MESZ, Michael Darling wrote:
>http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries#How_package_finding_works
>
>seems to indicate if _FOUND is found, the
>_INCLUDE_DIRS is passed to the include_directories()
>command,
Hi,
for DLLs, the .lib part has it's own property IMPORTED_IMPLIB.
This is already the case for older versions of CMake but at least the Qt4 find
module makes no use of it.
In our own project, we use global imported targets with dll and import lib set
(and other properties like includes) and u
On 28. Juni 2014 18:00:52 MESZ, Kornel Benko wrote:
>Am Samstag, 28. Juni 2014 um 12:06:56, schrieb Martin Mitáš
>
>>
>> Hello,
>>
>> I'm trying to pass multiple options from outside to a command in
>add_custom_target()
>> or add_custom_command(). I am new to CMake and I don't know whether
>t
Hi,
since you know the deps for your target_link_libraries call, you can use this
deps list as well to configure your add_custom_command to generate your source2
file.
HS
On 28. Juni 2014 07:23:21 MESZ, abid rahman wrote:
>Hello,
>
>I am adding a new target using "add_library(target source1
Hi,
IIRC the old function is preserved as the same name with an underscore as
prefix...
Regards,
HS
On 27. Juni 2014 10:23:07 MESZ, Kornel Benko wrote:
>Am Donnerstag, 26. Juni 2014 um 20:12:12, schrieb Hendrik Sattler
>
>> Hi,
>>
>> you can also override the target
Hi,
you can also override the target_link_libraries function with your own in the
top-level lists file and call the original one from within that function. This
way you only have to edit one file.
HS
On 26. Juni 2014 18:14:36 MESZ, Michael Burns via CMake wrote:
>Hello, Angeliki.
>
>Yes, you
On 30. Mai 2014 17:36:41 MESZ, Christer Solskogen
wrote:
>Hi!
>
>I have a CMakefile with the following code:
>
>find_package(Readline)
>if(READLINE_FOUND)
> set(CMAKE_REQUIRED_LIBRARIES "readline")
> check_function_exists(rl_filename_completion_function
>HAVE_RL_COMPLETION_FUNC
t just the libname.
>
>
>
>
>On Mon, May 26, 2014 at 1:49 PM, Hendrik Sattler
>wrote:
>
>> Maybe you can explain _why_ you need to do it this way? Can it be
>solved
>> more inline with the better cross-compile support in cmake-3.0?
>>
>> On 26. M
Maybe you can explain _why_ you need to do it this way? Can it be solved more
inline with the better cross-compile support in cmake-3.0?
On 26. Mai 2014 19:29:20 MESZ, J Decker wrote:
>So... no alternatives to location in this instance?
>
>
>On Sat, May 24, 2014 at 7:28 PM, J Decker wrote:
>
>>
On 6. April 2014 13:23:19 MESZ, sindimo wrote:
>Thanks Eike for the input.
>
>I went with your suggestion and I am using the environment variables
>now CC
>and FC to point to the TAU wrappers.
>
>Just for the record this specific app isn't cross platform, just on
>Linux.
>
>It's still identifying
On 22. März 2014 11:26:23 MEZ, Theodore Papadopoulo
wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
> I wonder why GenerateExportHeader is tied to the C++ compiler (by
>using the check_cxx_* functions instead if their check_c_* variants).
>As far as I can tell it would be better to
jmerkow schrieb:
>I am trying to use configure_file but I get a permissions denied error.
>
>Code:
>configure_file(${TestProj_SOURCE_DIR}/CMake/developer-core-script.in
>${TestProj_BIN_DIR}/mysim)
>
>Error:
>CMake Error: Could not open file for write in copy operation /mysim.tmp
>CMake Error: :
Theo Diefenthal schrieb:
>Hey there,
>
>First, I already searched quite a while for my question, but couldn't
>find anything related to it, even though I think, it is probably asked
>already somewhere. So I'm sorry if this produces a double post...
>
>But now to my question:
>I wonder if there i
ed into an executable.
>
>> -Original Message-
>> From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
>> Behalf Of J Decker
>> Sent: Thursday, October 31, 2013 3:27 PM
>> To: Hendrik Sattler
>> Cc: Matthew Woehlke; cmake@cmake.org
>> Sub
Matthew Woehlke schrieb:
>On 2013-10-31 05:26, Cyrille Faucheux wrote:
>> Can you tell me a bit more about "implicit compile flags [...] for
>imported
>> tagets"?
>
>See documentation on target_compile_definitions.
>
>> On the library I'm currently working on, with Visual Studio, I have
>to
>> d
Mojca Miklavec schrieb:
>On Fri, Sep 27, 2013 at 4:08 PM, David Cole wrote:
>> The Express editions of Visual Studio do not contain the
>redistributable
>> libraries. You may build software and use it on your own computer
>with the
>> Express editions, but you are not able to create redistributa
the flag is not supported by my compiler.
>
>Andreas
>
>
>On Sep 24, 2013, at 7:13 PM, Hendrik Sattler
>wrote:
>
>>
>>
>> "Fetzer, Andreas" schrieb:
>>> Hi,
>>>
>>> I am using Mac OS X 10.7 with Apple clang version 3.1
"Fetzer, Andreas" schrieb:
>Hi,
>
>I am using Mac OS X 10.7 with Apple clang version 3.1. At the moment
>our build fails due to an unknown compiler flag:
>
>error: unknown warning option '-Wstrict-null-sentinel'
>[-Werror,-Wunknown-warning-option]
>
>Although we are checking whether the flag is
Am Mittwoch, 24. April 2013, 17:53:28 schrieb David Cole:
> Sure, but this is in web page text only meant to be read by human beings,
> not in some parse-able data that’s actually important for anything.
The confusion probably comes from the fact, that U.S. date format is usually
separated by '/'
Hi,
seems the time string in the news section need a fix:
11.07.2012 CMake 2.8.10 Just Released
08.09.2012 CMake 2.8.9 is Now Available!
07.18.2012 Kitware Announces New Fall Courses
04.19.2012 CMake 2.8.8 is Now Available
03.02.2012 CDash 2.0.2 Now Available
The dotted date notation with the ye
Am 2013-04-03 17:25, schrieb J Decker:
All of these articles say the way to avoid having an absolute path
stored in the linked output is to use -L -l ... which is
definatly not what cmake is producing. Reflecting on this, maybe I
can replace target_link_libraries with manually specified link_f
Am 2013-03-27 05:46, schrieb Steve Andrews:
Thats very helpful. Thank you.
My other question was about how to get CMake to create directories at
installation time. Do you, or someone else, have suggestions about
that? Despite your advice, I think that I want the "make install"
step to put Pyt
Am Freitag, 1. März 2013, 14:06:43 schrieb Fredrik Axelsson:
> The 'Software/Vendor/Item' is actually a registry key. The shortcut will be
> "$CPACK_PACKAGE_NAME\iconName
>
> CPACK_PACKAGE_EXECUTABLES refers to executables according to the CPack docs
>
> http://www.cmake.org/cmake/help/v2.8.10/cp
Am 2013-03-01 02:32, schrieb Nicholas Kinar:
Hello,
I am wondering if there is a way to have Cmake use Intel compilers on
Windows when generating a Visual Studio project file. Searching
around the Internet, I found that the following might be used to do
this within the CMakeLists.txt file:
set
Am 2013-03-01 03:30, schrieb Fredrik Axelsson:
Hi!
The WiX generator supported by the nightly builds will currently not
generate Start Menu Shortcuts. I opened a new ticket in the
bugtracker
for this feature.
http://public.kitware.com/Bug/view.php?id=13967 [1]
and I attached a patch to enabl
Am Donnerstag, 14. Februar 2013, 12:14:57 schrieb Richard Wiedenhöft:
> Yes, but providing a familiar interface for building source tarballs is
> imho a good thing. It does not prevent you from configuring your sources
> with the cmake-command itself.
>
> Furthermore such a script is necessary for
Am 2012-06-17 14:39, schrieb Alexander Neundorf:
I consider this feature still experimental, it needs users (like you)
to actually figure out whether it is real-world useful.
Can you open a ticket for this please in the tracker ?
Filed as issue #13311.
IMHO, for a real pkg-config replacement,
Hi,
I try the following commands with my projects config file. It is not installed
but the build tree is registered with export(TARGET).
$ cmake -DNAME=OpenObex -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE
--find-package
-I/home/hendrik/projects/obex/openobex/repository/include
$ cmake -DNAME=
Am Samstag, 28. April 2012, 16:53:01 schrieb Giovanni Azua:
> On Apr 28, 2012, at 8:56 AM, Eric Noulard wrote:
> > target_link_libraries(benchmark ${MKL_LIBRARIES})
> >
> > I cannot ensure this is OK because the FindMKL.cmake module
> > does not seem to be in CMake source.
>
> Thank you! this sol
Am Samstag, 3. März 2012, 21:41:49 schrieb Ajay Panyala:
> I have a custom target which runs a command to generate
> a C source file say test1.c
>
> ADD_CUSTOM_TARGET(TestGen ALL
> COMMAND genExec ${PROJECT_SOURCE_DIR}/Main.java
> DEPENDS ${PROJECT_SOURCE_DIR}/Main.java
> )
>
> And I have a custo
Am Montag, 20. Februar 2012, 22:15:39 schrieb Michael Wild:
> 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
Am Mittwoch, 4. Januar 2012, 23:32:21 schrieb brian:
> I've been able to generate VS 2010 solution's via CMake for my C++/CLI
> project (.NET project). We've added the log4net.dll to the project by
> hand. This is the .NET version of the log4j project. What I'd like to do
> is add a reference to
Am 24.11.2011 09:47, schrieb Rolf Eike Beer:
Oops. You are right. I had never ever heard of applications
exporting symbols before. Live and learn.
You use one every day:
$ /lib/libc.so.6
GNU C Library stable release version 2.11.3 (20110203), by Roland
McGrath
et al.
Copyright (C) 2009 Fr
Am 23.11.2011 22:35, schrieb Michael Hertling:
Out of curiosity - I have not worked with RPM for ages: Are these
warnings and the related overlinking due to transitive dependencies
really an issue or just an inconvenience? Personally, I distinguish
between real overlinking, i.e. pulling in librar
Am 22.11.2011 11:42, schrieb t m:
Hi Community,
In the large project we a having periodic taks which build a couple
of
projects and store the result of the build in one specific place.
Once it's build the rest of the team can use this artifacts becouse
those are exported by using of export(TAR
Am Donnerstag, 17. November 2011, 21:38:20 schrieb Hendrik Sattler:
> Am Donnerstag, 17. November 2011, 18:26:08 schrieb Alexander Neundorf:
> > Let's say package Foo (unrelated to KDE, and unrelated to cmake) has been
> > ported from UNIX to Windows, and installs a pkgc
Am Donnerstag, 17. November 2011, 18:26:08 schrieb Alexander Neundorf:
> Let's say package Foo (unrelated to KDE, and unrelated to cmake) has been
> ported from UNIX to Windows, and installs a pkgconfig file.
> This pkgconfig file is generated at the time when the binary package for
> Foo is genera
Am Freitag, 11. November 2011, 15:55:12 schrieb Stefan Monnier:
> > According to http://caml.inria.fr/pub/docs/manual-ocaml/manual022.html,
> > it does:
> > -o exec-file
> >
> > Specify the name of the output file produced by the compiler. The
> >
> > default output name is a.out under Unix a
Am Freitag, 11. November 2011, 17:41:34 schrieb David Cole:
> You just need to install a PlatformSDK to go with VS 2010 Express.
> Search the mailing list for prior discussions of this fact.
Last time I tried, VS10Express included the PlatformSDK.
HS
--
Powered by www.kitware.com
Visit other Ki
Am 09.11.2011 23:00, schrieb Stefan Monnier:
I'm trying to use cmake for a project using OCaml, so I'm trying to
add
support for a new language.
Among the many problems I encounter, the most pressing is the
following: the rule to build object files
(CMAKE_OCaml_COMPILE_OBJECT)
seems to want a
Am 07.11.2011 14:49, schrieb Daniel Dekkers:
Hi Hendrik,
Could you write a few more lines. I want to understand,... but I
don't. ;-)
We only have one copy of Bullet "as a bundle" present on the system.
Let's
say you just downloaded Bullet.
With BULLET_ROOT, we set the root path to that copy
Am 07.11.2011 12:04, schrieb Daniel Dekkers:
Just a thought.
Just a thought on your thought.
We are incorporating 3rd party library Bullet in our own library.
This can
be done on two levels (via an option). Either by sources (which is
standard
practice with Bullet), or by linking to the buil
Am 04.11.2011 12:35, schrieb Ludovic Hoyet:
But my variable ${a} was not set in the a project CMakeLists.txt but
in the
root CMakeLists.txt file. If I don't make a mistake the variable
would be
accessible for all the subdirectories then.
Not in the example you posted.
HS
--
Powered by www.
Am 04.11.2011 11:44, schrieb Rolf Eike Beer:
Thanks, it solved it.
I thought that using set(a project_a) then using ${a} would be the
same
than using project_a (therefore I could use the same variable
everywhere
and simply change the target name in the set). But it seems it is
not the
same.
Am 03.11.2011 15:51, schrieb Mauricio Klein:
Thank you Raphael, it worked!
One last question: i've tried to compile my code using static
linkage, once
i need my daemon runs in many Linux releases. But, even static, in
many
systems my code crashes because the GLIBC version.
My question is: as
Am 03.11.2011 12:42, schrieb Hendrik Sattler:
Am 03.11.2011 12:26, schrieb John R. Cary:
Feels like I am doing something wrong.
Looking for multiple libraries:
$ cat CMakeLists.txt
set(mylibdir /contrib/netcdf-4.1.2-ser/lib)
foreach (name netcdf_c++ netcdff netcdf)
message("Lookin
Am 03.11.2011 12:26, schrieb John R. Cary:
Feels like I am doing something wrong.
Looking for multiple libraries:
$ cat CMakeLists.txt
set(mylibdir /contrib/netcdf-4.1.2-ser/lib)
foreach (name netcdf_c++ netcdff netcdf)
message("Looking for ${name} in ${mylibdir}.")
find_library(mylib NAMES
On Thu, 27 Oct 2011 05:40:24 -0700, Phil Smith wrote:
Hmm. My zosport.cmake is now (comments/blank lines removed):
SET(CMAKE_SYSTEM_NAME "IBM_ZOS")
SET(CMAKE_C_COMPILER_ID_RUN 1)
SET(CMAKE_C_PLATFORM_ID "MyPlatform")
SET(CMAKE_C_COMPILER_ID "MyCompiler")
SET(CMAKE_C_COMPILER "regina")
SET(CMAK
Please keep the discussion on-list!
On Tue, 18 Oct 2011 14:23:37 +0200, David Boesner wrote:
i read that in an errormessage as i was trying make
That is quite unclear. Can you be a bit more verbose?
2011/10/18 Hendrik Sattler
On Tue, 18 Oct 2011 14:13:35 +0200, David Boesner wrote:
i
On Tue, 18 Oct 2011 14:13:35 +0200, David Boesner wrote:
i wanted to use pkg-config, but that is expired
Where did you read that? There is still a pkg-config file:
/usr/lib/pkgconfig/gtk+-3.0.pc
Please keep the discussion on-list.
2011/10/18 Hendrik Sattler
On Tue, 18 Oct 2011 14:07:28
On Tue, 18 Oct 2011 14:07:28 +0200, David Boesner wrote:
The error is, that gtk/gtk.h is not found
Path of that file in Debian: /usr/include/gtk-3.0/gtk/gtk.h
So you may want to give CMake a hint to /usr/include/gtk-3.0.
But this path can change. So you may want to consider to use
pkg-config.
On Thu, 13 Oct 2011 12:09:41 -0500, Robert Dailey wrote:
First of all I'm using cmake 2.8.6 and generating Visual Studio 2003
projects with it.
There is a particular project that needs to first copy its header
files to a
specific directory in a specific structure. After that, all other
project
Zitat von Micha Renner :
Am Donnerstag, den 29.09.2011, 09:22 +0200 schrieb Hendrik Sattler:
Zitat von Michael Wild :
> Just a few of my thoughts on this:
Same for me.
> - There are several ways to handle dead symlinks:
> 1. Don't check, let the linker complain (status quo
Zitat von Michael Wild :
Just a few of my thoughts on this:
Same for me.
- There are several ways to handle dead symlinks:
1. Don't check, let the linker complain (status quo)
2. Check whether the found library is a symlink, and if not valid,
remove it silently from the list of candi
Am Dienstag, 2. August 2011, 21:55:16 schrieb Alexander Neundorf:
> Hi,
>
> until recently, I recommended to install Config.cmake files more or less
> like this:
>
> install(FILES FooConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/Foo )
>
> with LIB_SUFFIX being "64" on systems where this is req
Zitat von Eric Noulard :
2011/7/29 Bjørn Forsman :
As you guessed this is impossible without backward compat' breakage.
e.g. be aware that with "CPACK_SET_DESTDIR" set to ON RPM and DEB
behavior changes
namely RPM package built with that may not be relocatable.
What do you mean with 'not rel
Am Montag, 27. Juni 2011, 18:40:19 schrieb Todd Gamblin:
> On Jun 26, 2011, at 7:12 AM, Owen Shepherd wrote:
> > On 25/06/2011 07:30, "Michael Hertling" wrote:
> >> On 06/24/2011 04:16 PM, Owen Shepherd wrote:
> >>> I think the appropriate solution here is a project-specific dialect
> >>> flag -
>
Zitat von Raymond Wan :
Hi Hendrik,
Thank you for the suggestions!
On Tue, Jun 7, 2011 at 17:02, Hendrik Sattler
wrote:
Zitat von Raymond Wan :
I think/hope so far things are ok... I can compile Y and run it with
no problems. The problem is that X needs access to this generated
Zitat von Raymond Wan :
Hi all,
I'm having a problem which I can't quite figure out how to solve.
Basically, I have C++ source code in two directories, each for a
different class. Let's say:
src/X
src/Y
Each one makes a different class but ultimately X makes use of Y
(i.e., an instance of Y
Am Sonntag, 5. Juni 2011, 18:16:03 schrieb Michael Wild:
> On 06/05/2011 05:34 PM, Hendrik Sattler wrote:
> > Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly:
> >> Hendrik Sattler wrote:
> >>> Really why? There is no dynamic content in such a header file.
&g
Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly:
> Hendrik Sattler wrote:
> > Really why? There is no dynamic content in such a header file.
>
> I'm not sure what you mean? Could you be more specific?
This header file only contains static content. You don't
Am Samstag, 4. Juni 2011, 21:17:49 schrieb Stephen Kelly:
> Hi,
>
> I came up with an idea to simplify the creation of export headers for
> hidden visibility by using configure_file.
>
> After implementing it I saw that the idea has come up before :)
>
> http://www.mail-archive.com/cmake@cmake.o
Zitat von Maxime Lecourt :
I'm having what is probably a newbie problem, but a problem to me.
I have C source files in two different directories, that I use to build a
dll, that is loaded by another C++ project.
I tried to build C objects and link with C++
set_target_properties(ppc PROPERTIES L
Zitat von Sanatan Rai :
The `global initialisation' stuff is just the following pattern:
namespace {
helper1 *helper1Creator()
{
return (new helper1());
}
const bool helper1Registered = factory::instance().registerhelper
("helper1", helper1Creator);
}
So when I put the helpers i
Am Montag, 23. Mai 2011, 01:36:14 schrieb Sanatan Rai:
> After cmake, and make all, the libraries build as static archives, ie I get
> liblib1.a, liblib2.a, libhelper1.a, libhelper2.a and executable myProj in
> the appropriate locations. However, the executable myProj does not appear
> to have link
Am Montag 18 April 2011, 15:25:24 schrieb Łukasz Tasz:
> Hi all,
>
> I got a simple question,
>
> What is idea behind target property LINK_FLAGS?
>
> When I add linker flag e.g --no-undefined then cmake is not alligning
> it to real linker that will be used during linking.
>
> for example --no-
Zitat von Valeriy Bykov :
So I'll try to describe all my problems:
I want to build all the project statically using certain version of glibc,
gcc and all other libs I need. They are situated in the folder "builddeps"
which I can simply checkout on any host and pass it's path to CMake.
I set comp
Am Montag 14 März 2011, 16:35:21 schrieb Óscar Fuentes:
> Hendrik Sattler
>
> writes:
> > Zitat von Óscar Fuentes :
> >> There are target properties such as LINK_FLAGS and LINK_FLAGS_,
> >> but I don't see properties for setting compiler flags. This makes
&
Zitat von Óscar Fuentes :
There are target properties such as LINK_FLAGS and LINK_FLAGS_,
but I don't see properties for setting compiler flags. This makes
impossible to build two targets on the same CMakeLists.txt with
different compiler flags (I was told that the last value of
CMAKE__FLAGS_ ap
Zitat von Vladislav Vaintroub :
For the Windows platform I am generating the .DEF files with all
defined
symbols to be exported. For this I need to get the list of all object
files (.obj)
participating into a library.
Are you trying to export all symbols from a shared library, somethin
Zitat von "Michael Wild" :
Now, if you want to mix-and-match, by having this include-path:
-I/usr/include -I/usr/local/include
(i.e. use /usr/include/foo.h and /usr/local/include/bar.h) you're in
trouble, because CMake will filter out the /usr/include directory,
leaving you with /usr/local/incl
Am Dienstag 18 Januar 2011, 19:02:15 schrieb Hendrik Sattler:
> Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot:
> > On 18/01/11 16:15, David Cole wrote:
> > > Your confusion is that you are looking for a "2010" -- there isn't one
> > > --
Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot:
> On 18/01/11 16:15, David Cole wrote:
> > Your confusion is that you are looking for a "2010" -- there isn't one
> > -- there is "Visual Studio 10"
>
> David,
>
> This is indeed a mess in CMake.
> There is no such product as Visual Stu
Am Freitag, 14. Januar 2011, 16:48:44 schrieb Andreas Schneider:
> On Friday 14 January 2011 16:32:16 you wrote:
> > Andreas,
>
> Hi Allen,
>
> > Thanks, I do have most everything working, setting the version was
> > the
> >
> > key!
> > Concerning the '.' at the beginning of my proposed
Am Donnerstag, 13. Januar 2011, 02:10:12 schrieb Darren Hollenbeck:
> I am using CMake to cross compile with an arm toolchain and getting a
> linker error:
> undefined reference to `__sync_fetch_and_add_4'
>
> the toolchain has both a shared and static libgcc:
> ./lib/gcc/arm-linux-gnueabi/4.5.2/l
Zitat von "Thomas Petazzoni" :
On Tue, 11 Jan 2011 01:42:47 +0100
Michael Hertling wrote:
Since CMake prefers to specify libraries by path instead of using
-l/-L or the like, there's usually no need for the LINK_DIRECTORIES()
command, IMO.
Sorry to jump into the discussion, but I'm having a
Am Freitag, 3. Dezember 2010, 13:06:41 schrieb Andrea Galeazzi:
> How can I specify the "as" command like I do for gcc or g++ compiler in
> a toolchain?
> SET(CMAKE_C_COMPILER "C:/Programmi/development/GCCARM/bin/gcc.exe")
>
http://www.cmake.org/Wiki/CMake/Assembler
HS
101 - 200 of 643 matches
Mail list logo