[CMake] Shared library problem in Windows

2010-08-30 Thread Ashika Umanga Umagiliya
Greetings all, Please refer to the image at : http://i34.tinypic.com/30w85xt.png I use MinGW,QT and CMake for my project. As shown in the figure, my project has two modules. * libRinzoCore.DLL : a shared library which define some abstract classes and inte

[CMake] Using mingw from cygwin terminal (/cygwin directory problems)

2010-08-30 Thread Tam Toucan
Hi, I've just started converting my projects from autotools to CMake and I've hit a simple problem. I want to compile from a cygwin terminal, but using mingw32 (cygwin gcc has removed the -mno-cygwin option). I'm using SET(CMAKE_CXX_COMPILER "mingw32-g++") FILE(GLOB foo_SOURCES RELATIVE ${C

Re: [CMake] Cmake with wxWidgets ribbons

2010-08-30 Thread Miguel A. Figueroa-Villanueva
On Mon, Aug 30, 2010 at 9:46 AM, Eric Noulard wrote: > 2010/8/30 assume_R: >> Hello.  First post to the mailing list.  Just thought I'd share a bug I >> found and fixed. >> >> The new version of wxWidgets (>= 2.9) contains a "ribbons" library, which >> emulates the ribbon UI of MS Office and newer

Re: [CMake] CMake without C/C++ compiler check.

2010-08-30 Thread Alan W. Irwin
On 2010-08-30 13:11+0200 Giraudon Cyril wrote: Hello, I'd like to use CMake to build a fortran project (ifort) and on my win64 machine, I have no C/C++ compiler. CMake seems to check always C/C++ compilers and this makes errors. So I'd like to know if there is any way to disable C/C++ compi

[CMake] SubProjects

2010-08-30 Thread Johny
Hey, I managed to get my labeled build warnings and errors uploaded to my CDash dashboard, however they do not seem to be divided into subprojects. They all appear together in the main project's build summary. From what i understand it is enough to make the name of the labels used the same as

[CMake] safe linker search path for libGL

2010-08-30 Thread Frank Stappers
Hello, I get the following warning, when I run cmake (version 2.8.2). Cannot generate a safe linker search path for target because files in some directories may conflict with libraries in implicit directories: link library [libGL.so] in /usr/lib64 may be hidden by files in: /usr/X

Re: [CMake] Linking against libraries under windows

2010-08-30 Thread Michael Wild
Well, find_library finds exactly *ONE* library. On Linux you were just lucky, because there you usually don't have to link against transitive link dependencies. To use the CASROOT environment variable, use $ENV{CASROOT}. And usually it is a good idea to write a "Find"-module (read the find_packa

Re: [CMake] Cmake with wxWidgets ribbons

2010-08-30 Thread Eric Noulard
2010/8/30 assume_R : > Hello.  First post to the mailing list.  Just thought I'd share a bug I > found and fixed. > The new version of wxWidgets (>= 2.9) contains a "ribbons" library, which > emulates the ribbon UI of MS Office and newer Windows 7 applications > (http://en.wikipedia.org/wiki/Ribbon

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
I figured out the problem. It was the custom command, some of its arguments had " which was messing up with the arguments to the ctest launcher i guess, I corrected it and now it builds without any issues. Thanks for the help :) Cheers, Johny On 08/30/2010 03:22 PM, David Cole wrote: Not sur

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread David Cole
Not sure about this one. Can you share your project source tree / CMakeLists files? Is it publicly available? Or reproduce the problem with a very small representative CMakeLists file? Thanks, David On Mon, Aug 30, 2010 at 8:41 AM, Johny wrote: > I did what you said but now I have a diffe

[CMake] Linking against libraries under windows

2010-08-30 Thread Christian Lohr
Hello, I need to include libraries for linking against OpenCascade in my CMakeLists.txt. Everything went fine for Debian Linux, but I don’t get it working under windows. And I've got another question about this linking. I didn't get it working that "FIND_LIBRARY(OPENCASCADE_LIB TKernel TKMath TKST

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
I did what you said but now I have a different problem. I see this command being run and it has its output as G__CDB.cxx "/home/johny/opt/cmake/bin/ctest" --launch --target-name CDB --build-dir /home/johny/opt/alice/AliRootInstall/STEER --output G__CDB.cxx however this file is not created in

[CMake] Cmake with wxWidgets ribbons

2010-08-30 Thread assume_R
Hello. First post to the mailing list. Just thought I'd share a bug I found and fixed. The new version of wxWidgets (>= 2.9) contains a "ribbons" library, which emulates the ribbon UI of MS Office and newer Windows 7 applications ( http://en.wikipedia.org/wiki/Ribbon_(computing)). However, the

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread David Cole
If you are going to run a dashboard with "ctest -D Experimental" then the CTEST_USE_LAUNCHERS setting has to be saved in the CMake cache so that *cmake*, at configure time, knows how to generate the proper command lines in the generated Makefiles. So you need to pass -DCTEST_USE_LAUNCHERS=ON to cm

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
Well i wasn't able to see labels on my builds, and then later i cudn't see build reports either. I was messing around with the configuration files and i guess i must have put something in the wrong place. So basically in which file do i have to set the variables CTEST_CUSTOM_MAXIMUM_NUMBER_OF_

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread David Cole
You're not doing anything wrong. DartConfiguration.tcl is simple a legacy file name that is still in use. It is actually: not tcl, does not require Dart usage... Is there a problem with your submissions to your CDash server? Do you get some kind of error? On Mon, Aug 30, 2010 at 7:22 AM, Johny

[CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
Hey, I was trying to use the ctest custom configuration file CTestCustom.ctest to set my limits for warnings and errors higher than the defaults and also to enable labels while building using the CTEST_USE_LAUNCHERS variable. I have set all this up in the file however when i run Ctest -D Expe

Re: [CMake] CMake without C/C++ compiler check.

2010-08-30 Thread Jed Brown
On Mon, 30 Aug 2010 13:11:46 +0200, Giraudon Cyril wrote: > Hello, > > I'd like to use CMake to build a fortran project (ifort) and > on my win64 machine, I have no C/C++ compiler. > > CMake seems to check always C/C++ compilers and this makes errors. > > So I'd like to know if there is any

[CMake] CMake without C/C++ compiler check.

2010-08-30 Thread Giraudon Cyril
Hello, I'd like to use CMake to build a fortran project (ifort) and on my win64 machine, I have no C/C++ compiler. CMake seems to check always C/C++ compilers and this makes errors. So I'd like to know if there is any way to disable C/C++ compiler tests ? Thanks a lot, Cyril. _