RE: [CMake] ADD_LIBRARY Issue

2008-02-04 Thread Malhotra, Anupam
Hi Bill Thanks so much!! It worked!!! Thanks and Regards Anupam Malhotra -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 6:36 PM To: Malhotra, Anupam Cc: cmake@cmake.org Subject: Re: [CMake] ADD_LIBRARY Issue Malhotra, Anupam wrote: > Hi

[CMake] Building Java

2008-02-04 Thread Benjamin Reed
I've got a JNI library which has some C code and some java. It seems like cmake has some support for "compiling" java files, but I really am not sure how to set up my targets. How do I turn a set of *.java files into *.class files? Also, it looks like there's no specific support for creating a .

Re: [CMake] Running shell scripts...

2008-02-04 Thread Benjamen R. Meyer
Bill Hoffman wrote: > Benjamen R. Meyer wrote: >> Brandon Van Every wrote: >>> On Feb 3, 2008 7:16 PM, Benjamen R. Meyer <[EMAIL PROTECTED]> wrote: I wrote a bash shell script to get the SVN global revision information (e-mail me privately if you want a copy) to put into a header file >>>

Re: [CMake] Re: How to pass arguments to 'cmake -P' scripts?

2008-02-04 Thread Brandon Van Every
On Feb 4, 2008 3:09 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Brandon Van Every wrote: > > > > But my question is *why* must -P be the last thing? Is this a design > > flaw, or is there some shell reason for it? > > > > I think it is so you can have multiple -P options with different -D > opti

Re: [CMake] Visual Studio generator and cross-compilation

2008-02-04 Thread Alexander Neundorf
On Monday 04 February 2008, Emmanuel Blot wrote: > > This is currently not supported for the MSVC generator. > > How about using Eclipse and the CMake Eclipse generator ? > > It currently has issues with out-of-source builds, but as long as > > you use the > > Eclipse generator with in-source build

Re: [CMake] Visual Studio generator and cross-compilation

2008-02-04 Thread Emmanuel Blot
This is currently not supported for the MSVC generator. How about using Eclipse and the CMake Eclipse generator ? It currently has issues with out-of-source builds, but as long as you use the Eclipse generator with in-source builds it should work nicely :-) Sure, but I really don' t like/don'

Re: [CMake] problems finding FLAC

2008-02-04 Thread Alexander Neundorf
On Friday 25 January 2008, Zé wrote: > Im building kdemultimedia4 and i have all flac files isntalled, however > cmake isnt able to find the FLAC files, and outputs this: > > --- >-- -- The following external packages were loca

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

2008-02-04 Thread clinton
On Sunday 03 February 2008 12:18:12 pm 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

RE: [CMake] cmake package question

2008-02-04 Thread James C. Newell
> -Original Message- > From: Eric Noulard [mailto:[EMAIL PROTECTED] > Sent: Monday, February 04, 2008 3:31 PM > To: James C. Newell > Cc: cmake@cmake.org > Subject: Re: [CMake] cmake package question > > 2008/2/4, James C. Newell <[EMAIL PROTECTED]>: > > Hello, > > > > I am new to cmake

Re: [CMake] cmake package question

2008-02-04 Thread Eric Noulard
2008/2/4, James C. Newell <[EMAIL PROTECTED]>: > Hello, > > I am new to cmake but enjoying it greatly. > > My question relates to the cpack feature. I wasn't able to determine > from the documentation or wiki on how to have the package command only > include the file system from myproj-0.1.1-Linux

Re: [CMake] Scripts for handle google/ctemplate

2008-02-04 Thread pepone . onrez
CTemplate is a simple but powerful template language for C++. It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. http://code.google.com/p/google-ctemplate/ On Feb 4, 2008 8:49 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote:

Re: [CMake] Re: How to pass arguments to 'cmake -P' scripts?

2008-02-04 Thread Bill Hoffman
Brandon Van Every wrote: On Feb 4, 2008 2:44 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: I think this is documented now in cmake 2.4.8 It is: # -P : Process script mode. Process the given cmake file as a script written in the CMake language. No configure or generate step is performed

Re: [CMake] Re: How to pass arguments to 'cmake -P' scripts?

2008-02-04 Thread Brandon Van Every
On Feb 4, 2008 2:44 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > > I think this is documented now in cmake 2.4.8 It is: # -P : Process script mode. Process the given cmake file as a script written in the CMake language. No configure or generate step is performed and the cache is not modi

[CMake] cmake package question

2008-02-04 Thread James C. Newell
Hello, I am new to cmake but enjoying it greatly. My question relates to the cpack feature. I wasn't able to determine from the documentation or wiki on how to have the package command only include the file system from myproj-0.1.1-Linux and below. So, in the example below instead of the .tar.gz

Re: [CMake] Scripts for handle google/ctemplate

2008-02-04 Thread Alexander Neundorf
On Wednesday 30 January 2008, pepone.onrez wrote: > Hi > > I have create and script for search google/ctemplate package Stupid question: what is google/ctemplate ? Alex ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Visual Studio generator and cross-compilation

2008-02-04 Thread Alexander Neundorf
On Sunday 03 February 2008, Emmanuel Blot wrote: > Hi all, > > Does cmake (2.5 pre) support generation of build files for Visual > Studio (2008 if that matters) projects for cross-compiling to a > different OS/CPU (needs: eCos/ARM). > > It seems that when such a generator is selected, CMake simply

Re: [CMake] Re: How to pass arguments to 'cmake -P' scripts?

2008-02-04 Thread Alexander Neundorf
On Saturday 02 February 2008, Matthew Woehlke wrote: > Ick. Please, no http://www.cygwin.com/acronyms#TOFU. > > James Bigler wrote: > > Matthew Woehlke wrote: > >> but I couldn't figure out how to tell the script what parameters it > >> should run with. > > > > [snip] > > Make sure you put the argu

Re: [CMake] Makefile colors and CDT generator

2008-02-04 Thread Alexander Neundorf
On Thursday 31 January 2008, Jean Lepropre wrote: > Hi, > > When using the CDT generator how can I get colored output in the eclipse > console? I checked that the > CMAKE_COLOR_MAKEFILE option is ON but it didn't change anything. Please have a look at CMake/Sources/cmExtraEclipseGenerator.cxx (or

Re: [CMake] Including existing make files into cmake

2008-02-04 Thread Alexander Neundorf
On Tuesday 29 January 2008, Ali - wrote: > Hi, > > There is this existing big project which is based on autotools and I am > trying to simply include the existing make files into my cmake project > (don't even mention the possibility of converting the whole thing to cmake, > this is the project own

Re: [CMake] Invoking ant (clean)

2008-02-04 Thread Alexander Neundorf
On Monday 28 January 2008, Chen Levy wrote: > Hello, List. > > I am setting up a build system based on CMake, that replaces the > current build system. However some of the sources are already build > with Apache ant, that works perfectly fine with the existing build.xml > files. > > I wish to invok

Re: [CMake] Install a certain target

2008-02-04 Thread Alexander Neundorf
On Monday 28 January 2008, Salvatore Iovene wrote: > Hi, > > I have a project with several libraries and dependencies. Let's say > libA, libB and libC where libA depends on libB, which depends on libC. > > If I just want to build libB (and libC too of course), I know I can just > do "make B". But i

Re: [CMake] Linux "cmake ." core dumped

2008-02-04 Thread Alexander Neundorf
On Sunday 27 January 2008, Steven Van Ingelgem wrote: > Hi, > > > Using a CVS version from a few minutes ago, I receive this: > > cmake: /src/CMake/Source/cmLocalGenerator.cxx:2224: std::string > cmLocalGenerator::ConvertToRelativePath(const > std::vector, > std::allocator >, std::allocator std::ch

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

RE: [CMake] Excluding non local headers from dependency generation.

2008-02-04 Thread Josef Karthauser
I didn't see an answer to this - I'd love to know if there is one. Pretty please J. Joe From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josef Karthauser Sent: 31 January 2008 14:35 To: cmake@cmake.org Subject: [CMake] Excluding non local headers from dependency generation.

RE: [CMake] Visual Studio generator and cross-compilation

2008-02-04 Thread Josef Karthauser
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Emmanuel Blot > Sent: 03 February 2008 20:15 > To: cmake@cmake.org > Subject: [CMake] Visual Studio generator and cross-compilation > > Hi all, > > Does cmake (2.5 pre) support generation of build fi

Re: [CMake] Running shell scripts...

2008-02-04 Thread Bill Hoffman
Benjamen R. Meyer wrote: Brandon Van Every wrote: On Feb 3, 2008 7:16 PM, Benjamen R. Meyer <[EMAIL PROTECTED]> wrote: I wrote a bash shell script to get the SVN global revision information (e-mail me privately if you want a copy) to put into a header file under POSIX systems. The script is loc

Re: [CMake] Running shell scripts...

2008-02-04 Thread Benjamen R. Meyer
Brandon Van Every wrote: > On Feb 3, 2008 7:16 PM, Benjamen R. Meyer <[EMAIL PROTECTED]> wrote: >> I wrote a bash shell script to get the SVN global revision information >> (e-mail me privately if you want a copy) to put into a header file under >> POSIX systems. The script is located at ${CMAKE_RO

Re: [CMake] ADD_LIBRARY Issue

2008-02-04 Thread Bill Hoffman
Malhotra, Anupam wrote: Hi I have a project in which I am creating a static library using cmake. The source files to be used for the library are spread over two subfolders. I have a main folder say TLV and within TLV I have two subfolders EXT and STD. The C source files are present in both

Re: [CMake] Win64

2008-02-04 Thread David Cole
CMAKE_CL_64 will be defined if you are running the configure for "NMake Makefiles" from a Win64 Visual Studio command prompt... or if you are running the configure for the "Visual Studio 8 2005 Win64" generator. I suspect you are using the "Visual Studio 8 2005" generator which will always produce

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

2008-02-04 Thread Yang, Y.
Dear Tomasz, The attachment is my code. I guess it would be helpful. Best regards. Yang From: Tomasz Piotrowski [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 9:20 AM To: Yang, Y. Subject: Re: [CMake] [Help] Build Qt Plugin with CMake How do yo

[CMake] Win64

2008-02-04 Thread Surya Kiran Gullapalli
Hello, I'm running cmake - 2.4.8 on win64 platform. Cmake was installed using the win32 installer. Now when i'm running cmake and doing some platform checks, I'm always getting the platform as x86 only. Like CMAKE_CL_64 is not defined. ENV{PROCESSOR_ARCHITECTURE} is x86. Even though at command p

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

2008-02-04 Thread Yang, Y.
My plugin interface declaration is: interface.h #ifndef INTERFACES_H #define INTERFACES_H #include #include class MyPluginInterface { public: //virtual ~MyPluginInterface() { //} virtual QString name() const = 0; }; Q_DECLARE_INTERFACE(MyPluginInterface, "com.trolltech.PlugAndPaint.M

Re: [CMake] Environment variables

2008-02-04 Thread Robert Bielik
Robert Bielik skrev: Is there a way to set environment variables (Windoze) permanently with CMake ? Tried the SET(ENV{MY_ENV_VAR} Stuff) but since MY_ENV_VAR never showed up after running CMake I suspect it is only set locally in the process running CMake... Ok, so this seems to be the case (