[CMake] How to force the configure step to start over

2010-11-14 Thread Diablo 666
Hi, > any ideas how to force it directly? for our projects, I use a variable called RESET_CACHE as a standard. Every FOOConfig.cmake, FindFoo.cmake, ... uses this variable to force resetting a lot of cache variables. So it suffices for a project to include this variable. Anyway, this does not h

Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

2010-11-14 Thread Eric Noulard
2010/11/14 Vladislav Vaintroub : >> Those vars may be set at CMake-time or at CPack-time. >> >> What do you think? > > Yes, sounds like a good idea, it allows the most flexibility.   Re. variables > , I guess  CPACK_MONOLITHIC_INSTALL={ON|OFF} and > CPACK__MONOLITHIC_INSTALL ={ON|OFF} would alrea

Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

2010-11-14 Thread Vladislav Vaintroub
> -Original Message- > From: Eric Noulard [mailto:eric.noul...@gmail.com] > Sent: Sunday, November 14, 2010 9:43 PM > To: Vladislav Vaintroub > Cc: CMake ML > Subject: Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime? > > 2010/11/14 Vladislav Vaintroub : > > > > [skip] > >> 1)

Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

2010-11-14 Thread Eric Noulard
2010/11/14 Vladislav Vaintroub : > > [skip] >> 1) Shall we step back and may be setup a CMake policy for >>     enabling component installer? >>     If we go for a policy may be someone can help me with this >>     because I did never add a new policy mayself. > > Sounds like a good idea. On the ot

Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

2010-11-14 Thread Vladislav Vaintroub
> Hi All, Hi Eric > I'm working on CPackRPM for supporting componentized RPM: > http://public.kitware.com/Bug/view.php?id=7645 > (preliminary support has been pushed to next yesterday) > > then another CPack-component related bug appeared: > http://public.kitware.com/Bug/view.php?id=11452 > >

Re: [CMake] How to Link in an Object file in Cmake

2010-11-14 Thread Alexander Neundorf
On Sunday 14 November 2010, Ted Kord wrote: > With, add_executable( foo.o), I got: > > Undefined symbols: > "func(thrust::host_vector >&)", referenced > from: > _main in main.cpp.o > ld: symbol(s) not found And that symbol is indeed in foo.o ? Alex ___

Re: [CMake] How to Link in an Object file in Cmake

2010-11-14 Thread Ted Kord
With, add_executable( foo.o), I got: Undefined symbols: "func(thrust::host_vector >&)", referenced from: _main in main.cpp.o ld: symbol(s) not found Ted 2010/11/14 Alexander Neundorf > On Sunday 14 November 2010, Ted Kord wrote: > > Hello > > > > I have an object file which

Re: [CMake] How to Link in an Object file in Cmake

2010-11-14 Thread Alexander Neundorf
On Sunday 14 November 2010, Ted Kord wrote: > Hello > > I have an object file which I'd like to link in during compilation of my > executable. I've tried adding it to each of the commands below with no > success for any: > > add_executable( foo.o) This should work. What error did you get ? A

[CMake] How to Link in an Object file in Cmake

2010-11-14 Thread Ted Kord
Hello I have an object file which I'd like to link in during compilation of my executable. I've tried adding it to each of the commands below with no success for any: add_executable( foo.o) set(CMAKE_CXX_FLAGS "... foo.o") target_link_libraries( foo.o) Is there a way to do thi

Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

2010-11-14 Thread Eric Noulard
2010/11/14 Eric Noulard : > Hi All, > > I'm working on CPackRPM for supporting componentized RPM: > http://public.kitware.com/Bug/view.php?id=7645 > (preliminary support has been pushed to next yesterday) > > then another CPack-component related bug appeared: > http://public.kitware.com/Bug/view.ph

[CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

2010-11-14 Thread Eric Noulard
Hi All, I'm working on CPackRPM for supporting componentized RPM: http://public.kitware.com/Bug/view.php?id=7645 (preliminary support has been pushed to next yesterday) then another CPack-component related bug appeared: http://public.kitware.com/Bug/view.php?id=11452 So I think that 1) May be g

Re: [CMake] header files with visual studio

2010-11-14 Thread Eric Noulard
2010/11/13 Oliver kfsone Smith : > I mostly work with emacs/vi and - prior to CMake - Makefiles. I'm still > mostly working with emacs/vi, but I also do a fair amount of work with > Visual Studio and CodeBlocks, primarily when I need to test client > interactions with server processes. > > Manually

Re: [CMake] Solution folder property does not work for external projects in cmake 2.8.3

2010-11-14 Thread Andreas Mohr
On Thu, Nov 04, 2010 at 09:28:57AM -0400, cmake-requ...@cmake.org wrote: > Message: 1 > Date: Thu, 4 Nov 2010 06:10:24 -0400 > From: David Cole > Subject: Re: [CMake] Solution folder property does not work for > external projects in cmake 2.8.3 > To: Jens Auer > Cc: cmake@cmake.org > Messag