Hello,
I am using Visual Studio 8 and cmake 2.4p7 and am trying to set the
configuration for a specific project to 'Release'. So I added
SET(CMAKE_BUILD_TYPE Release)
to CMakeLists.txt and ran cmake. The Visual Studio configuration manager
still lists all projects in 'Debug' configuration.
What
Gonzalo Garramuño wrote:
I was wondering what's the best way to determine if a target exists.
I wanted to modify a target's properties but depending on the type of
build, it may not always exist.
You could do this:
GET_TARGET_PROPERTY(target_location target_name LOCATION)
target_location
How I can help to fix cmake bugs?
Recently the problem is described
http://www.cmake.org/Bug/view.php?id=5836 the fix is suggested, bug
still no any reaction for the problem.
Best regards, Ihalainen Nickolay
___
CMake mailing list
CMake@cmake.org
http://
Brad King schrieb:
Christian Ehrlicher wrote:
Hi,
I currently can't compile kdebase/konqueror because the paths exceeds
the max path length:
D:\kde-msvc\tmp\kdebase-beta3-3.94.1.20071011\work\kdebase\apps\konqueror\sidebar\trees\konq_sidebartreetoplevelitem.cpp
: fatal error C1083: Datei (vom
Hi,
I'm running winXP and want to develop in C++ using Microsoft Visual Studio
.NET 2003. I downloaded the VTK source and CMake, installed CMake and am
trying to use it to create the .sln file for Visual Studio to compile the
library binaries. So, I setup CMake by giving it the source code folde
Hi,
Actually the library isn't build by CMake. It is a 3rd party library already
builded (a .dylib actually) so it doesn't answer the question, sorry.
Regards,
Félix
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
I was wondering what's the best way to determine if a target exists.
I wanted to modify a target's properties but depending on the type of
build, it may not always exist.
--
Gonzalo Garramuño
[EMAIL PROTECTED]
AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy
__
Christian Ehrlicher wrote:
> Hi,
>
> I currently can't compile kdebase/konqueror because the paths exceeds
> the max path length:
>
> D:\kde-msvc\tmp\kdebase-beta3-3.94.1.20071011\work\kdebase\apps\konqueror\sidebar\trees\konq_sidebartreetoplevelitem.cpp
> : fatal error C1083: Datei (vom Compiler
On Thursday 11 October 2007 17:27, Neumann, Jan (SCR US) wrote:
> Hi,
>
> I was wondering if it is possible to use CMake to generate Visual Studio
> 2003 or 2005 project files that will use the Intel C++ compiler.
I think this is not supported.
> Currently, I am generating first the Visual Studio
On Wednesday 10 October 2007 22:32, Eric Noulard wrote:
> 2007/10/10, kent williams <[EMAIL PROTECTED]>:
> > I just installed the CVS CMake. There is a CPackRPM.cmake file in the
> > Modules directory, but it's not clear to me how to tell CPack I want
> > to generate an RPM, or a Source RPM.
>
> I
What is the value of CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR?
On 10/11/07, Christian Ehrlicher <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I currently can't compile kdebase/konqueror because the paths exceeds
> the max path length:
>
> D:\kde-msvc\tmp\kdebase-beta3-3.94.1.20071011\work\kdebase\apps\konquer
On Friday 28 September 2007 14:05, Joachim Ziegler wrote:
> Hello list,
>
> I wonder what the difference is between making the target
>
> $ make rebuild_cache
>
> and a run of
>
> $ cmake /path/to/CMakeLists.txt
I think there is no difference.
Alex
___
Hi,
I currently can't compile kdebase/konqueror because the paths exceeds
the max path length:
D:\kde-msvc\tmp\kdebase-beta3-3.94.1.20071011\work\kdebase\apps\konqueror\sidebar\trees\konq_sidebartreetoplevelitem.cpp
: fatal error C1083: Datei (vom Compiler generiert) kann nicht geöffnet
werden:
"
If the library is built by CMake, you can use the INSTALL_NAME_DIR
property to achieve @executable_path or @loader_path relative
references. This example comes from
CMake/Tests/BundleTest/CMakeLists.txt:
SET_TARGET_PROPERTIES(BundleTestLib PROPERTIES
INSTALL_NAME_DIR "@executable_path/../Plugins
For the mailing list:
David,
Thank you for you fast answer.
>
> 1. Yes, I actually want to copy some libOne.dylib directly into the bundle
> so all the required library can be into the .app bundle (at the same place
> the executable is) and not outside. Another way to say it would be that I
> w
along these same lines, how is cmake handling the issue with paths in
OS X libraries such as @executable_path/../Frameworks ?
Simply copying the library inside the App bundle will not work most
of the time. Is there any upcoming support to allow the setting of
the rpath in generated librari
hi,
I tried to generate an xcode project file with a mixed fortran and c
project, but I get an error messsage due to the fortran compiler,
whatever compiler I use.
If I generate the same for kdevelopp3, it works just fine, and if I get
ride of the fortran part, it generates the file without any
On 10/11/07, Félix C. Morency <[EMAIL PROTECTED]> wrote:
> 1. Is there any way to include 3rd party libraries in a generated bundle
> (.app) with CMake/CPack (.dmg) ? Currently, the 3rd party are out of the
> bundle and this is quite ungood since the bundle architecture provides
> resources support
Hi,
Is ADD_CUSTOM_TARGET the best method to compile java files and
create a jar? I tried ADD_LIBRARY with language enabled but the jar file
that is being built has more files in it than just the class file. Any
better solutions available?
__
Neumann, Jan (SCR US) wrote:
Hi,
I was wondering if it is possible to use CMake to generate Visual
Studio 2003 or 2005 project files that will use the Intel C++
compiler. Currently, I am generating first the Visual Studio project
and then use the Intel Project Converter that is installed int
Hi,
1. Is there any way to include 3rd party libraries in a generated bundle
(.app) with CMake/CPack (.dmg) ? Currently, the 3rd party are out of the
bundle and this is quite ungood since the bundle architecture provides
resources support. Anyone ever done it before ?
2. The PackageMaker (.dmg) a
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2007 16:40
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Removing the first element from a list
>
> correction:
>
> MACRO(SHIFT RESULT LISTVAR)
> LIST(GET ${LISTVAR} 1 ${RESULT})
> LIST(REMO
To clarify my question, should I expect changing
CMAKE_CXX_LINK_EXECUTABLE to apply to both targets in the example below?
This is cmake 2.4.7.
Regards,
Juan
Juan Sanchez wrote:
> Hello,
>
> Is it possible to build both purify and non purify targets by changing
> CMAKE_CXX_LINK_EXECUTABLE? Unf
But this doesn't?
MACRO(SHIFT RESULT LISTVAR)
LIST(GET LISTVAR 1 RESULT)
LIST(REMOVE_AT LISTVAR 1)
ENDMACRO(SHIFT)
MACRO(TEST)
SET(Q ${ARGN})
WHILE(${Q})
# Get the command
SHIFT(CMD Q)
MESSA
> -Original Message-
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2007 16:16
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Removing the first element from a list
>
>
> > How does one go about removing the first element of a list
> Have a look t
Hi,
I was wondering if it is possible to use CMake to generate Visual Studio
2003 or 2005 project files that will use the Intel C++ compiler.
Currently, I am generating first the Visual Studio project and then use
the Intel Project Converter that is installed into Visual Studio to
generate the In
> > How does one go about removing the first element of a list
> Have a look to the LIST command, you'll have everything you need.
Fantastic. That's not described in the book :).
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/l
How does one go about removing the first element of a list
Have a look to the LIST command, you'll have everything you need.
LIST
List operations.
LIST(LENGTH )
LIST(GET [ ...] variable>
)
LIST(APPEND [ ...])
LIST(INSERT[ ...])
LIST(REM
How does one go about removing the first element of a list? I want to
make a state machine, something like:
WHILE(${LISTVAR})
# Get command from first entry
SHIFT(CMD ${LISTVAR})
# Get argument
SHIFT(CMD ${LISTVAR}
2007/10/11, kent williams <[EMAIL PROTECTED]>:
> Thanks for your prompt reply. To some extent you're answering
> questions that come from me being an RPM newbie.
>
> My problem with the Source RPM generation is that it requires that my
> system -- the one building the source RPM, doesn't have CMak
If you only want to see whether tests succeed or fail, then you just
need to go to the build directory and type
make test
Or you can run ctest directly
ctest
If you want to see the output of your tests, then run
ctest -V
If you only care about one test
ctest -R testname_regexp
i.e. give a r
Thanks for your prompt reply. To some extent you're answering
questions that come from me being an RPM newbie.
My problem with the Source RPM generation is that it requires that my
system -- the one building the source RPM, doesn't have CMake
installed as an RPM.When I try and generate the so
Try SEPARATE_ARGUMENTS.
SET(Q "one;two;three")
SEPARATE_ARGUMENTS(Q)
FOREACH(I ${Q})
MESSAGE("I = ${I}")
ENDFOREACH(I)
SEPARATE_ARGUMENTS do the opposite, it converts a string to a list by
replacing spaces with ";"
In the case of Josef, nothing needs to be done since its string has
alrea
On Oct 11, 2007, at 6:42 AM, Josef Karthauser wrote:
Does anyone know how to turn a string, such as "one;two;three" into a
list, so that I can enumerate the elements in a list?
I want something like:
SET(Q "one;two;three")
FOREACH(I TO_LIST(Q))
...
ENDFO
Try SEPARATE_ARGUMENTS.
SET(Q "one;two;three")
SEPARATE_ARGUMENTS(Q)
FOREACH(I ${Q})
MESSAGE("I = ${I}")
ENDFOREACH(I)
On Oct 11, 2007, at 6:42 AM, Josef Karthauser wrote:
Does anyone know how to turn a string, such as "one;two;three" into a
list, so that I can enumerate the elements in a li
> Does anyone know how to turn a string, such as "one;two;three" into a
> list, so that I can enumerate the elements in a list?
>
> I want something like:
>
> SET(Q "one;two;three")
> FOREACH(I TO_LIST(Q))
> ...
> ENDFOREACH().
Ah, ignore me. Of course I just exp
Does anyone know how to turn a string, such as "one;two;three" into a
list, so that I can enumerate the elements in a list?
I want something like:
SET(Q "one;two;three")
FOREACH(I TO_LIST(Q))
...
ENDFOREACH().
Thanks,
Joe
__
Hello
I make a vtk project sucessfully with CMake. But when I use ClassWizard
menu, it told me that " ***.clw doesn't exist", and the ClassWizard menu is
blank after I select yes to build it from my project source.
so how can I use ClassWizard successfully?
thank you very much.
Hey there,
I've submitted a patch to the bug tracker, under number 0005865, for
people who generate make/nmake files under Windows with the Microsoft
compiler (cl.exe). The old behaviour was that the linker (link.exe) was
picked up from the path at compile time. The new behaviour is that it
is a
Hello all,
I am running a lot of tests with Ctest, and I would like to gather the
results. However I do not want to send them to a Dart server (not
really I do not want, but that is not the easiest way for me).
So I made a CTestConfig.cmake with some weird commands that make
Ctests -D unable to f
40 matches
Mail list logo