Re: [CMake] Version in name of shared library

2012-09-06 Thread Michael Stürmer
Am 06.09.2012 09:43, schrieb Anton Sibilev: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got 'libxxx.so'. I want to create lib with name like 'libxxx.so.1', can you please help, how to make this? Point is not to create link or copy libxxx.so -

Re: [CMake] Version in name of shared library

2012-09-06 Thread Michael Wild
On 09/06/2012 09:43 AM, Anton Sibilev wrote: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got 'libxxx.so'. I want to create lib with name like 'libxxx.so.1', can you please help, how to make this? Point is not to create link or copy libxxx.so -

Re: [CMake] Version in name of shared library

2012-09-06 Thread Michael Stürmer
Am 06.09.2012 09:43, schrieb Anton Sibilev: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got 'libxxx.so'. I want to create lib with name like 'libxxx.so.1', can you please help, how to make this? Point is not to create link or copy libxxx.so -

Re: [CMake] Version in name of shared library

2012-09-06 Thread Eric Noulard
2012/9/6 Anton Sibilev anton.sibi...@gmail.com: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got 'libxxx.so'. I want to create lib with name like 'libxxx.so.1', can you please help, how to make this? set_target_properties(xxx PROPERTIES VERSION 1.0.0

Re: [CMake] Version in name of shared library

2012-09-06 Thread Benjamin Eikel
Am Donnerstag, 6. September 2012 um 10:01:36 schrieb Michael Wild: On 09/06/2012 09:43 AM, Anton Sibilev wrote: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got 'libxxx.so'. I want to create lib with name like 'libxxx.so.1', can you please help,

Re: [CMake] Version in name of shared library

2012-09-06 Thread Michael Wild
On 09/06/2012 10:05 AM, Benjamin Eikel wrote: Am Donnerstag, 6. September 2012 um 10:01:36 schrieb Michael Wild: On 09/06/2012 09:43 AM, Anton Sibilev wrote: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got 'libxxx.so'. I want to create lib with name

Re: [CMake] Version in name of shared library

2012-09-06 Thread Michael Wild
On 09/06/2012 10:09 AM, Michael Wild wrote: On 09/06/2012 10:05 AM, Benjamin Eikel wrote: Am Donnerstag, 6. September 2012 um 10:01:36 schrieb Michael Wild: On 09/06/2012 09:43 AM, Anton Sibilev wrote: Hi all! I'm making shared library with add_library(xxx SHARED xxx.c) and as result I got

[CMake] how to support compiler option --md --depend=$(@:%.o=%.d)?

2012-09-06 Thread zou tao
Hi, I use armcc to compile webkit. It need to support options --md --depend=$(@:%.o=%.d) which in rules .c.o: $(CC) $(CFLAGS) -o $@ $ will be replaced its name to object name to create right dependence file. e.g compile test.c then before compiling, it will be changed into --md

Re: [CMake] Scanning dependencies of target slowness weirdness.

2012-09-06 Thread Amine Chadly
Hi, I am no CMake expert, but I would test on an identical file system types... I am pretty sure that ntfs and ext3fs don't have the same read-write access latency and this might explain your time difference. You could additionally launch a strace on the two settings and see if there are major

[CMake] Windows 8 native app generator.

2012-09-06 Thread Martell
Hi guys, I noticed that In the latest release (well in the last rc now in stable release), minmin added support for an arm generator for windows 8. Can I use cmake to generate a windows 8 modern ui solution file for vs 11 (aka 2012)? and if so how? -- View this message in context:

[CMake] numerical option at compile time

2012-09-06 Thread Jack Stalnaker
Using autoconf, I could specify a numerical option using AC_ARG_ENABLE. This was useful for specifying a logging level at compile time. I could pass --enable-logging=8 to the configure script to enable deep logging. Is there a way to do this with cmake? Seems like option only allows yes or no

Re: [CMake] numerical option at compile time

2012-09-06 Thread Michael Wild
On 09/06/2012 04:15 PM, Jack Stalnaker wrote: Using autoconf, I could specify a numerical option using AC_ARG_ENABLE. This was useful for specifying a logging level at compile time. I could pass --enable-logging=8 to the configure script to enable deep logging. Is there a way to do this with

Re: [CMake] numerical option at compile time

2012-09-06 Thread Eric Noulard
2012/9/6 Michael Wild them...@gmail.com: On 09/06/2012 04:15 PM, Jack Stalnaker wrote: Using autoconf, I could specify a numerical option using AC_ARG_ENABLE. This was useful for specifying a logging level at compile time. I could pass --enable-logging=8 to the configure script to enable deep

Re: [CMake] Windows 8 native app generator.

2012-09-06 Thread J Decker
winrt apps are written in C#/WPF On Thu, Sep 6, 2012 at 6:47 AM, Martell martellmal...@gmail.com wrote: Hi guys, I noticed that In the latest release (well in the last rc now in stable release), minmin added support for an arm generator for windows 8. Can I use cmake to generate a windows 8

Re: [CMake] OS X spaces in paths issue

2012-09-06 Thread David Cole
This probably just means there's an error with double-quoting (or lack of it) in the script. Can you post the script? On Wed, Sep 5, 2012 at 5:12 PM, David Gobbi david.go...@gmail.com wrote: This might have already been answered on the list but it didn't come up in a search. Someone that I

Re: [CMake] Scanning dependencies of target slowness weirdness.

2012-09-06 Thread Bill Hoffman
On 9/6/2012 5:56 AM, Amine Chadly wrote: Hi, I am no CMake expert, but I would test on an identical file system types... I am pretty sure that ntfs and ext3fs don't have the same read-write access latency and this might explain your time difference. You could additionally launch a strace on the

[CMake] Adding Target to sibling

2012-09-06 Thread Totte Karlsson
Hi, I have a c++ library with some wrappers. The wrappers are in two folders ./Wrappers/C and ./Wrappers/Python The python 'target' and its install is just some python files. However it depends on the C wrapper being built and installed first. How do I express that in the CMakeList in the

[CMake] How to get special target's source directory

2012-09-06 Thread Loaden
Hi, list! I have a library target named 'TestLib', path is ./src/libs/testlib_src_dir' And now I made a execute named 'TestApp', path is './src/app' I try to link TestLib using: target_link_libraries(TestApp TestLib) My question: How to get the 'TestLib' target's source direcory (want get

Re: [CMake] How to get special target's source directory

2012-09-06 Thread Sascha Cunz
Hi, Yuchen, On Friday, September 07, 2012 08:43:02 AM Loaden wrote: Hi, list! I have a library target named 'TestLib', path is ./src/libs/testlib_src_dir' And now I made a execute named 'TestApp', path is './src/app' I try to link TestLib using: target_link_libraries(TestApp TestLib)

Re: [CMake] How to get special target's source directory

2012-09-06 Thread Loaden
INCLUDE_DIRECTORIES( ${FOO_SOURCE_DIR} ) # FOO here comes from the PROJECT() line in the other CMakeLists.txt I don't want to add project(FOO) in my target'sCMakeLists.txt. Because it is really not a real project, only a library target. Does there exist other way? I've seen your English

Re: [cmake-developers] Using the internal Code::Blocks builder

2012-09-06 Thread Benjamin Eikel
Am Mittwoch, 5. September 2012 um 22:29:59 schrieb Bill Hoffman: On 9/5/2012 3:11 PM, Benjamin Eikel wrote: That might become a problem. I tried codeblocks --build --target=MyTarget MyProject.cbp which works and builds the specified target inside the project. But that opens a log

Re: [cmake-developers] Using the internal Code::Blocks builder

2012-09-06 Thread Peter Kümmel
On 05.09.2012 20:54, Alexander Neundorf wrote: Something like $ codeblocks --build foo.cbp Ah, a new build system ;) This is more or less necessary so cmake can run its test suite to verify the generator works correctly. Alex -- -- Powered by www.kitware.com Visit other Kitware

[cmake-developers] target property COMPILE_FLAGS_CONFIG

2012-09-06 Thread Michael Stürmer
Hello there, I really have the need get some configuration dependent compiler flags into my CMake projects. For linker stage properties LINKER_FLAGS_CONFIG exist, unfortunately COMPILE_FLAGS_CONFIG do not. I want to change that myself and would be very happy if some experienced developers

[cmake-developers] [CMake 0013520]: CodeBlocks - NMake generator says 'Copying OS X content ...'

2012-09-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13520 == Reported By:Bjoern Thiel Assigned To:

Re: [cmake-developers] target property COMPILE_FLAGS_CONFIG

2012-09-06 Thread Michael Stürmer
Am 06.09.2012 11:13, schrieb Michael Stürmer: Hello there, I really have the need get some configuration dependent compiler flags into my CMake projects. For linker stage properties LINKER_FLAGS_CONFIG exist, unfortunately COMPILE_FLAGS_CONFIG do not. I want to change that myself and would be

Re: [cmake-developers] target property COMPILE_FLAGS_CONFIG

2012-09-06 Thread Michael Stürmer
Am 06.09.2012 15:33, schrieb Brad King: On 09/06/2012 09:11 AM, Michael Stürmer wrote: Ok, it was easier than I feared. COMPILE_FLAGS_CONFIG works now for me with VS 2010 (and makefiles as well I hope, did not test that one so far). I'm not yet sure if I enhance it toLANG_FLAGS_CONFIG but

[cmake-developers] [CMake 0013521]: MSYS - Incorrect generation of build script

2012-09-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13521 == Reported By:Timotei Assigned To:

[cmake-developers] FindQt4 DBus framework problem on the Mac

2012-09-06 Thread David Cole
I still get bit by issues with QtDBus when building VTK with Qt support on my Mac... It gets found as a .framework, but there's not actually a library inside the framework folder, so link errors occur. It would be fine if it simply didn't get found. I waste some time every few months when I

[cmake-developers] Recommended way to get the definitions for a target ?

2012-09-06 Thread Alexander Neundorf
Hi, is there a recommended way to collect the preprocessor definitions for a target ? From looking around it seems I have to manually collect COMPILE_DEFINITIONS from the makefile, the target and the source file, and then again for each of those additionally the per-configuration settings. Is

Re: [cmake-developers] FindQt4 DBus framework problem on the Mac

2012-09-06 Thread Clinton Stimpson
On Thursday, September 06, 2012 03:17:33 PM David Cole wrote: I still get bit by issues with QtDBus when building VTK with Qt support on my Mac... It gets found as a .framework, but there's not actually a library inside the framework folder, so link errors occur. It would be fine if it simply

Re: [cmake-developers] FindQt4 DBus framework problem on the Mac

2012-09-06 Thread David Cole
I am using a Qt 4.8.0 build, and I am seeing this problem in the Qt install tree. What's recent in your book? (If I upgrade to 4.8.2 will the problem also just go away...?) On Thu, Sep 6, 2012 at 3:55 PM, Clinton Stimpson clin...@elemtech.com wrote: On Thursday, September 06, 2012 03:17:33 PM

Re: [cmake-developers] FindQt4 DBus framework problem on the Mac

2012-09-06 Thread Clinton Stimpson
I remember it being a problem in 4.6.0, 4.6.1 and then it was fixed in 4.6.2. I meant recent by looking at my 4.8.2 build I made a few weeks back and seeing that it doesn't have the empty framework. However, it is there in the build tree. So maybe they regressed again in 4.8.0 and fixed it.

[cmake-developers] [CMake 0013523]: Function defined in a subdiretory can't see its global variables when called from outside

2012-09-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://cmake.org/Bug/view.php?id=13523 == Reported By:quaker Assigned To:

[Cmake-commits] CMake branch, next, updated. v2.8.9-384-ge301b6b

2012-09-06 Thread Rolf Eike Beer
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e301b6b906522f20ad317f10b4935ce4653103b0 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-386-g96a741f

2012-09-06 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 96a741f990bac5212041d2312bce82207be5ae0d (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-388-g9ec5149

2012-09-06 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 9ec51496f5127dedb5f73d32e9b6370eb221f9d4 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-236-g308564e

2012-09-06 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 86f8282..40969ca 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 9) -set(CMake_VERSION_TWEAK 20120906