[CMake] CMake 3.0.1 - avast Win32;Dropper-gen

2014-08-17 Thread Georgios Petasis
Hi all, I installed the latest cmake under windows, and avast keeps telling me cmake.exe has a virus. The detected virus is Win32:Dropper-gen. Avast finds it in cmake.exe, inside both the windows zip file, and the setup file. Is it really a virus, or a false alarm? George -- Powered by

[CMake] How to locate GTK3?

2012-07-22 Thread Georgios Petasis
Hi all, Is there support for GTK3? I am using cmake 2.8.8. Regards, George -- 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:

[CMake] How to pass a flag to be used by cmake?

2012-07-09 Thread Georgios Petasis
Hi all, I want to build 32-bit binaries on a 64-bit Linux system, with gcc. In projects that use configure, this is easy: export CFLAGS=-m32 But how can I do the same with cmake projects? cmake does not seem to use CFLAGS. Is there a variable I can define when I run cmake, to pass the -m32

[CMake] Cross-compilation Find_Package(Tcl)...

2012-06-26 Thread Georgios Petasis
Hi all, I am trying to cross-compile an application for windows, in a Fedora 17 box. I have successfully cross-compiled/installed Tcl/Tk from sources. And I want to also cross-compile my application, which uses cmake. Is there a way to convince cmake to use the platform tclsh (in order to run

Re: [CMake] Cross-compilation Find_Package(Tcl)...

2012-06-26 Thread Georgios Petasis
Στις 26/6/2012 17:56, ο/η Georgios Petasis έγραψε: Hi all, I am trying to cross-compile an application for windows, in a Fedora 17 box. I have successfully cross-compiled/installed Tcl/Tk from sources. And I want to also cross-compile my application, which uses cmake. Is there a way

Re: [CMake] Cross-compilation Find_Package(Tcl)...

2012-06-26 Thread Georgios Petasis
Στις 26/6/2012 18:22, ο/η Georgios Petasis έγραψε: Στις 26/6/2012 17:56, ο/η Georgios Petasis έγραψε: Hi all, I am trying to cross-compile an application for windows, in a Fedora 17 box. I have successfully cross-compiled/installed Tcl/Tk from sources. And I want to also cross-compile my

[CMake] How to convince cmake to find Tcl/Tk 8.6?

2012-06-22 Thread Georgios Petasis
Hi all, I am using cmake 2.8.8 under Fedora 17 64 bit, in which I have installed ActiveTcl 8.6 in /opt. My path variable starts with: /opt/ActiveTcl-8.6/bin:... And when I run tclsh/tclsh8.6/wish/wish8.6, I get the ActiveTcl one, from /opt. However, cmake does not find this Tcl/Tk

[CMake] Finding X11 fails under OS X...

2009-09-02 Thread Georgios Petasis
Hi all, I am trying to compile something that uses X under OS X 10.5.5, but cmake is unable to locate the X11 libraries. The include path is located. The failure is while detecting libraries. For example. libX11 exists in /usr/X11/lib/libX11.6.dylib. Cmake does not find this library, as it

Re: [CMake] Finding X11 fails under OS X...

2009-09-02 Thread Georgios Petasis
O/H Martin Costabel έγραψε: Georgios Petasis wrote: Hi all, I am trying to compile something that uses X under OS X 10.5.5, but cmake is unable to locate the X11 libraries. The include path is located. The failure is while detecting libraries. For example. libX11 exists in /usr/X11/lib

[CMake] FindGTK fails?

2008-08-04 Thread Georgios Petasis
Hi all, I tried to use cmake 2.7 to compile a gnome application under Fedora 9, and I got a failure. It seems that FindGTK.cmake from the modules directory is severe outdated, looking for gtk 1.2, in a format used a few years ago. Can somebody please update this script to be more recent? I

Re: [CMake] Rpath removed from installed libraries?

2008-07-10 Thread Georgios Petasis
O/H Alexander Neundorf ??: On Wednesday 09 July 2008, Georgios Petasis wrote: O/H Alexander Neundorf ??: ... Which dirs are that exactly ? Are they all outside the build dir ? Alex Two are in the build dir, but one is the perl library, in /usr/lib/perl5

[CMake] Can I change the extension of a dll?

2008-07-10 Thread Georgios Petasis
Hi all, I am trying to compile a python module with cmake. Unfortunately, in python 2.5.2 they have decided that C modules will use the extension .pyd, instead of .dll under windows. So, I have to somehow rename a dll during installation. I currenlty have code like: INSTALL ( TARGETS

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Georgios Petasis
O/H Alexander Neundorf ??: On Wednesday 09 July 2008, George Petasis wrote: Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is built, -Wl,-rpath,... is added to the compiler flags. Also, I can see the rpath of the built

Re: [CMake] Rpath removed from installed libraries?

2008-07-09 Thread Georgios Petasis
O/H Alexander Neundorf ??: On Wednesday 09 July 2008, Georgios Petasis wrote: O/H Alexander Neundorf ??: On Wednesday 09 July 2008, George Petasis wrote: Hi all, I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library

Re: [CMake] Compiling java files to classes then creating a jar

2008-07-07 Thread Georgios Petasis
O/H Gerrick Bivins ??: Hello, Another newbie question, I think I know how to create .java files from swig using Cmake and I think I know how to create a jar file from .class BUT I'm not sure how to call the java compiler (javac) on each .java file to create my .class files. For starters,

Re: [CMake] Find PerlLibs fails;

2008-07-06 Thread Georgios Petasis
O/H Alexander Neundorf ??: On Monday 30 June 2008, Georgios Petasis wrote: Hi all, I am running cmake 2.6 under windows: MESSAGE ( STATUS Searching for Perl... ) FIND_PACKAGE ( Perl ) FIND_PACKAGE ( PerlLibs ) IF ( PERL_FOUND ) MESSAGE ( STATUS PERL_EXECUTABLE

[CMake] Why I cannot build a dll that embeds perl with cmake?

2008-07-03 Thread Georgios Petasis
Hi all, I have some C code that embeds perl into a C application. If I compile my code with: cl.exe result of perl -MExtUtils::Embed -e ccopts and then: link result of perl -MExtUtils::Embed -e ldopts the resulting dll works. But if I compile it with cmake, my code always crashes, because

[CMake] My code, or bug of cpack 2.6?

2008-06-30 Thread Georgios Petasis
Hi all, I am using cmake 2.6, and I try to simply copy some directories with the following code: FOREACH ( PKG_MODULE GUI Utils Httpd ellogon2.0 doc ) MESSAGE ( STATUS Installation of Module: ${PKG_MODULE} ) INSTALL ( DIRECTORY ${PKG_MODULE} DESTINATION . FILE_PERMISSIONS

[CMake] Find PerlLibs fails;

2008-06-30 Thread Georgios Petasis
Hi all, I am running cmake 2.6 under windows: MESSAGE ( STATUS Searching for Perl... ) FIND_PACKAGE ( Perl ) FIND_PACKAGE ( PerlLibs ) IF ( PERL_FOUND ) MESSAGE ( STATUS PERL_EXECUTABLE: ${PERL_EXECUTABLE} ) MESSAGE ( STATUS PERL_INCLUDE_PATH: ${PERL_INCLUDE_PATH} ) MESSAGE

[CMake] CMake newbie...

2008-06-28 Thread Georgios Petasis
Hi all, I am a totally CMake newbie :-) However, I have spend some time (~3 days) in porting one application of mine from autoconf/make to cmake. The port was somewhat easy, and for the time being I have tested the build system under windows only with VC++ 9.0. As a result of this process I

Re: [CMake] Add_definitions() also affects RC_FLAGS ?

2008-06-28 Thread Georgios Petasis
O/H Bob Paddock ??: On Sunday 22 June 2008 03:25:21 pm Bill Hoffman wrote: Don't use add_definitions for compiler flags. Use CMAKE_CXX_FLAGS or CMAKE_C_FLAGS. Can you show an example please? When I try these: SET (CMAKE_CXX_FLAGS_DEBUG -Wall ) SET (CMAKE_CXX_FLAGS_RELEASE -Wall