[CMake] ADD_LIBRARY Issue

2008-02-03 Thread Malhotra, Anupam
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 STD and EXT. Now in CMakeLis

[CMake] Environment variables

2008-02-03 Thread Robert Bielik
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... TIA /R ___ C

Re: [CMake] Running shell scripts...

2008-02-03 Thread Brandon Van Every
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_ROOT}; however, I am > having di

Re: [CMake] CMake and eclipse

2008-02-03 Thread Mike Jackson
So here are the problems you are going to run into with Eclipse and CMake. There is no proper integration between CMake and Eclipse. There is no plugin that can manage the CMake file and the C++ project together. In other words, Eclipse has 2 types of Projects: Managed C+ + and Makefile. If

[CMake] Running shell scripts...

2008-02-03 Thread Benjamen R. Meyer
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_ROOT}; however, I am having difficulty getting it to appear in the Makefile. Below is the syntax from top-m

Re: [CMake] CMake and eclipse

2008-02-03 Thread Giualian Sander
Hi Mike, Thanks a lot for your advices, I perfectly understand your point of view but in my case I'm willing to bring some capabilities to a "population" of developers (not necessarily hackers), that can enables us to abstract from the lowest layers of computing (usually autohell-handled). Your

[CMake] Visual Studio generator and cross-compilation

2008-02-03 Thread Emmanuel Blot
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 ignores the "force compiler" directives and select CL

[CMake] [Help] Build Qt Plugin with CMake

2008-02-03 Thread Yang, Y.
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 there anything wrong? *

Re: [CMake] CMake and eclipse

2008-02-03 Thread Mike Jackson
I gave that plugin a try out and while it is nice to graphically "see" the structure of a CMake file there did not seem to be any actual project management or any other features that I could figure out. I work with CMake and Eclipse (On OS X and Linux 64) all day long. You have already hear

[CMake] Fwd: "--as-needed"

2008-02-03 Thread Evgeny Ratnikov
-- Forwarded message -- From: Evgeny Ratnikov <[EMAIL PROTECTED]> Date: 03.02.2008 11:00 Subject: "--as-needed" To: cmake@cmake.org Hi When linking with option "--as-needed" the order of linkage is very important. At first there must be object files and then libraries. When linkin

Re: [CMake] CMake and eclipse

2008-02-03 Thread Maik Beckmann
Am Sonntag 03 Februar 2008 00:52:35 schrieb Giualian Sander: > Hi gents, > > I'm new to cmake, and I've found a project called CMakeBuilder ( > www.cmakebuilder.com) across the internet. > > I'm a C++/Autohell developer from years (let's says decades !) And I found > interesting the visual approach