Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Christian Ehrlicher
> Von: "Ilya Shvetsov" > > Are libA.lib targets built by cmake in the same solution? > No. This is library from extranal engine. > The first thing which is obviously wrong is that you write 'foo.lib' instead of 'foo'. It pins the whole thing to msvc and I'm really gald that it works :) Also you

Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Ilya Shvetsov
On Wed, 09 Apr 2008 09:40:54 +0300, Vladimir Sysoev <[EMAIL PROTECTED]> wrote: Ilya, may be it helps you. - *ADD_DEPENDENCIES*: Add a dependency between top-level targets. ADD_DEPENDENCIES(target-name depend-target1 depend-target2 ...) It will help if libA li

Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Ilya Shvetsov
Are libA.lib targets built by cmake in the same solution? No. This is library from extranal engine. -- Ilya Shvetsov KranX Productions ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Vladimir Sysoev
Ilya, may be it helps you. - *ADD_DEPENDENCIES*: Add a dependency between top-level targets. ADD_DEPENDENCIES(target-name depend-target1 depend-target2 ...) Make a top-level target depend on other top-level targets. A top-level target is one created by ADD_EXE

Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Timenkov Yuri
On Wednesday 09 April 2008 10:13:58 Ilya Shvetsov wrote: > On Wed, 09 Apr 2008 07:32:59 +0300, Vladimir Sysoev > > <[EMAIL PROTECTED]> wrote: > > Ilya, > > I suppose you have to specify your libraries as dependency to target. > > > > - vladimir > > I did. > I give example just to show. > > Project(

Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Ilya Shvetsov
On Wed, 09 Apr 2008 07:32:59 +0300, Vladimir Sysoev <[EMAIL PROTECTED]> wrote: Ilya, I suppose you have to specify your libraries as dependency to target. - vladimir I did. I give example just to show. Project(Exmple) ADD_EXECUTABLE(Example main.cpp) TARGET_LINK_LIBRARIES(Example libA.lib

Re: [CMake] CMake-CPack-NSIS

2008-04-08 Thread Alin M Elena
Hi Eric, Thanks. That's the idea it worked. Alin -Original Message- From: Eric Noulard [mailto:[EMAIL PROTECTED] Sent: 08 April 2008 19:57 To: [EMAIL PROTECTED] Cc: CMake ML Subject: Re: [CMake] CMake-CPack-NSIS 2008/4/8, Alin M Elena <[EMAIL PROTECTED]>: > Thanks Eric, > > > I refo

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-08 Thread Andreas Pakulat
On 08.04.08 16:43:30, Doug Gregor wrote: > On Tue, Apr 8, 2008 at 5:54 AM, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > New version uploaded. > > I've looked through this module a bit, and it looks like it's in great > shape. I have a few suggestions, implemented in the attached > FindBoost.cma

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-08 Thread Doug Gregor
On Tue, Apr 8, 2008 at 5:54 AM, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > New version uploaded. I've looked through this module a bit, and it looks like it's in great shape. I have a few suggestions, implemented in the attached FindBoost.cmake; the diff against "v9" from the bug tracker follow

Re: [CMake] CMake-CPack-NSIS

2008-04-08 Thread Eric Noulard
2008/4/8, Alin M Elena <[EMAIL PROTECTED]>: > Thanks Eric, > > > I reformulate the problem. > > >> I want to setup a variable(TestVar) on windows when I use > NSIS > >> using cmake/cpack. > > >> A small example is presented here > >> http://nsis.sourceforge.net/Set

Re: [CMake] CMake-CPack-NSIS

2008-04-08 Thread Eric Noulard
2008/4/8, Alin M Elena <[EMAIL PROTECTED]>: > > > > > Hi, > > > > I want to setup a variable(TestVar) on windows when I use NSIS > using cmake/cpack. > > A small example is presented here > > > http://nsis.sourceforge.net/Setting_Environment_Variables >

[CMake] CMake-CPack-NSIS

2008-04-08 Thread Alin M Elena
Hi, I want to setup a variable(TestVar) on windows when I use NSIS using cmake/cpack. A small example is presented here http://nsis.sourceforge.net/Setting_Environment_Variables The idea is that the project.nsi which is create

Re: [CMake] CMake 2.6.0 RC 6 ready for testing

2008-04-08 Thread Bill Hoffman
David Thulson wrote: Hello, I installed RC6 from the OSX dmg. While the .app file itself seems fine, it still did not overwrite the links to a previous version in /usr/bin/ even though I explicitly confirmed that the installer should put links in /usr/bin/. I have mentioned this a few times a

[CMake] C++ Exceptions, C sources & MSVC80

2008-04-08 Thread Nicolas Tisserand
Hi CMakers, I have a CMake project where C and C++ sources are compiled and linked in the same target (a static library). The default setting of the generated Visual C++ 2005 projects is to enable C++ exceptions for C++ code and disable it for C code (/EHsc, see below). However, I need to change

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-08 Thread Andreas Pakulat
On 08.04.08 09:04:52, Sören Freudiger wrote: > Hi out there > The new macro is pretty nice. > But one section is still missing: > > IF (MSVC90) > SET (_boost_COMPILER "-vc90") > ENDIF(MSVC90) Aah, right. thx. Totally forgot that one's got released already :) > And the option for the new

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-08 Thread Sören Freudiger
Hi out there The new macro is pretty nice. But one section is still missing: IF (MSVC90) SET (_boost_COMPILER "-vc90") ENDIF(MSVC90) And the option for the newest boost release ver. 1.35 So long, SirAnn -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE