[CMake] sub source groups in a vcproj project.

2006-05-03 Thread Sylvain Benner
Hello, I'm a new user. I want to use cmake for our cross-platform software. I'm trying to generate a vcproj project with subsource groupsbut it seems to be impossible with the current version of cmake. I coded this, but I can't have sub source groups with it : #

Re: [CMake] behaviour of CMAKE_INCLUDE_CURRENT_DIR ?

2006-05-03 Thread Brad King
Alexander Neundorf wrote: Hi, how does CMAKE_INCLUDE_CURRENT_DIR behave ? Let's say I do SET(CMAKE_INCLUDE_CURRENT_DIR ON) in my toplevel src/CMakeLists.txt. If a src/sub1/CMakeLists.txt contains add_executable(hello main.cpp) src/sub1/ will be part of the include path.

Re: [CMake] Xcode generator problems

2006-05-03 Thread Brad King
Axel Roebel wrote: Thanks, in fact I found the problem! It is due to the repeated call of CollapseFullPath () which is used to determine the current absolute path cmDependsC.cxx for each dependency file with absolute path. This call is extremely costly on the mac. And it seems completely

Re: [CMake] building executable from static libs / rpath

2006-05-03 Thread Brad King
Christian Lang wrote: Then link them together into an executable: ADD_EXECUTABLE(exe ...) TARGET_LINK_LIBRARIES(exe ${START_WHOLE_ARCHIVE} ${SOURCE_LIBS} ${END_WHOLE_ARCHIVE} ${LIBS}) where SOURCE_LIBS are the static libs built in step one and LIBS are some shared libs. (START_WHOLE_ARCHIVE

Re: [CMake] Build/Link with static libs

2006-05-03 Thread Brad King
Christian Lang wrote: Christian Lang wrote: Alexander Neundorf schrieb: my first problem is solved: To link against foo/libbar.a, the link line options -Lfoo -lbar are produced. This works. But what if for some reason I do not want to use it this way, but want to directly specify

Re: [CMake] Xcode generator problems

2006-05-03 Thread Axel Roebel
On Wednesday 03 May 2006 16:08, you wrote: Axel Roebel wrote: Thanks, in fact I found the problem! It is due to the repeated call of CollapseFullPath () which is used to determine the current absolute path cmDependsC.cxx for each dependency file with absolute path. This call is

[CMake] Make dist?

2006-05-03 Thread Craig Bradney
Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is there a cmake/make target possible? thanks Craig Scribus Team ___ CMake mailing list CMake@cmake.org

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Wednesday 03 May 2006 23:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is there a cmake/make target possible? To clarify, I have a basic solution based on an old ML posting that finds tar

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: On Wednesday 03 May 2006 22:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is there a cmake/make target possible? thanks Craig

Re: [CMake] Make dist?

2006-05-03 Thread Filipe Sousa
On Wednesday 03 May 2006 23:08, Craig Bradney wrote: On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: On Wednesday 03 May 2006 22:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Thursday 04 May 2006 00:25, Filipe Sousa wrote: On Wednesday 03 May 2006 23:08, Craig Bradney wrote: On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: On Wednesday 03 May 2006 22:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
For a more comple example have a look at CMakeLists.txt of cmake: http://public.kitware.com/cgi-bin/viewcvs.cgi/CMakeLists.txt?rev=1.104ro ot =CMakeview=markup Ah! Legend.. thanks heaps. I'll sort the rest, ie copy and change :) Ok works :) No bzip2 support tho? Pity. Craig

Re: [CMake] Make dist?

2006-05-03 Thread Andy Cedilnik
Give me a second... Andy William A. Hoffman wrote: At 07:44 PM 5/3/2006, Craig Bradney wrote: Bill? Any ideas on adding bzip2 support? The Scribus bz2 is 2mb smaller (~10 vs ~12mb) so its a good % of the total. CPack is really in beta. bz2 support should not be that hard to

Re: [CMake] Make dist?

2006-05-03 Thread Andy Cedilnik
Hi, Instead of looking through the source code, you can also just type: cpack --help Andy Filipe Sousa wrote: On Thursday 04 May 2006 00:18, Craig Bradney wrote: For a more comple example have a look at CMakeLists.txt of cmake: