Hi,
I am trying to create a Debian binary package using CMake/CPack and it
is quite a nice tool. I understand that CMake/CPack try to rely on
external tools as little as possible but there are 2 issues that I
encountered while using the Debian generator
1. Dependency list - It would save a lot of
On Thu, Feb 11, 2010 at 6:46 PM, Erwin Coumans wrote:
>
> I can't find where this INCREMENTAL:YES is coming from.
> Is there a better way than hacking the 'cmLocalVisualStudio7Generator
> ::GetBuildTypeLinkerFlags'
> to replace INCREMENTAL:YES by INCREMENTAL:NO?
> Thanks a lot,
> Erwin
I think it
I can't find where this INCREMENTAL:YES is coming from.
Is there a better way than hacking the 'cmLocalVisualStudio7Generator
::GetBuildTypeLinkerFlags'
to replace INCREMENTAL:YES by INCREMENTAL:NO?
Thanks a lot,
Erwin
//
Well, you can really just use forward slashes on all platforms - Not
really an answer to your direct question but might help you with the
underlying situation.
Ryan
On 02/11/2010 04:18 PM, Jeremy Nicholl wrote:
Are there any examples of how to create transform rules using e.g.
CMAKE_INCLUDE_T
Are there any examples of how to create transform rules using e.g.
CMAKE_INCLUDE_TRANSFORMS?
I'm using MSYS and I ran into an issue where one of my header files has the line
#include "foo\bar.h" // Note backslash
In this case, the dependency that gets generated simply appends "foo\bar.h" to
a wel
Load them from the target using the target properties:
get_directory_property(_include_dirs INCLUDE_DIRECTORIES)
set(_includeflags)
foreach(_dir ${_include_dirs})
list(APPEND _args "${YOURTOOL_INCLUDEPATH_ARG}${_dir}")
endforeach()
get_target_property(_sources "${_targetname}" SOURCES)
set(_f
OK, now I have it:
add_custom_target (syntax-check
COMMAND $(CXX) $(CXXFLAGS) -Wall -Wextra -pedantic -fsyntax-only
$(CHECK_SRC) VERBATIM)
But how can I get there the Defines and Includes from regular target
compile?
Thanks,
Olaf
___
Powered by www.k
Tyler Roscoe schrieb:
> On Wed, Feb 10, 2010 at 09:08:50PM +0100, Olaf Peter wrote:
>> How can I add an extra lint/syntax check target for my executable, like:
>>
>> check-syntax:
>> c++ -o /dev/null ${CXX_FLAGS} ${CXX_DEFINES} -S ${MY_PROJECT_SOURCES}
>> .PHONY: check-syntax
>
> You'll want
On Friday 05 February 2010, Mateusz Loskot wrote:
> Bill Hoffman wrote:
> > Eric Noulard wrote:
> >> That's true, may be the site could indicate that the doc is for latest
> >> 2.6.x serie.
> >> However the most trustfull way to check the doc of your current cmake
> >> version is the command line.
FYI, I won't put these in the issues tracker because I really don't
think these should be solved by the FindBISON module.
On Thu, 11 Feb 2010 10:57:44 -0200
Hilton Medeiros wrote:
> Hello,
>
> I'm using bison_target() from FindBISON with the C++ bison interface,
> on CMake 2.8.0. When using thi
2010/2/11 Will Dicharry :
> Is there a way to make an RPM package generated with CPack relocatable?
Should be possible, theoretically.
Currently the spec file generated by CPackRPM is not.
As far as I remember relocatable RPM should avoid absolute file
install and use %prefix directive.
(correct
No, you need to pass the definition with /D or -D: CMake internally
removes that prefix before adding it to your target properties (see the
property COMPILE_DEFINITIONS), and generates the build command
appropriately for the platform, with either /D or -D as the platform
requires. You can use
Hi.
As cmake should abstract us from the platforms, the compilo, etc. I wonder why
so much project returns XXX_DEFINITIONS including "-D".
So when we make ADD_DEFINITIONS(XXX_DEFINITIONS) everything work.
But when we do SET_PROPERTY( [...] COMPILE_DEFINITIONS [...] ) it doesn't work
anymore.
S
J Cook wrote:
Hi
Im trying to compile paraview from souce onto my computer in order to run
some plugins which require the source version. My computer is currently
running on Windows XP. The C compiler i am using is Microsoft Visual
Studio 2008 (version 9.0). Im very new to using these types of pr
Hi
Im trying to compile paraview from souce onto my computer in order to run
some plugins which require the source version. My computer is currently
running on Windows XP. The C compiler i am using is Microsoft Visual
Studio 2008 (version 9.0). Im very new to using these types of programs
and I kee
Is there a way to make an RPM package generated with CPack relocatable?
Thanks in advance,
-- Will
--
Will Dicharry
Software Developer
Stellar Science Ltd Co
smime.p7s
Description: S/MIME Cryptographic Signature
___
Powered by www.kitware.com
Visit
Hi Philip
Philip Lowman wrote:
On Wed, Feb 10, 2010 at 11:37 AM, David Cole wrote:
If anybody has other ideas to share downloads between "Release" and "Debug"
configurations, or other ways to avoid "unnecessary" downloads better, or
other ideas for any ExternalProject improvement, I'm all e
Zitat von Clinton Stimpson :
If your library is only ever built as shared, sure, you don't cmake to
generate code.
Otherwise, the code needs that bit of information from the build system.
I'd rather have a configured header file with that info in it.
cmake already does that (equally to libtool)
On 11.02.10 16:09:34, Hendrik Sattler wrote:
> Zitat von Michael Wild :
>
>>
>> On 11. Feb, 2010, at 15:40 , Hendrik Sattler wrote:
>>
>>> Zitat von Bill Hoffman :
That said, you could have CMake configure a .h file that had this stuff
in it. It might be nice if the function did that aut
On 02/11/2010 07:40 AM, Hendrik Sattler wrote:
Zitat von Bill Hoffman :
That said, you could have CMake configure a .h file that had this stuff
in it. It might be nice if the function did that automatically, as it
is almost the same code for every project. Then once your project was
built with
Zitat von Michael Wild :
On 11. Feb, 2010, at 15:40 , Hendrik Sattler wrote:
Zitat von Bill Hoffman :
That said, you could have CMake configure a .h file that had this stuff
in it. It might be nice if the function did that automatically, as it
is almost the same code for every project. The
On 11. Feb, 2010, at 15:40 , Hendrik Sattler wrote:
> Zitat von Bill Hoffman :
>> That said, you could have CMake configure a .h file that had this stuff
>> in it. It might be nice if the function did that automatically, as it
>> is almost the same code for every project. Then once your project
Zitat von Bill Hoffman :
That said, you could have CMake configure a .h file that had this stuff
in it. It might be nice if the function did that automatically, as it
is almost the same code for every project. Then once your project was
built with CMake, you would install the configured .h file
Wrong mailing list, use the cdash mailing list.
Marcel Loose wrote:
Hi all,
I'm experiencing an LDAP problem with CDash. When I try to log into
CDash for the first time as a valid LDAP user, I get the message:
No givenname (cn) set in LDAP, cannot register user into MIDAS
Now I've been diggi
Hilton Medeiros wrote:
Wow, now you got me.
That is why I love discussions.
Thanks for your insight, now I (my hard-as-rock head) can understand
why this is not feasible.
As a side note I think this should be in a list, maybe in the wiki, to
advise others no to do this. A list of 'do not even th
On Wed, Feb 10, 2010 at 10:49 AM, Will Dicharry
wrote:
>> My only other comment is that some modules already use the following
>> form (usually due to someone adding DEBUG support later)
>> FOO_LIBRARY (cache variable)
>> FOO_LIBRARY_DEBUG (cache variable)
>> FOO_LIBRARIES (normal variable with de
Hello,
I'm using bison_target() from FindBISON with the C++ bison interface,
on CMake 2.8.0. When using this interface the following extra files
are generated by bison:
location.hh
position.hh
stack.hh
They do not get listed in BISON_target_OUTPUTS and do not get erased in
'make clean'.
See he
Also,
I want this custom command depend on some other file, lets say the input
perl script. If my perl script changes, It has to run the commands again.
How to specify the dependencies ?
I cannot use Add_Custom_Command () with build event argument and dependency
information.
Thanks in advance,
Sur
Hello all,
In my project, I've added a custom command, which is supposed to run as POST
BUILD event. Its some thing like this.
For each of the source file in the directory, run a perl script on that
source file and create some output file.
Lets say I've 100 source files, so I end with 100 post bui
Hi all,
I'm experiencing an LDAP problem with CDash. When I try to log into
CDash for the first time as a valid LDAP user, I get the message:
No givenname (cn) set in LDAP, cannot register user into MIDAS
Now I've been digging in the PHP-code a bit, but I know little PHP.
The problem seems to be
> -Original Message-
> Subject: [CMake] FindBoost: Boost_ADDITIONAL_VERSIONS : what to do for trunk
> Hi,
> I use the trunk checkout of boost as well as released versions.
> I have it installed under \Program Files
>- boost-trunk
>- boost_1_41_0
> Is there any support at all for
On 2010-02-11 09:13, Michael Wild wrote:
You might want to take a look at setlocal/endlocal:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true
Oh, I had completely forgotten that those commands exist too. That might
be the solution, actually!
On 11. Feb, 2010, at 9:07 , Arjen Markus wrote:
>
>
> On 2010-02-11 01:20, David Cole wrote:
>> On Wed, Feb 10, 2010 at 7:16 PM, Alan W. Irwin
>
>>Would setting that environment variable from cmake affect subsequent
>>Windows
>>builds? I don't have any Windows development experie
On 2010-02-11 01:20, David Cole wrote:
On Wed, Feb 10, 2010 at 7:16 PM, Alan W. Irwin
Would setting that environment variable from cmake affect subsequent
Windows
builds? I don't have any Windows development experience, but this
question
just came up on the PLplot list.
34 matches
Mail list logo