Re: [CMake] Finding cyclic dependency that trigger re-execution

2008-07-24 Thread Filipe Sousa
ere is the --graphviz option that generates dependencies between targets. -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] make arguments

2008-07-23 Thread Filipe Sousa
ING=/usr/bin/make -i -j2 -Bill There's always the MAKEFLAGS environment variable. $ export MAKEFLAGS="-j5" -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Avoid cmake forcing CMAKE_CXX_COMPILER

2008-04-05 Thread Filipe Sousa
Arunachalam Narayanaswamy wrote: > Hi, >Is there a way to avoid cmake forcing CMAKE_CXX_COMPILER? Here is my > problem. set the CXX environment variable to your compiler $ CXX=cpp_compiler cmake path_to_sources > I have a compiler and I have an MPI Wrapper written around this > compiler. I w

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Filipe Sousa
Alexander Neundorf wrote: On Thursday 03 April 2008, Alan W. Irwin wrote: One prinicipal problem I see with pkg-config is that it is intended to be used in such a way that the stdout is directly used as command line arguments for the compiler. E.g. instead of a list of include directories it

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

2008-04-02 Thread Filipe Sousa
You can close this http://public.kitware.com/Bug/view.php?id=6566 Bill Hoffman wrote: I am happy to announce that CMake 2.6.0 RC6 is ready for testing. You can find the source and binaries here: http://www.cmake.org/files/v2.6/. signature.asc Description: OpenPGP digital signature

Re: [CMake] [CPACK] debian package

2008-03-31 Thread Filipe Sousa
Mathieu Malaterre wrote: On Mon, Mar 31, 2008 at 1:44 AM, Filipe Sousa <[EMAIL PROTECTED]> wrote: Philip Lowman wrote: > On Fri, Mar 28, 2008 at 11:53 AM, Bill Hoffman <[EMAIL PROTECTED]> > wrote: > > > Sounds like this checkin fixes this bug > > http:

Re: [CMake] [CPACK] debian package

2008-03-30 Thread Filipe Sousa
Philip Lowman wrote: On Fri, Mar 28, 2008 at 11:53 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote: Sounds like this checkin fixes this bug http://public.kitware.com/Bug/view.php?id=6566 and now there is another one: sudo dpkg -i cmake-2.7.20080330-Linux-x86_64.deb dpkg: error processing cmake-

Re: [CMake] Overriding SET_TARGET_PROPERTIES from the command line

2008-03-28 Thread Filipe Sousa
Pau Garcia i Quiles wrote: Hello, From the command-line, cmake -DVARIABLE:TYPE=VALUE is equivalent to SET( VARIABLE VALUE ). -DVARIABLE:TYPE=VALUE is equivalent to set(VARIABLE VALUE CACHE TYPE ...). The equivalent to SET( VARIABLE VALUE ) is -DVARIABLE=VALUE Is there any such equivalente

Re: [CMake] A doubt about macros, relative paths and long args

2008-03-27 Thread Filipe Sousa
Leopold Palomo Avellaneda wrote: Hi again, please, how can I pass an EXACT string to a ARGS command in a custom command? VERBATIM add_custom_command(OUTPUT output1 [output2 ...] COMMAND command1 [ARGS] [args1...] [COMMAND command2 [ARGS]

Re: [CMake] Obtaining improved GNU make performance on Makefiles generated by cmake

2008-03-26 Thread Filipe Sousa
Bill Hoffman wrote: Filipe Sousa wrote: Is that 6 minutes?? The test is to run make in a tree that has everything already built. We not trying to measure the speed of the compiler but rather the speed of make checking the depend information. Oops! There you go *cmake version 2.7

Re: [CMake] Obtaining improved GNU make performance on Makefiles generated by cmake

2008-03-25 Thread Filipe Sousa
Alan W. Irwin wrote: On 2008-03-25 14:28-0400 Bill Hoffman wrote: --- build all of paraview with nothing needing a build: 2.6 make 15.21s user 5.55s system 74% cpu 28.049 total make 15.44s user 5.35s system 98% cpu 21.073 total make -j5 real6m13.039s user20m42.308s sys 2m43.99

Re: [CMake] Brandon Van Every

2008-03-04 Thread Filipe Sousa
Bill Hoffman wrote: This is a difficult decision for me. I have never been forced into a situation like this. However, Brandon's posts to this list have been disruptive to the community and myself. I have therefore come to the conclusion that Brandon needs to be kicked off the list. Somet

Re: [CMake] Sebastian Barre's private flames

2008-03-04 Thread Filipe Sousa
Private mails should remain private. Brandon Van Every wrote: Ok, I think it's time to call the private behavior of Kitware employee Sebastian Barre to the attention of the list. I've repeatedly asked him to stop sending me private e-mail flames, and he simply will not do it. This is the 3rd f

Re: [CMake] Detecting linux distro?

2008-03-03 Thread Filipe Sousa
Kedzierski, Artur CIV NSWC Corona, PA53 wrote: I had to do that too. I ended up going by distribution-specific file in /etc. For example, Red Hat: /etc/redhat-release Slackware: /etc/slackware-version Slamd64: /etc/slamd64-version Gentoo: /etc/gentoo-release signature.asc Descripti

[CMake] CMake, Java and JARs

2008-03-03 Thread Filipe Sousa
I'm new to java, so I might be doing something wrong. Here is the CMakeLists.txt: project(suplemento Java) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) find_package(GWT) add_library(suplemento src/pt/ipb/client/Suplemento.java) target_link_libraries(suplemento ${GWT_LIBRARIES}) The conten

Re: [CMake] Re: function and raise_scope commands (+ unset bug)

2008-02-16 Thread Filipe Sousa
Sebastien BARRE wrote: OK, back to PARENT_SCOPE. Well, Tcl/Tk has 'upvar' (which RAISE_SCOPE was inspired from), *and* 'global', which would pretty much declare variables inside a procedure/function to be of the "global scope" nature. I don't really like any of them. If I had to give a (crazy)

Re: [CMake] EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-02-13 Thread Filipe Sousa
Philip Lowman wrote: Filipe Sousa wrote: I have been using EXECUTABLE_OUTPUT_PATH but I recently found that CMAKE_RUNTIME_OUTPUT_DIRECTORY can do the same. Is EXECUTABLE_OUTPUT_PATH going to be deprecated in 2.6? Does CMAKE_RUNTIME_OUTPUT_DIRECTORY affect where .EXE files get placed or only

[CMake] EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-02-12 Thread Filipe Sousa
Hi. I have been using EXECUTABLE_OUTPUT_PATH but I recently found that CMAKE_RUNTIME_OUTPUT_DIRECTORY can do the same. Is EXECUTABLE_OUTPUT_PATH going to be deprecated in 2.6? -- Filipe Sousa signature.asc Description: OpenPGP digital signature

Re: [CMake] Mozilla and automatic Autoconf + GMake translation

2008-02-12 Thread Filipe Sousa
Brandon Van Every wrote: I do not know if Mozilla is still interested in migrating to a CMake build system. I was unable to complete it for them. Volunteer open source developers could probably complete it, however. The translator is a big step in the right direction for tackling such a large

Re: [CMake] Test for if a macro defined

2008-02-09 Thread Filipe Sousa
James Bigler wrote: Is there an expression similar to the one for variables to determine if a macro is defined? MACRO(TEST) MESSAGE("TEST is defined") ENDMACRO(TEST) IF(DEFINED TEST) TEST() ELSE(DEFINED TEST) MESSAGE("TEST is not defined") ENDIF(DEFINED TEST) I don't think there is

Re: [CMake] Custom cache

2008-02-06 Thread Filipe Sousa
Alexander Neundorf wrote: > On Thursday 07 February 2008, Fernando Cacciola wrote: > > Try QtDialog from cmake cvs, there you can delete single entries, filter > entries by a pattern and then delete the filtered entries etc. s/QtDialog/cmake-gui signature.asc Description: OpenPGP digital si

Re: [CMake] how to INSTALL linux custom kernel module?

2008-02-05 Thread Filipe Sousa
Christopher Lang wrote: > Hi, > > what is the best way to INSTALL a custom kernel module that needs execution > of > some script (like "update-modules" or "depmod") after installation? > > If somebody could point me in the direction of an example would be nice. install([[SCRIPT ] [CODE ]] [...

Re: [CMake] [Help] Build Qt Plugin with CMake

2008-02-04 Thread Filipe Sousa
Yang, Y. wrote: > Hi All, > > when I try to build a plugin with my qt application on windows, I found that > the dll build successfully, but when I launch my application it failed with a > message that myplugin.dll is not a valid Qt plugin. > > > The following file is my CMakeLists.txt. Is the

[CMake] cmake and upx

2008-01-29 Thread Filipe Sousa
lpath}) The problem happens when I run make install or make package that relinks the executable. I can disable relinking by changing CMAKE_SKIP_RPATH but i'm not sure if this is the best option. I could change CMAKE_STRIP to point to upx or is there a better solution (install(SCRIPT))? -- Fi

Re: [CMake] return and break commands

2008-01-23 Thread Filipe Sousa
Ken Martin wrote: > Incomplete cvs update maybe or locally edited files? cmSetProperty looks my fault, sorry. signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] return and break commands

2008-01-23 Thread Filipe Sousa
Ken Martin wrote: > I just checked into CVS return and break commands for CMake. They work > ... :) > Give me a holler if there are problems. In file included from /home/fsousa/projects/cmake/Source/cmSetPropertyCommand.cxx:17, from /home/fsousa/projects/cmake/Source/cmBootstr

Re: [CMake] Re: FindBoost.cmake: please test

2008-01-21 Thread Filipe Sousa
Brad King wrote: > Andreas Pakulat wrote: > > I've just implemented the request in 1645 in CMake HEAD. If you call > > find_package(Boost 1.34.1) I guess this would try to find, at least, boost version 1.34.1 but there is no way to tell that I want the exact version. Some support for operator

Re: [CMake] Using CPack to create multiple packages

2008-01-16 Thread Filipe Sousa
Ted Berg wrote: > Filipe Sousa wrote: > > I aplogize, my initial post wasn't terribly clear. I'm currently > generating, for example, the following packages: > > foo-sdk-1.0.0.zip > foo-qa-tools-1.0.0.zip > foo-killer-app-1.0.0.zip > > These packages ha

Re: [CMake] Using CPack to create multiple packages

2008-01-16 Thread Filipe Sousa
s (CPACK_DEB, CPACK_NSIS, CPACK_RPM, CPACK_STGZ, CPACK_TBZ2, CPACK_TGZ, CPACK_TZ) that you can change. just invoke ccmake and then make package -- filipe sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org ht

[CMake] premake build system

2007-12-16 Thread Filipe Sousa
For those who love lua and want a build system there is premake http://industriousone.com/premake And I know that there is another build system that uses lua but I can't find the link. -- Filipe Sousa signature.asc Description: OpenPGP digital sign

Re: [CMake] cmake CVS errors

2007-12-13 Thread Filipe Sousa
s the help button on the CMake GUI. > > Bug? I think the right command is cmake --help-variable-list /tmp/out.txt -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] function and raise_scope commands

2007-12-07 Thread Filipe Sousa
Miguel A. Figueroa-Villanueva wrote: > On Dec 7, 2007 6:42 PM, Filipe Sousa wrote: > > Try the following: > > function(foo x) > set(${x} 1) # changed here > raise_scope(${x}) > endfunction() > > foo(y) > message(STATUS "y=${y}&

Re: [CMake] function and raise_scope commands

2007-12-07 Thread Filipe Sousa
t;y=${y}") -- y= -- Configuring done -- Generating done And the next example works: function(foo z) set(x 1) raise_scope(x) endfunction() foo(f) message(STATUS "x=${x}") -- x=1 -- Configuring done -- Generating done If I understand your example, the raise_scope is the way to re

Re: [CMake] CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS available in version X?

2007-11-27 Thread Filipe Sousa
James Bigler wrote: > I just noticed this Wiki entry. What version of CMake was this > introduced in? It's not mentioned in any of the help files, so I > can't track when it was introduced. > > http://www.cmake.org/Wiki/CMake_FAQ#Isn.27t_the_.22Expression. > 22_in_the_.22ELSE_.28Expression.

Re: [CMake] Modifying LIBRARY_OUTPUT_PATH dynamically in a macro

2007-06-06 Thread Filipe Sousa
you can use SET_TARGET_PROPERTIES(${target} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ...) gga wrote: > I'm trying to change the destination where some shared libraries are > created, trying to place them in subdirectories. > > I need to have a macro, which in turn will modify the > LIBRARY_OUTPUT_P

Re: [CMake] How to use icc on linux with cmake.

2007-04-17 Thread Filipe Sousa
able in > http://www.cmake.org/Wiki/CMake_Useful_Variables. > > My understanding is gcc.cmake is only used for either gcc or g++. Similarly, > I believe Linux-icpc.cmake would only be included if you specified > the icpc compiler (which I believe is the name of an older Intel compi

Re: [CMake] Multiple generators on the same library

2007-04-12 Thread Filipe Sousa
uild is performed, i.e., the binaries are placed in the same directory as the source code. cd Hello ccmake . make In the second example, an out-of-place build is performed, i.e., the source code, libraries, and executables are produced in a directory separate from the source code directory(i

Re: [CMake] INSTALL() command from cvs

2007-04-12 Thread Filipe Sousa
ue, > so I think that the behavior should be reverted to the one of the > current stable release, and the current behavior of the cvs version > should be made available as an option. I agree. Filipe Sousa signature.asc Description: OpenPGP digital signature _

Re: [CMake] INSTALL() command from cvs

2007-04-12 Thread Filipe Sousa
[EMAIL PROTECTED] wrote: > Currently not I think. Maybe you can copy the files during cmake time and > then > install the copied files ? Thanks for the tip, that should work. > Bye > Alex Filipe Sousa signature.asc Description: OpenPGP di

[CMake] INSTALL() command from cvs

2007-04-12 Thread Filipe Sousa
the same command will copy the symlink INSTALL(FILES /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6 DESTINATION lib) I can't pack and distribute symlink instead of a file copy. Is there a easy way to get the old behavior back? -- Filipe

Re: [CMake] Multiple generators on the same library

2007-04-11 Thread Filipe Sousa
005" -D > > calin You can't use different generators running in-source build. The solution is out-of-source builds, one for each generator. http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees Filipe Sousa signature.asc Description: OpenPGP digital signature

Re: [CMake] Multiple generators on the same library

2007-04-11 Thread Filipe Sousa
Teodor Calin Hanchevici wrote: > > Thanks, > I tried this and it does not work > It generates in the same directory where CMakeLists.txt is located. You have to remove all generated files by cmake in the same directory where CMakeLists.txt is located. Filipe Sousa signature.asc

Re: [CMake] Multiple generators on the same library

2007-04-11 Thread Filipe Sousa
Teodor Calin Hanchevici wrote: > Hi all, > I want to generate both nmake files and visual studio project files for > the same libraries. When I try to do this I get this error: > > CMake Error: Error: generator : NMake Makefiles > Does not match the generator used previously: Visual Studio 7 .NET

Re: [CMake] Command line defines

2007-04-10 Thread Filipe Sousa
dieter oberkofler wrote: > Is it possible to set a CMake variable on the CMake command line (-D > MYVAR:BOOL=ON) without having CMake caching this variable automatically? > Cheers, > Dieter > $ cmake -DMYVAR=ON Filipe Sousa signature.asc Description: OpenPGP di

Re: [CMake] showing the exact compiler command line

2007-04-04 Thread Filipe Sousa
ed when nmake exits. > > I'm having trouble setting CMAKE_CXX_FLAGS[_] properly. Have a look at flags.cmake in the build tree. Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] build type specific compiler flags

2007-04-03 Thread Filipe Sousa
T(CMAKE_BUILD_TYPE distribution) SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O3") SET(CMAKE_C_FLAGS_DISTRIBUTION "-O3") Note that CMAKE_BUILD_TYPE is not initialized with a readable value at configuration time. This is because the user is free to select a build type at build time. """

Re: [CMake] With gcc is __FILE__ with full path. Is there a workaround?

2007-04-02 Thread Filipe Sousa
__FILE__), __FUNCTION__); > > nevertheless my man page says that basename could modify > its argument which may gives you unexpected result in this case... @google: #define FILE ((strrchr(__FILE__, '/') ? : __FILE__- 1) + 1) Filipe S

Re: [CMake] With gcc is __FILE__ with full path. Is there a workaround?

2007-04-01 Thread Filipe Sousa
> Or the possible easier way: > 1) use relative paths from working (project) directory what about using basename()? Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] help with FindBoost.cmake

2007-03-31 Thread Filipe Sousa
...' errors. Is there something wrong with the > FindBoost.cmake? Why I still can use part of the boost like > boost::shared_ptr? Thanks for help. > zl2k most of boost are header files only, but boost filesystem has it's own library that you must link against you program. that&

Re: [CMake] Why the target is named to "liblib" instead to "lib"? (Linux)

2007-03-31 Thread Filipe Sousa
IBRARIES(${TARGETPART} ${APR_LIB} ${APRUTIL_LIB}) > INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${APR_INCL} ) > endif (USEAPR) > CMakeLists.txt END > The orignal file contains more lines, but this is the important. > > After "cmake ." and make there is a file named "li

Re: [CMake] COMPILE_FLAGS

2007-03-27 Thread Filipe Sousa
-o ${_moc_file} ${_header_file} DEPENDS ${_header_file} ) LIST(APPEND ${output} ${_moc_file}) ENDFOREACH() ENDMACRO() -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] COMPILE_FLAGS

2007-03-26 Thread Filipe Sousa
o the assembler macro where I > use ADD_CUSTOM_COMMAND. > > > > What are variables where the information for each of the above is > stored? Especially for ADD_DEFINITIONS and INCLUDE_DIRECTORIES. GET_DIRECTORY_PROPERTY(defs DEFINITIONS) GET_DIRECTORY_PROPERTY(include

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread Filipe Sousa
#x27;t happen under cmake, cmake > unneccessarily links the libraries again when main_exe and the plugin is > compiled. This creates a unnecessary chain of dependencies. This is a topic that has been discussed several times. Try searching for "convenience libraries", - --

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread Filipe Sousa
s not > mentioned it is deprecated. > Should I use another command instead of LINK_DIRECTORIES ? TARGET_LINK_LIBRARIES() is smart enough to know which directories the linker needs > Thanks. > - -- Filipe Sousa -BEGIN PGP SIGNATURE--

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-21 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hi All, > > I have a static library that I'm trying to compile and link under windows. > It depends on other static libraries. It appears that the default behavior > of cmake is to defer the linking of the dependencies u

Re: [CMake] Set prefix/suffix globally?

2007-03-21 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filipe Sousa wrote: > Kishore, Jonnalagadda (IE10) wrote: >> Is it possible to set the prefix and suffix to "lib" and ".a" for all >> libraries and ".elf" suffix to all executables? > > CMAKE_

Re: [CMake] Set prefix/suffix globally?

2007-03-21 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kishore, Jonnalagadda (IE10) wrote: > Is it possible to set the prefix and suffix to "lib" and ".a" for all > libraries and ".elf" suffix to all executables? CMAKE_STATIC_LIBRARY_PREFIX CMAKE_STATIC_LIBRARY_SUFFIX CMAKE_SHARED_LIBRARY_PREFIX CMAKE_SHA

Re: [CMake] EXECUTE_PROCESS - I can't copy files on Windows

2007-03-21 Thread Filipe Sousa
from your project source directory to your project binary directory. There are other variables you can use for full path: http://www.cmake.org/Wiki/CMake_Useful_Variables#Locations - -- Filipe Sousa Vitor Vasconcelos Araujo Silva wrote: > Shame on me, reply my own post, but I fixed

Re: [CMake] Compile .c as c++ - VS2005

2007-03-20 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Ratzlaff wrote: > I have found that if I rename my .c files to .C then cmake does not emit > the XML in the .vsproj to change the build mode. .C is a c++ file name extension. - -- Filipe Sousa -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [CMake] Compile .c as c++ - VS2005

2007-03-20 Thread Filipe Sousa
{CMAKE_C_FLAGS} /FP")? - -- Filipe Sousa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAFtzbQdNYqwwwCwRAldGAJ9JOyNL5IEjLXQ2+tObSu5o8UN61ACeOcw2 YZxQBal3/0FA0P+MbQFlQG0= =yVKT -END PGP SIGNATURE- ___ CMake mailing l

Re: [CMake] CMake qmake debian and winxp

2007-03-20 Thread Filipe Sousa
t; Filippo Rusconi, PhD - CNRS researcher - key C78F687C @ pgp.mit.edu > Author of ``GNU polyxmass'' at http://www.polyxmass.org -- Filipe Sousa diff -uNrw massxtreme.org/massgui/application.cpp massxtreme/massgui/application.cpp --- massxtreme.org/massgui/application.cpp 2007-03-08 10:13:36

Re: [CMake] How to "exclude" dependencies

2007-03-20 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dieter oberkofler wrote: > I have finally migrated a rather large project to CMake and really like it > but still have a few open issues, that I hope to solve with your help. > > Here comes the first ones: > > 1) Is there a way to limit the dependenc

Re: [CMake] EXECUTE_PROCESS - I can't copy files on Windows

2007-03-20 Thread Filipe Sousa
errors. > I'm using Windows XP. > On Linux I don't need to copy the files, but as a test, I've tried and > it worked as well (not copy, but cp). > Am I doing something wrong? Or that are any better options? > Thanks in advanc

Re: [CMake] CMAKE_INCLUDE_CURRENT_DIR?

2007-03-15 Thread Filipe Sousa
very Thanks Brandon! I'm not good at writing documentation and my poor english is *not* as good as yours. - -- Filipe Sousa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF+cLVbQdNYqwwwCwRAvkFAKCwcp1QpgZBY4hpvLboR+sprMKOewCgr17x AmfTcNGyHUu2S193K3E

Re: [CMake] CMAKE_INCLUDE_CURRENT_DIR?

2007-03-15 Thread Filipe Sousa
writing documentation and my poor english is as good as yours. -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMAKE_INCLUDE_CURRENT_DIR?

2007-03-15 Thread Filipe Sousa
e@cmake.org > http://www.cmake.org/mailman/listinfo/cmake > - -- Filipe Sousa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF+bSWbQdNYqwwwCwRAswbAJ0cUmFhbKaF5HnVHEAIfUIm+VvrOgCgqdtj FnC5Vpf0+/g50d7KU4tnM/8= =OQh1 -END PGP SIGNATURE-

Re: [CMake] in- and out-of-source tree builds

2007-03-14 Thread Filipe Sousa
e two directories, one ~/projects with the source code and the other ~/build with the compiled code. with this layout i could have ~/build/foo/debug ~/build/foo/release ~/build/foo/debug-icc. i can remove the ~/build dir to free disk space. - --- filipe sousa -BEGIN PGP SIGNATURE- Versi

Re: [CMake] CMake and profiling...

2007-03-13 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brandon J. Van Every wrote: > Asmodehn Shade wrote: >> Hi everyone, >> >> I am currently in the process of starting to profile my software. >> It builds with cmake on unix, linux, and windows, more or less nicely ;) >> Assuming that I only want to use

Re: [CMake] Problems with Qt MOC and conditional compilation.

2007-03-13 Thread Filipe Sousa
there. Are you using ADD_DEFINITONS() to add other compiler flags (-Wall -Werror)? ADD_DEFINITIONS() should be used only to add definitions (-D...) to preprocessor. For compiler one should use CMAKE_CXX_FLAGS or CMAKE_C_FLAGS. -- Filipe Sousa ___ CMake maili

Re: [CMake] Problems with Qt MOC and conditional compilation.

2007-03-13 Thread Filipe Sousa
TY(_flags DEFINITIONS) SEPARATE_ARGUMENTS(_flags) LIST(APPEND moc_includes ${_flags}) I didn't test -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Plugins (Modules) on Windows

2007-03-06 Thread Filipe Sousa
on and the plugins with that library. -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Weird behaviour on set includes

2007-03-03 Thread Filipe Sousa
n you provide is not there, only a form with a text area and a send button. Any ideas ? Thanks in advance -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Reading from stdin during exec_program

2007-03-03 Thread Filipe Sousa
EXEC_PROGRAM is deprecated. Try EXECUTE_PROCESS(). -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] cmake does not run ldconfig => not found errors

2007-02-28 Thread Filipe Sousa
u will find related posts). Anyway, you can add the path to /etc/ld.so.conf or LD_LIBRARY_PATH and see if it works. -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] File globing and directory source tree

2007-02-27 Thread Filipe Sousa
Claudiu-Daniel wrote: Is FILE( GLOB ) and FILE( GLOB_RECURSE ...) only working for the directories under the [PROJECT_NAME]_SOURCE_DIR or [PROJECT_NAME]_BINARY_DIR? you must be doing something wrong. with this i can get all .so files from /usr/lib FILE(GLOB files "/usr/lib/*.so") MESSAGE

Re: [CMake] Ada and CMake

2007-02-25 Thread Filipe Sousa
how to add a new language to cmake. http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/CMakeAddNewLanguage.txt?rev=1.1.2.1&root=CMake&view=markup -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Reading the content of a file

2007-02-25 Thread Filipe Sousa
Timo Rumland wrote: Hello, Have you tried CONFIGURE_FILE() ? You can use it to replace variables. CONFIGURE_FILE(myfile ${CMAKE_CURRENT_BINARY_DIR}/myfile-copy) I can use CONFIGURE_FILE to copy the file, but I have to edit the content of the file (that goes beyond just replacing VARS in the f

Re: [CMake] Reading the content of a file

2007-02-25 Thread Filipe Sousa
replaced with either #define VAR or /* #undef VAR */ depending on the setting of VAR in CMake CONFIGURE_FILE(myfile ${CMAKE_CURRENT_BINARY_DIR}/myfile-copy) -- Filipe Sousa ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo

Re: [CMake] Trying to find a directory

2006-11-24 Thread Filipe Sousa
he build tree. If you want the bin directory as a parent of the build tree (out of build tree) then you can do something like this GET_FILENAME_COMPONENT(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/../bin ABSOLUTE ) -- Filipe Sousa

Re: [CMake] Setting the C dialect

2006-11-01 Thread Filipe Sousa
ile flags on every source file? IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_C_FLAGS -std=c99) ENDIF() -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] any arithmetic expansion?

2006-10-27 Thread Filipe Sousa
.cmake which provides a macro Bc_EVAL > > my 2 cents. cmake version 2.5-20061010 MATH Mathematical expressions. MATH(EXPR ) EXPR evaluates mathematical expression and return result in the output variable. Example mathematical expression is '5 * ( 10 +

Re: [CMake] Semi-related question

2006-10-24 Thread Filipe Sousa
Filipe Sousa wrote: > Jonathan Hansen wrote: >> This more of a compiler question but I figured since people here are make >> folks you might know and save me signing up for another list... >> >> Is there a way in GCC to eliminate an include directory from warnings? >

Re: [CMake] Semi-related question

2006-10-24 Thread Filipe Sousa
-I/tmp/messycode foo.cpp foo.o gcc -Wall -isystem/tmp/messycode foo.cpp foo.o -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] QT4_ADD_RESOURCES not creating cpp on Mac OS X

2006-10-23 Thread Filipe Sousa
resources > QT4_ADD_RESOURCES(QtApp_RCC_SRCS ${QtApp_RCCS}) > > #QT4_WRAP_CPP(QtApp_MOC_SRCS ${VTKD_MOCS}) > > # Create the executable > ADD_EXECUTABLE(QtApp ${QtApp_SRCS} ${QtApp_RCCS_SRCS}) ^ -- Filipe Sousa signature.asc Descri

Re: [CMake] [binary dir] breaks INSTALL(...) if added to ADD_SUBDIRECTORY(...)

2006-10-21 Thread Filipe Sousa
Filipe Sousa wrote: > Peter Visser wrote: >> Thanks for the advice, but I cannot find these directives in the >> documentation (http://www.cmake.org/HTML/Documentation.html). >> Perhaps I'm looking in the wrong place, where do I need to look for the >> documenta

Re: [CMake] [binary dir] breaks INSTALL(...) if added to ADD_SUBDIRECTORY(...)

2006-10-21 Thread Filipe Sousa
ented. But you can use it like this: SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) > Thanks again, > > Peter. > -- Filipe Sousa signature.asc Description: OpenPGP digital signature __

Re: [CMake] [binary dir] breaks INSTALL(...) if added to ADD_SUBDIRECTORY(...)

2006-10-21 Thread Filipe Sousa
ntentionally or do I misunderstand the [binary dir] > argument. > If you want control the output of your library/executable target you have to use LIBRARY_OUTPUT_PATH/EXECUTABLE_OUTPUT_PATH. -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___

Re: [CMake] TRY_COMPILE and CMAKE_C_FLAGS

2006-10-21 Thread Filipe Sousa
Gregor Jasny wrote: > Hi, > > I want to test if the current GNU compiler accept the -fopenmp flag. INCLUDE(CheckCCompilerFlag) CHECK_C_COMPILER_FLAG(-fopenmp HAVE_OPENMP) -- Filipe Sousa signature.asc Description: OpenPGP digital

Re: [CMake] (more infos) FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Filipe Sousa
Jens wrote: > for more information I attached the output of "ls -la" of the > Qt4.2.0-lib-directory > > Jens schrieb: http://lists.trolltech.com/qt4-preview-feedback/2006-09/thread00083-0.html -- Filipe Sousa signature.asc Description: Ope

Re: [CMake] FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Filipe Sousa
t splits the debug info from libraries with objcopy: objcopy --only-keep-debug "$targ" "$targ.debug" && objcopy --strip-debug "$targ" && objcopy --add-gnu-debuglink="$targ.debug" "$targ" AFAIK qt 4.2.0 does not generate debug and

Re: [CMake] Building generated c++ code with py++ and boost.python

2006-10-11 Thread Filipe Sousa
Pecevski Dejan wrote: > Filipe Sousa wrote: > > Hi Filipe, > Thanks for the reply. > I have setup a simple example based on your solution, but it doesn't > seem to work. Files of the example are attached to the e-mail. > Basically in the example I am building a librar

Re: [CMake] Building generated c++ code with py++ and boost.python

2006-10-10 Thread Filipe Sousa
his setup > possible, and is there some elegant way to do this? > > Any help would be appreciated! > > Thanks, > Dejan > > > > > ___ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman

Re: [CMake] Preserving directory structure with INSTALL(...)

2006-10-10 Thread Filipe Sousa
TERN | REGEX ] [EXCLUDE] [PERMISSIONS permissions...]] [...]) -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How to handle EXECUTABLE and LIBRARY with the same name?

2006-10-04 Thread Filipe Sousa
ve > the SAME name and I don't know how to specify that the executable > depends on the library? > > ADD_DEPENDENCIES(tsp_ascii_writer tsp_ascii_writer) > does not help. > > Finally my question is, is it possible to handle > EXECUTABLE > and > LIBRARY > usi

[CMake] INSTALL( COMPONENT

2006-10-02 Thread Filipe Sousa
Y DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib ) How can I install only the runtime files? "make install" installs everything. -- Filipe Sousa signatu

Re: [CMake] CMake and portable dynamic library loading?

2006-09-30 Thread Filipe Sousa
thout dyld, MODULE is treated like SHARED. If no keywords appear as the second argument, the type defaults to the current value of BUILD_SHARED_LIBS. If this variable is not set, the type defaults to STATIC. -- Filipe Sousa signature.asc Description: OpenPGP digital sig

[CMake] Re: Cmake and CXX

2006-09-22 Thread Filipe Sousa
On Friday 22 September 2006 08:15, Xavier Larrode wrote: > Hello all, > Cmake is using by default /usr/bin/c++ to compile project. > Is it a way to set it ton another compiler like g++, or gcc-color. > Thanks CXX=g++ CC=gcc cmake -- Filipe Sousa pgpnpEiEntNe3.pgp Description: P

[CMake] Re: Header files in Visual Studio projects?

2006-09-22 Thread Filipe Sousa
pports the format: SOURCE_GROUP(name regex) -- Filipe Sousa pgpaS4E6A65Zm.pgp Description: PGP signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] make scanner.i :(

2006-09-20 Thread Filipe Sousa
[EMAIL PROTECTED] ~/build/stl $ make scanner.i make[1]: *** No rule to make target `cmake_force', needed by `CMakeFiles/stl.dir/scanner.i'. Stop. make: *** [scanner.i] Error 2 [EMAIL PROTECTED] ~/build/stl $ cmake --version cmake version 2.5-20060920 -- Filipe Sousa sig

Re: [CMake] Using CPACK to generate RPM

2006-09-20 Thread Filipe Sousa
d > terminate called after throwing an instance of 'std::logic_error' > what(): basic_string::_S_construct NULL not valid > zsh: abort cpack > > http://www.cmake.org/Wiki/CMake:Packaging_With_CPack -- Filipe Sousa

  1   2   3   >