[CMake] multiple line of comment howto

2012-07-30 Thread luxInteg
Greetings I am learniong cmake. From the documentation:- add_custom_target(Name [ALL] [command1 [args1...]] [COMMAND command2 [args2...] ...] [DEPENDS depend depend depend ... ] [WORKING_DIRECTORY dir] [COMMENT

[CMake] stderr and stdout in cmake

2012-07-30 Thread luxInteg
/dev/stdout test [ ~ ]$ Advice would be appreciated Yours sincerely luxInteg -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

Re: [CMake] help with shared-lib make failure

2012-06-17 Thread luxInteg
On Sunday 17 June 2012 08:35:07 Andreas Naumann wrote: Am 17.06.2012 01:39, schrieb luxInteg: On Saturday 16 June 2012 09:45:56 luxInteg wrote: Greetings, Its been about 1 year since since I had a go at learning cmake. My current setup has these:- OS 64bit(AMD) cblfs linux, gcc-4.4.2

[CMake] help with shared-lib make failure

2012-06-16 Thread luxInteg
Greetings, Its been about 1 year since since I had a go at learning cmake. My current setup has these:- OS 64bit(AMD) cblfs linux, gcc-4.4.2, cmake-2.8.7 This is my current problem: My project has a file call this file1.c. CMake is used o generate makefile etc When make compiles file1.c

Re: [CMake] help with shared-lib make failure

2012-06-16 Thread luxInteg
On Saturday 16 June 2012 09:45:56 luxInteg wrote: Greetings, Its been about 1 year since since I had a go at learning cmake. My current setup has these:- OS 64bit(AMD) cblfs linux, gcc-4.4.2, cmake-2.8.7 This is my current problem: My project has a file call this file1.c. CMake

[CMake] a cmake install question

2012-05-28 Thread luxInteg
(usually /usr/share/man) and -- localstatedir (usually /var) ? Or does one have to make these settings either on the command line or in the package; and in any case how so? thanks in advance luxInteg -- Powered by www.kitware.com Visit other Kitware open-source projects at http

[CMake] lapack-3.4.1-cmake testing error

2012-05-19 Thread luxInteg
Greetings, I am trying to compile lapack -3.4.1 with cmake. lapack-3.4.1/TESTING/CMakeLists.txt has these lines at the end:- # execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${LAPACK_SOURCE_DIR}/lapack_testing.py ${LAPACK_BINARY_DIR}) add_test( NAME LAPACK_Test_Summary

[CMake] cmake.org url seems down

2012-04-16 Thread luxInteg
Greetings, I have been tring to connect to the cmake.org website for the last few days to download the latest version of cmake. I have been unsucessful. I would be grateful if one on list could elaborate on the problems and suggest an alternative url. thanks in advance luxInteg -- Powered

Re: [CMake] cmake config.h

2011-01-29 Thread luxInteg
: missing binary operator before token 1 line 245 is this line #if HAVE_EXTENDED_PRECISION_REGISTERS Si I am perplexed where this '1' came from or indeed which '1' is being referred to advice would be appreciaed. sincerely luxInteg

Re: [CMake] directory traverse guidance

2011-01-25 Thread luxInteg
On Tuesday 25 January 2011 07:53:24 Andreas Pakulat wrote: On 25.01.11 02:57:27, luxInteg wrote: Greetings I am learning cmake consider my project with two directories dir1 and dir2 if I want to:- move to dir1 and add a library libA in dir1 move to dir2 and add

[CMake] directory traverse guidance

2011-01-24 Thread luxInteg
(the moving back is because of the interdependencies of the tests with the libraries i.e. testA reaquires libB etc)) how do I do this? sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] cmake config.h

2011-01-24 Thread luxInteg
On Sunday 28 November 2010 16:03:33 luxInteg wrote: I came across the useful wiki http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks I need '1's in config.g and I dont know how these are generated. For gsl This the cmake output:- -- Looking for sys/types.h -- Looking for sys

Re: [CMake] build.h instead of config.h

2011-01-18 Thread luxInteg
for decl_atanh -- Looking for decl_atanh - not found - To a cmake ignoramus like me, it would appear that more is needed to do maths/capability checks cpu checks for this type of package. Advice would be appreciated. Sincerely LuxInteg

Re: [CMake] build.h instead of config.h

2011-01-18 Thread luxInteg
for the ieee stuff could not the same procedure be adopted.? sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake

[CMake] build.h instead of config.h

2011-01-17 Thread luxInteg
the above will be much appreciated sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

[CMake] libtool to cmake static-libs combine howto

2011-01-16 Thread luxInteg
fileA2.c filaB1.c fileB2.c --- into libC.a and libC.so (and link to libA.a and libD.a (external to project)) would this be equivalent to how it is done via libtool? advice would be appreciated luxInteg ___ Powered

Re: [CMake] CMake Java Support

2011-01-13 Thread luxInteg
On Tuesday 11 January 2011 11:38:09 Andreas Schneider wrote: Hello CMake, my name is Andreas Schneider and I'm working for Red Hat. At the end of last year I've worked on Dogtag PKI [1]. The Dogtag Certificate System [2] is an enterprise-class open source Certificate Authority. The

Re: [CMake] building gcc with cmake

2011-01-06 Thread luxInteg
On Thursday 06 January 2011 02:11:46 Alan W. Irwin wrote: On 2011-01-06 03:02- luxInteg wrote: just curious, but I wondering if anyone on list has ever built gcc with cmake. (or at least had a go) I did it by hand years ago (1996 when I started with Linux and needed to add g77

[CMake] building gcc with cmake

2011-01-05 Thread luxInteg
just curious, but I wondering if anyone on list has ever built gcc with cmake. (or at least had a go) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

[CMake] echo in execute_process

2010-12-23 Thread luxInteg
in an execute_process() function with ${ECHO} (/bin/echo)what does one set for WORKING_DIRECTORY? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

[CMake] execute_process spew test

2010-12-20 Thread luxInteg
can use the following:- if [-f ${someDirectory}/someFile ] ; do somehing or if [-r ${someDirectory}/someFile ]; do something else advice on their equivalent in cmake scripts would be appreciated. luxInteg ___ Powered by www.kitware.com Visit

[CMake] granular install advice

2010-12-17 Thread luxInteg
want to install the modules on the file syatem say /usr/local/someplace) -the above is like to copy the modules to ${INSTALL_PREFIX}/usr/local/someplace. So how do I tell cmake to copy to /usr/local/someplace instead? advice would be appreciated luxInteg

[CMake] BLAS/atlas linux linker flags

2010-12-17 Thread luxInteg
are determined. Advice would be appreciated. luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

[CMake] CheckFortranFunctionExists for dummies

2010-12-17 Thread luxInteg
from Fortran... yes into syntax to feed into CHECK_FORTRAN_FUNCTION_EXISTS() advice would be appreciated luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] granular install advice

2010-12-17 Thread luxInteg
On Friday 17 December 2010 22:03:12 Michael Hertling wrote: Besides, you can't specify the files for INSTALL(FILES ...) using the '*' and other globbing characters as they are meaningful only for the shell or specialized CMake commands like FILE(GLOB ...). ( er I sort of suspected you

[CMake] FindOOoSDK.cmake jam

2010-12-14 Thread luxInteg
on what is wrong/suggest a fix. sincerely luxInteg # OOOSDK_FOUND # OOOSDK_INCLUDE_DIRS # OOOSDK_LIBRARY_DIRS # OOOSDK_LIBRARIES # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. # # Copyright (C) 2010 KO

[CMake] cmake qt4 opengl

2010-12-13 Thread luxInteg
://www.koders.com/cpp/fid5FE3743846336C984EFBA55350C74C26F8BFB714.aspx is part of qt4 (its in the mkspecs directory); Is it necessary to include it in a cmake/qt4 project and if so how so? sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware

[CMake] cmake find_package() returns?

2010-12-13 Thread luxInteg
Is there a way to interrogate a FindXXX.cmake file tofind out what it returns? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check

Re: [CMake] cmake qt4 Lplates

2010-12-11 Thread luxInteg
On Friday 10 December 2010 21:17:21 Andreas Pakulat wrote: On 10.12.10 22:09:29, luxInteg wrote: Greetings, I have my cmake L-plates firmly on ( with a Qt4 project I am stumbling on ) I have these in CMakeLists.txt file:- FIND_PACKAGE( Qt4 REQUIRED ) INCLUDE

[CMake] cmake qt4 Lplates again

2010-12-11 Thread luxInteg
Greetings, Still withcmake L-plates firmly on ( with a Qt4 project ) I have now stumbled into this:- I have a series of header files to compile into .cpp files via the QT4_WRAP_CPP() utility. Just one of the file needs to 'compiled' beforehandthen compiled to object code

Re: [CMake] cmake qt4 Lplates again

2010-12-11 Thread luxInteg
On Saturday 11 December 2010 17:46:37 luxInteg wrote: Greetings, Still withcmake L-plates firmly on ( with a Qt4 project ) I have now stumbled into this:- I have a series of header files to compile into .cpp files via the QT4_WRAP_CPP() utility. Just one of the file needs

[CMake] cmake qt4 Lplates

2010-12-10 Thread luxInteg
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED (REMARK I have -DQT_SHARED -DQT_NO_DEBUG both duplicated) advice would be appreciated luxInteg ___ Powered by www.kitware.com Visit other Kitware open

[CMake] sip, pyqt, and linking

2010-12-08 Thread luxInteg
with linking problems. If I change the second line of the add_custom_command() statement to use 'absolute paths that I can understand such as:- ${CMAKE_SOURCE_DIR}/upstream/bin/generatedfile1.cpp the SIP generator fails to generate generatedfile1.cpp Advice ould be appreciated. luxInteg

Re: [CMake] cmake PyQT/SIP

2010-12-08 Thread luxInteg
On Sunday 05 December 2010 13:51:12 Michael Wild wrote: On 12/05/2010 02:04 AM, luxInteg wrote: On Thursday 02 December 2010 07:48:55 Michael Wild wrote: Use ADD_CUSTOM_COMMAND. @Michael: that advice is not correct. add_custom_command sets up a command to be run at make time. Instead

Re: [CMake] cmake PyQT/SIP

2010-12-04 Thread luxInteg
the OP needs to generate his *.cpp files. @LuxInteg: See the CMakeLists.txt file at http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/bindings/qt_gui/pyq t4/ for an example of generating source code with sip. Alan Huh, why can't he run sip at build time? If you do

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread luxInteg
On Thursday 02 December 2010 07:48:55 Michael Wild wrote: On 12/02/2010 08:25 AM, Alan W. Irwin wrote: On 2010-12-02 06:32+0100 Michael Wild wrote: On 12/02/2010 12:37 AM, luxInteg wrote: On Tuesday 30 November 2010 22:43:34 luxInteg wrote: Greetings I an learnig cmake. My test

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread luxInteg
SHARED ${CMAKE_CURRENT_BINARY_DIR}/fileC.cpp ${CMAKE_CURRENT_BINARY_DIR}/fileD.cpp) sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

[CMake] cmake PyQT/SIP

2010-11-30 Thread luxInteg
if someone could suggest what the relevent utility in cmake is and an example of its application. thanks in advance luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] cmake config.h

2010-11-28 Thread luxInteg
On Saturday 27 November 2010 14:58:15 Michael Jackson wrote: # In this file we are doing all of our 'configure' checks. Things like checking # for headers, functions, libraries, types and size of types. INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake) .. # To check for an include file

Re: [CMake] cmake config.h

2010-11-28 Thread luxInteg
On Sunday 28 November 2010 14:04:50 luxInteg wrote: headers, datatypes, functions seem straight forward, I currently have a config.h.inrefering to 'package' (I assume something to do with pkgconfig ) for which I have not a clue how to translate using the tools above:- The said

Re: [CMake] cmake config.h

2010-11-28 Thread luxInteg
On Sunday 28 November 2010 15:21:45 Michael Jackson wrote: Those variables are specific for the project you are trying to convert. For example if this was the LibTiff project then you might have something like: #define PACKAGElibTif #define PACKAGE_BUGREPORT b...@libtiff.com #define

[CMake] autoconfTocmake transfer glitch

2010-11-27 Thread luxInteg
if there was one thatexports 'PACKAGE_VERSION' but from my uneducated eye I could not see any. help would be appreciated sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] cmake config.h

2010-11-27 Thread luxInteg
On Saturday 27 November 2010 14:58:15 Michael Jackson wrote: You use a combination of some CMake macros and configure_file() command. First, in your CMakeLists.txt file (or another cmake file) you would have lines such as: # In this file we are doing all of our 'configure' checks. Things

Re: [CMake] cmake config.h

2010-11-27 Thread luxInteg
On Saturday 27 November 2010 14:24:01 Clifford Yapp wrote: To the best of my knowledge, there is no automatic feature available in CMake for this. Fortunately, it is not terribly hard to set up something reasonably functional yourself with a few Macros - autoheader uses some fairly standard

Re: [CMake] autoconfTocmake transfer glitch

2010-11-27 Thread luxInteg
On Sunday 28 November 2010 02:22:56 luxInteg wrote: Greetings, I am learning cmake. I am attempting to compile a small progrmm libxls (available from http://libxls.sourceforge.net/ ) as part of my education. It compiles with autoconf/make like so:- ## from sh

[CMake] cmake config.h

2010-11-26 Thread luxInteg
unclear. So I would be gateful if someone on list could verify if this facility is/isNOT (..yet) available using cmake. (And if it is -how it is used) sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] cmake and no make

2010-11-24 Thread luxInteg
On Tuesday 23 November 2010 05:37:39 Michael Hertling wrote: On 11/23/2010 03:25 AM, luxInteg wrote: Greetings I am learning cmake Compiling alglib (http://www.alglib.net/) (cpp) does not use make It is done simply by a command such as g++ -c *.cpp in the src directory

Re: [CMake] an akward preprocessor

2010-11-24 Thread luxInteg
On Tuesday 23 November 2010 05:43:17 Michael Hertling wrote: On 11/22/2010 10:39 PM, luxInteg wrote: Greetings I am learning cmake I have a small project to be installed in some directory $INSTALLED =/whatever/installed/directory/is I have some files say fila1.c ..File2.c

[CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
of which are present in this project. Advice would be appreciated. luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
On Wednesday 24 November 2010 16:33:24 David Cole wrote: The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in that project for clues about how to structure a Qt application. See also CMake itself, in the CMake/Source/QtDialog. And ParaView,

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
On Wednesday 24 November 2010 17:35:16 John Clayton wrote: Woops, I meant the qt4_wrap_cpp macro. thanks v helpful ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
On Wednesday 24 November 2010 17:11:52 David Cole wrote: I am not a Qt expert. But to the best of my knowledge, dealing with the moc, ui and qrc files and such is best handled by the QT4_* macros as demonstrated in the example that I already pointed you to*. thanks problem sorted

[CMake] an akward preprocessor

2010-11-22 Thread luxInteg
of files with this? do I do :- -DWITH_INSTALL_DIR or -Dwhatever_installed_directory_is (i.e. for example -D/usr/local) or ? advice would be appreciated sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] cmake and no make

2010-11-22 Thread luxInteg
how so sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow

[CMake] so lib symlinks

2010-11-19 Thread luxInteg
libtestLIB.so.1 a symbolic-link to libtestLIB.so.1.2.3 So advice would be appreciated on how one uses set_target_properties or shared libraies to get a setup as in ---B---. luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] help with cmake fortran envar

2010-11-19 Thread luxInteg
On Wednesday 17 November 2010 08:10:32 Arjen Markus wrote: Hello luxInteg, you are trying to set the Fortran compiler to gfortran then? Why? Why not leave it to CMake to come up with whatever compiler is suitable? That is part of the strength of tools like CMake. I have it sorted thanks

Re: [CMake] cmake, latex docbook

2010-11-19 Thread luxInteg
On Friday 19 November 2010 01:21:53 Cliff Yapp wrote: BRL-CAD's experimental CMake build is using xsltproc and fop currently rather than TEX binaries, but the techniques probably can be adapted to other tools - you might want to take a look at:

[CMake] cmake, latex docbook

2010-11-18 Thread luxInteg
abab.docbook that I want to transform to html and to pdf respectvely how do I do this with CMakeUserUseLATEX.cmake? advice would be appreciated luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

[CMake] autoconf to cmake conversion

2010-11-17 Thread luxInteg
. tnanks in advance luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow

[CMake] help with cmake fortran envar

2010-11-16 Thread luxInteg
luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link

Re: [CMake] postBuildInstallation howto

2010-11-15 Thread luxInteg
On Saturday 13 November 2010 20:43:12 Michael Hertling wrote: IIRC, the INSTALL() command with the FILES, PROGRAMS and DIRECTORY signature may appear in any CMakeLists.txt, but with the TARGETS signature, it must be placed in the same CMakeLists.txt as the targets it refers to. Anyway, IMO,

[CMake] postBuildInstallation howto

2010-11-13 Thread luxInteg
into ${Install_prefix}/include and is it done from a CMakeLists.txt within ~/INCLUDE to effect installation OR do you do otherwise and if so how so? sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] un circle dependency

2010-11-12 Thread luxInteg
On Thursday 11 November 2010 21:55:31 Alexander Neundorf wrote: On Thursday 11 November 2010, luxInteg wrote: Greetings I am learning cmake. I think I now know how to generate libraries and executables but I have not yet grasped how the tree and directory structure

[CMake] making executible in mixed C/fortran project

2010-11-12 Thread luxInteg
Greetings, I am learning cmake I am building an executable which needs to first compile a C program and then recompiling the object file with another file in fortran. Here is an excerpt from a unix makefile I am attempt to port to cmake as part of my cmake turotial. fileC.o: fileC.c

Re: [CMake] making executible in mixed C/fortran project

2010-11-12 Thread luxInteg
On Friday 12 November 2010 13:17:50 Michael Hertling wrote: On 11/12/2010 02:46 PM, luxInteg wrote: Greetings, I am learning cmake I am building an executable which needs to first compile a C program and then recompiling the object file with another file in fortran

[CMake] object file questuon

2010-11-11 Thread luxInteg
I am learning cmake (in gnu Makefiles it is possible to specifiy the name of the object file. ) I.E. if I have a file file1.c and I want to generate two object files file1.o and file1a.o -is this possible in cmake and if so how so? ___

Re: [CMake] object file questuon

2010-11-11 Thread luxInteg
On Thursday 11 November 2010 11:59:11 Michael Wild wrote: On 11/11/2010 01:52 PM, luxInteg wrote: I am learning cmake (in gnu Makefiles it is possible to specifiy the name of the object file. ) I.E. if I have a file file1.c and I want to generate two object files file1.o

[CMake] un circle dependency

2010-11-11 Thread luxInteg
Greetings I am learning cmake. I think I now know how to generate libraries and executables but I have not yet grasped how the tree and directory structure is handled and by conseqence how one navigates therein. I have this problem. Lets say my build tree has these directories

Re: [CMake] cmake my_BouncyBall

2010-11-10 Thread luxInteg
On Tuesday 09 November 2010 17:35:08 Michael Hertling wrote: On 11/07/2010 03:37 PM, luxInteg wrote: On Sunday 07 November 2010 11:34:47 Richard Wackerbarth wrote: First let me suggest that you word your request in a more complete manner. What does not work? cant get an executable

Re: [CMake] help with learning add_library

2010-11-10 Thread luxInteg
On Monday 08 November 2010 18:10:01 Eric Noulard wrote: BUT suppose I decide to set file1.c and file2.c as some variable FILES and I want to use a preprocessor say DLONG could I do the following? set(FILES file1.c file2.c ) SET_SOURCE_FILES_PROPERTIES(${FILES} PROPERTIES

[CMake] cmake compiler-output beautification

2010-11-08 Thread luxInteg
be appreciated. luxInteg. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow

Re: [CMake] help with learning add_library

2010-11-08 Thread luxInteg
On Saturday 06 November 2010 23:08:29 Eric Noulard wrote: I think you cannot use **the same** file properties on a source file and expect CMake will compile the file twice for the same target. If you want to compile the same source file twice with different compile flags **FOR THE SAME

Re: [CMake] help with learning add_library

2010-11-08 Thread luxInteg
On Monday 08 November 2010 18:10:01 Eric Noulard wrote: 2010/11/8 luxInteg lux-in...@btconnect.com: On Saturday 06 November 2010 23:08:29 Eric Noulard wrote: I think you cannot use **the same** file properties on a source file and expect CMake will compile the file twice for the same target

Re: [CMake] help with learning add_library

2010-11-08 Thread luxInteg
On Monday 08 November 2010 22:21:54 luxInteg wrote: --- set(RUN oddone.o file2.c file3.c ) LIST CONTAINS(file2.c file3.c ${RUN}) IF (contains ) (--compile file2.c and file3.c into oddone.o ) endif (contains) - advice on whether lists of othrwise

[CMake] cmake gfortran-libs linking x86_64

2010-11-07 Thread luxInteg
fortran shared libraries still be linked to it? advice would be appreciated. sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] cmake gfortran-libs linking x86_64

2010-11-07 Thread luxInteg
On Sunday 07 November 2010 11:00:03 Eric Noulard wrote: enable_language(Fortran) for mixed language programming you have the FortranCInterface cmake module: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#module:FortranCInterfac e If you search the ML archive you will find many

[CMake] cmake my_BouncyBall

2010-11-07 Thread luxInteg
) install(TARGETS BouncyBall BouncyBall.out my_BouncyBall.out DESTINATION bin) --- but it does not work advice would be appreciated sincerely luxInteg ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] cmake my_BouncyBall

2010-11-07 Thread luxInteg
my_BouncyBall.out - diff BouncyBall.out my_BouncyBall.out ) ) I hope I did provide the example unix Makefile that is being translated. thanks and regards On Nov 7, 2010, at 6:08 AM, luxInteg wrote: Greetings, I am learning cmake. and I have taken the following from an old

[CMake] help with learning add_library

2010-11-06 Thread luxInteg
Greetings, I am learning cmake. I have a question on using add_library. in my project(learnCMAKE). The latter has:- ---a) 2 source files file1.c file2.c ---b) the envar {CFLAGS} set ---c) need to generate libLearnCMAKE.so and libLearnCMAKE.a ---d) need to add preprocessor agruments

Re: [CMake] help with learning add_library

2010-11-06 Thread luxInteg
On Saturday 06 November 2010 17:30:10 Michael Hertling wrote: On 11/06/2010 05:26 PM, luxInteg wrote: Greetings, I am learning cmake. I have a question on using add_library. in my project(learnCMAKE). The latter has:- ---a) 2 source files file1.c file2.c ---b

Re: [CMake] help with learning add_library

2010-11-06 Thread luxInteg
. If this is the most reliable way to do it advice on incorporating your suggestion in some kind of loop would be appreciated. AND by the way what does -DSAMPLE=5 signify? sincerely luxINTEG ___ Powered by www.kitware.com Visit other Kitware open

Re: [CMake] help with learning add_library

2010-11-06 Thread luxInteg
On Saturday 06 November 2010 21:55:21 luxInteg wrote: On Saturday 06 November 2010 17:30:10 Michael Hertling wrote: On 11/06/2010 05:26 PM, luxInteg wrote: Greetings, I am learning cmake. I have a question on using add_library. in my project(learnCMAKE). The latter has

Re: [CMake] help with learning add_library

2010-11-06 Thread luxInteg
On Saturday 06 November 2010 23:08:29 Eric Noulard wrote: 2010/11/7 luxInteg lux-in...@btconnect.com: I tried the following:- ADD_LIBRARY(LearnCMAKE-shared SHARED file1.c file2.c ) ADD_LIBRARY(LearnCMAKE-static STATIC file1.c file2.c ) SET(var ) FOREACH(var DINT DLONG

[CMake] cmake gfortran project question

2010-11-05 Thread luxInteg
Greetings, I have a little learning progect using cmake with gfortran. SOURCE files: .f, .f xxx.f and .f .y I want to do the following:- a) create a shared library libFFF.so and a static one libFFF.a (from say xxx.f and yyy.f) b) find installed fortran

Re: [CMake] findAtlas cmake

2010-11-05 Thread luxInteg
On Thursday 04 November 2010 16:00:05 Michael Wild wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/04/2010 05:10 PM, luxInteg wrote: On Wednesday 03 November 2010 05:37:45 Michael Wild wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On 11/03/2010 12:48 AM

Re: [CMake] findAtlas cmake

2010-11-04 Thread luxInteg
On Wednesday 03 November 2010 05:37:45 Michael Wild wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On 11/03/2010 12:48 AM, luxInteg wrote: Greetings, I am a novice at cmake and attempting to compile lapack-3.2.2 on a computer with these:- ---cpu amd64 2 cores

[CMake] findAtlas cmake

2010-11-02 Thread luxInteg
and suggest modifications that allow finding atlas libraries in/usr/local/atlas. An alternative offer of a findatlas.cmake module as loan would also be appreciated. thanks in advance sinceely luxInteg ___ Powered by www.kitware.com Visit other