[CMake] static runtime libraries for executables

2007-06-14 Thread Alexander Ivash
Is it planned to add the subj feature in cmake ? It might looks like add_executable(test STATIC test.cpp) -- Best regards, Alexander mailto:[EMAIL PROTECTED] ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

[CMake] Is it possible to make a directory of tests dependent on RUN_TESTS target?

2007-06-11 Thread Alexander Ivash
Hello, cmake. When I build RUN_TESTS, is just executes tests if it were built and reports error if there were no tests built. Is it possible to build tests executing RUN_TESTS? -- Best regards, Alexander mailto:[EMAIL PROTECTED]

[CMake] How to make a target dependent on RUN_TESTS ?

2007-06-08 Thread Alexander Ivash
subj ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] RE: Is it possible to link against libraries, built

2007-06-07 Thread Alexander Ivash
Alexander Ivash wrote: > Hello, cmake. > > Is the subj is possible? I have two cmake-managed projects: the library and tests. And this tests need to > be linked against the library. How can I get such result? (Of course I can place tests and library into > the same cmakelists.t

[CMake] Is it possible to link against libraries, built in another cmakelists.txt ?

2007-06-06 Thread Alexander Ivash
Hello, cmake. Is the subj is possible? I have two cmake-managed projects: the library and tests. And this tests need to be linked against the library. How can I get such result? (Of course I can place tests and library into the same cmakelists.txt, but I think there will be a lot of tests and I

[CMake] Is it possible to link against libraries, built in another cmakelists.txt ?

2007-06-06 Thread Alexander Ivash
Is the subj is possible? I have two cmake-managed projects: the library and tests. And this tests need to be linked against the library. How can I ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] strange error: "The system cannot find the path specified."

2007-04-12 Thread Alexander Ivash
Hello, cmake. I have cmakelists.txt which contain something like the following: project(myLib) add_library(myLib ...) subdirs(examples) From this project I generate msvs2005 solution and unix-makefile for "diab" cross-compiler. When I build msvs2005 solution - all is ok, but for diab makef

[CMake] cmake exception

2007-03-16 Thread Alexander Ivash
Hello, cmake-request. You wrote 16 марта 2007 г., 15:22:41: > Alexander Ivash wrote: >>> What do you mean by termination? Does cmake crash? >>> >> Yes. Here some exception deatails: >> AppName: cmake.exe AppVer: 0.0.0.0 ModName: msvcr80d.

[CMake] cmake exception

2007-03-16 Thread Alexander Ivash
d. I thought that in such a way I can define compiler, linker etc and at the compile time they will be used with a full absolute path. If I wrong how to acquire what I want ? > Alexander Ivash wrote: >> Hello, cmake. >> >> The following sample from cmakelists.txt causes termin

[CMake] Re: CMake Digest, Vol 35, Issue 29

2007-03-16 Thread Alexander Ivash
Thank you for reply!.. I tried your way of passing -D options and see the same errors. >> >> The following sample from cmakelists.txt causes termination of cmake >> on win32. I run "cmake -D "CROSSCOMPILE=TRUE" -D "TOOL=diab" -D >> "CPU=SimNT" -D "UGL_INCLUDE=D:/WindRiver/components/windml-4.0/h"

[CMake] cmake exception

2007-03-15 Thread Alexander Ivash
Hello, cmake. The following sample from cmakelists.txt causes termination of cmake on win32. I run "cmake -D "CROSSCOMPILE=TRUE" -D "TOOL=diab" -D "CPU=SimNT" -D "UGL_INCLUDE=D:/WindRiver/components/windml-4.0/h" -D "VXWORKS_INCLUDE=D:/WindRiver/vxworks-6.1/target/h" -G "Unix Makefiles" ../../..

[CMake] Questions on CMAKE_CONFIGURATION_TYPES

2007-03-12 Thread Alexander Ivash
Hello, cmake. I need to make a project with 4 configuration types: "Debug", "Release", "Debug_Unicode" and "Release_Unicode". As I was told "Visual Studio 8 2005" generator can't handle configurations other than "Debug", "Release", "MinSizRel" and "RelWithDebugInfo". (When I tried to set my 4 conf

[CMake] cmake and crosscompiling

2007-02-27 Thread Alexander Ivash
Hello, cmake. Another pair of stupid questions. 1. Can you give me any tips on subj? 2. How to change c++ object and library files extensions? I compile unix makefile-based project from eclipse under win32 so cmake think my current platform is win32. And it makes c++ output is "obj" and libraries

Re[2]: [CMake] reusable cmakecache.txt

2007-02-27 Thread Alexander Ivash
Hello, Bill. You wrote 26 ôåâðàëÿ 2007 ã., 19:26:44: > Alexander Ivash wrote: >> Hello, cmake. >> >> I have 2 compilers: gnu and diab. Cmake can't find them so I have to >> run cmakesetup and enter path for them every time I need to prepare >> new project f

[CMake] reusable cmakecache.txt

2007-02-26 Thread Alexander Ivash
Hello, cmake. I have 2 compilers: gnu and diab. Cmake can't find them so I have to run cmakesetup and enter path for them every time I need to prepare new project for compilation. Is it possible to keep gnu related path in gnu.cmake and diab related in diab.cmake and later do something like this:

Re[2]: [CMake] CMake and Eclipse

2007-02-26 Thread Alexander Ivash
Hello, Alexander. You wrote 26 февраля 2007 г., 15:32:41: > Von: Alexander Ivash <[EMAIL PROTECTED]> >> Hello, cmake. >> >> Is it possible to use cmake with eclipse for c++ projects ? > You can have cmake create makefiles, and then use these makefiles > with a

[CMake] (no subject)

2007-02-26 Thread Alexander Ivash
Hello, cmake. Is it possible to use cmake with eclipse for c++ projects ? -- Best regards, Alexander mailto:[EMAIL PROTECTED] ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake