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
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
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
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
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
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:
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-
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
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]
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
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
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
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
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
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
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)
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
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
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
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
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
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 ]] [...
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
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
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
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
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
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
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
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
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
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}&
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
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.
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
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
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
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
_
[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
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
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
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
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
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
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
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.
"""
__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
> 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
...' 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&
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
-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
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
#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",
- --
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--
-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
-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_
-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
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
-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
{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
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
-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
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
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
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
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-
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
-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
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
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
on and the plugins with that library.
-- Filipe Sousa
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
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
EXEC_PROGRAM is deprecated. Try EXECUTE_PROCESS().
--
Filipe Sousa
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
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
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
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
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
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
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
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
.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 +
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?
>
-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
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
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
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
__
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
___
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
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
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
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
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
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
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
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
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
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
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
[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
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 - 100 of 224 matches
Mail list logo