Mateusz Loskot wrote:
> On 12 July 2012 00:24, Aashish Chaudhary
wrote:
> > Hi Mateusz,
> >
> > I don't have both files in front of me. Whats the difference between
> > the one in the slicer and once in the CMake?
>
> CMake's current version [1] defines:
>
> # GIT_EXECUTABLE - path to git c
I was able to fix my problem by adding the replacement of "\\\"" (escaped
quote) before the actual replacement of the non-escaped quote in the
generator.
Here is the patch:
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx
b/Source/cmVisualStudioGeneratorOptions.cxx
index 9369af6..5371d0f 10
On 12 July 2012 00:24, Aashish Chaudhary wrote:
> Hi Mateusz,
>
> I don't have both files in front of me. Whats the difference between
> the one in the slicer and once in the CMake?
CMake's current version [1] defines:
# GIT_EXECUTABLE - path to git command line client
# GIT_FOUND - true if
Hi Mateusz,
I don't have both files in front of me. Whats the difference between
the one in the slicer and once in the CMake?
Thanks
On Wed, Jul 11, 2012 at 6:55 PM, Mateusz Loskot wrote:
> Folks,
>
> Can we simply replace the basic version of FindGit.cmake module
> available in the current re
Folks,
Can we simply replace the basic version of FindGit.cmake module
available in the current release and Git repo with this version from Slicer?
https://github.com/Slicer/Slicer/blob/master/CMake/FindGit.cmake
Git is a tool of enormous importance nowadays, as Subversion is.
It's pity function
Okay, none of these solutions give the expected result..
What is strange is that the ampersand character is correctly expanded into
the & tag, and in cmVisualStudioGeneratorOptions.cxx I can see that
replacement, as well as the quote being transformed (theoretically) into
the " tag..
Another thi
Hi,
I'm working with add_custom_command and add_custom_target commands
as implemented in CMake 2.8.8.
For my command and target, I set COMMENT property.
I'd like to understand the actual order in which COMMENT messages are
displayed for command vs target.
The documentation says:
"If COMMENT is s
Hi, I attempted to use create_test_sourcelist with a Fortran routines using the
recipe from the cmake book. The CMakeLists.txt and fortran file are given
below. The test *.cpp file is generated correctly, but the linker gives me this:
cd /home/eli/work/selfe_trunk/build/unittest/Hydro &&
/usr/lo
On 9 July 2012 08:17, Petr Kmoch wrote:
> [...]
> You have to create a custom command (using the OUTPUT signature) to
> actually do the preprocessing. If you're targetting gcc and Visual
> Studio, the command could look something like this:
>
> add_custom_command(
> OUTPUT myfile.sql
> COMMAND
On 07/11/2012 02:55 PM, Brad King wrote:
> This hunk:
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7ced0732#patch4
> Seems to have reversed a previous fix:
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=43cad3e4
> of a problem similar to what we observe here.
This should fix it:
On 07/11/2012 02:29 PM, Brad King wrote:
> Try adding the flag
>
> -DCMAKE_INSTALL_DEFAULT_COMPONENT_NAME=Unspecified
>
> to the CMake configuration step to work around the problem.
Nevermind about this workaround. I had tested it with a leftover
build of a "good" version during git bisect.
T
On 07/11/2012 03:40 AM, Evgeni Golov wrote:
> Dear cmake maintainers, could you please have a look at the bug (and
> build log) and guess why 2.8.9 stopped building the libraries in the
> "mdrun" target? Is it a bad cmake file or a regression in cmake?
It is a regression in CMake AFAICT. I bise
Hi David,
Unfortunately, even that syntax still removes the quotes in the generated
project, but thanks for the heads up!
@Andreas: I'm going to check your solution, thanks!
Best,
François Best
Hardware & Software Engineer
Eiosis - http://www.eiosis.com/
2012/7/11 David Cole
> The syntax
The syntax in your original post is incorrect.
set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} /Test1:"Test1")
should be:
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Test1:\"Test1\"")
i.e., to CMake, the set call should look like two arguments here: the
variable name and a doubl
Hi,
On Wed, Jul 11, 2012 at 12:00:08PM -0400, cmake-requ...@cmake.org wrote:
> Date: Wed, 11 Jul 2012 17:09:01 +0200
> From: Fran?ois Best
>
> What I'm looking for is a way to achieve the following:
>
> In the project file:
> AdditionalOptions="/foo:"bar""
>
> Interpreted in the command-line a
Hi Kent,
Given the fact the parameter -R accepts a regular expression, you could use
the "^" and "$" associated with regular expression.
In your case, running:
ctest -R ^Foo$
will only execute test matching "Foo" where as running
ctest -R Foo
will execute tests having the string Foo wit
Hi all,
I'm following up on this subject, since I have the same problem as Luke,
which is to include quotes in VS 2008 options.
For example, in a test project, the following lines:
set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} /Test1:"Test1")
set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBU
Here's something I find really annoying: Someone who names tests such
that the name of one is a prefix of the name of another! So if you do
this:
ctest -V -R
You get every test whose name begins with .
Just had to vent.
--
Powered by www.kitware.com
Visit other Kitware open-source projects
Thank you so much Eric, yes I'll use rpm post/pre install script for
rpm package and put the generic solution worry aside for the time
being.
Cheers.
Jupiter
On 7/10/12, Eric Noulard wrote:
> 2012/7/10 jupiter :
>> Hi,
>>
>> I need to run shell script to do following check and to install
>> con
I found out what the problem was, one needs to run this special
environment script from Intel first to get some variables and paths
right first.
Dominik
On Tue, Jul 10, 2012 at 2:48 PM, Dominik Szczerba wrote:
> I am trying to compile my project with the Intel compiler on Windows
> 7, MSVC2010.
Hi Eli.
You have a typo in the macro: set_target_properties(${testmame} ...
If it's a direct copy&paste from your code, it might be the source if the issue.
Petr
On Wed, Jul 11, 2012 at 1:22 AM, Ateljevich, Eli wrote:
> My expectation from the documentation was that runtime output directories a
On 28/06/2012 11:20, Eric Noulard wrote:
2012/6/27 David Demelier :
Thanks for your help, it worked!
Now, the last problem, I noticed that CPACK_PACKAGE_EXECUTABLES you
can't set an icon, thus I used my own CreateShortCut and Delete with
respectively CPACK_NSIS_CREATE_ICONS_EXTRA and
CPACK_NSI
22 matches
Mail list logo