[CMake] CMAKE_INSTALL_PREFIX not working in Visual Studio

2008-10-18 Thread Sam Baker
In my project file I have near the top of the file, the line: set(CMAKE_INSTALL_PREFIX ${APP_INSTALL_DIR}/MyApp) Which I thought would force all install destinations to be relative to that directory. Later in the same CMakeLists.txt file, I have some install commands: INSTALL(TARGETS My

[CMake] Simple CPack example is needed...

2008-10-18 Thread Dick Munroe
I've gotten to the point where I need to build an installer and want to use CPack. The available documentation is pretty impenetrable and I can't find any simple examples on the web. I've found a bug in the CPack.make file shipped with CMake 2.6.2 (in the section of the file following the com

Re: [CMake] mixed java/c project.

2008-10-18 Thread George Neill
Hi All, On Sat, Oct 18, 2008 at 2:01 AM, George Neill <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to convert a project to cmake which has mixed java and c > compilations. Here's the project layout, > > project/ > -> src/c > -> src/java > > I get the java project to build fine i

Re: [CMake] What to cache and what not

2008-10-18 Thread Andreas Pakulat
On 18.10.08 18:01:51, Alexander Neundorf wrote: > On Saturday 18 October 2008, Andreas Pakulat wrote: > > Hi, > > > > I'm a bit confused from readme.txt in the Modules directory, regarding > > which variables in a FindFoo.cmake or in my case FooConfig.cmake should > > be cached. > > > > I'm going t

Re: [CMake] What to cache and what not

2008-10-18 Thread Alexander Neundorf
On Saturday 18 October 2008, Andreas Pakulat wrote: > Hi, > > I'm a bit confused from readme.txt in the Modules directory, regarding > which variables in a FindFoo.cmake or in my case FooConfig.cmake should > be cached. > > I'm going to provide a Foo_INCLUDE_DIR and a couple of Foo_LIBX_LIBRARY > v

[CMake] What to cache and what not

2008-10-18 Thread Andreas Pakulat
Hi, I'm a bit confused from readme.txt in the Modules directory, regarding which variables in a FindFoo.cmake or in my case FooConfig.cmake should be cached. I'm going to provide a Foo_INCLUDE_DIR and a couple of Foo_LIBX_LIBRARY variables and I'm wondering wether I should cache both or not? And

[CMake] mixed java/c project.

2008-10-18 Thread George Neill
Hi all, I am trying to convert a project to cmake which has mixed java and c compilations. Here's the project layout, project/ -> src/c -> src/java I get the java project to build fine if I use the top level CMakeLists.txt file, but if I use add_subdirectory(src/java) in the top l