Re: [CMake] add_custom_command, POST_BUILD

2016-06-02 Thread Vladimir Chebotarev
n Jun 1, 2016, Magnus Therning wrote: > >Vladimir Chebotarev writes: > >> Hi there. >> >> At the moment one can add a command executing after a build of a >target >> using: >> add_custom_command(... POST_BUILD...) >> >> However if the command

[CMake] add_custom_command, POST_BUILD

2016-06-01 Thread Vladimir Chebotarev
rgets if we have specified ones in list. Or maybe correct me if I miss something. Kind regards, Vladimir. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community

[CMake] Ninja target aliases generation - mixing absolute target path with relative

2015-09-11 Thread Vladimir Yelnikov
le2/lib3.lib', needed by 'lib1', missing and no known rule to make it I added additional phony to build.ninja and it worked: build ../module2/lib3.lib: phony d$:\project\module2\lib3 How should I fix CMake files to generate same names/aliases for targets? -- Best Wishes, Vladimir Yelnikov

[CMake] Adding an existing .vcxproj

2012-10-11 Thread Vladimir Jaksic
. Is there any way to bring this about? Vladimir -- 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: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to

Re: [CMake] How to force CMake install / CPack to create an empty directory.

2012-01-05 Thread Vladimir Jaksic
robably not worth a patch :-) > > Cheers, > > Fraser. > > > > > On 04/01/2012 14:02, Eric Noulard wrote: >> >> 2012/1/4 Vladimir Jaksic: >>> >>> Hello, >>> >>> For the purposes of my project i need to create multiple empty >>&

[CMake] How to force CMake install / CPack to create an empty directory.

2012-01-04 Thread Vladimir Jaksic
Hello, For the purposes of my project i need to create multiple empty directories where my exectuable is located, and I would like to include these directories in the .zip file. I have tried the following: -- ... INSTALL(TARGETS myproject DESTINATION .) INSTALL(DIRECTORY DESTINAT

[CMake] [PATCH] KWSys: Correctly handle empty environment variables

2011-12-15 Thread Vladimir Panteleev
This patch fixes a crash which occurs when SystemTools::GetPath attempts to process an empty environment variable. --- Source/kwsys/SystemTools.cxx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index ed7f62c..4

Re: [CMake] link_directories issue, cmake 2.8.5

2011-11-25 Thread Vladimir Chebotarev
On Fri, Nov 25, 2011 at 01:33:49PM +0100, Andreas Pakulat wrote: > On 25.11.11 15:06:02, Vladimir Chebotarev wrote: > > Actually, I already have normalized the path by myself, using > > get_filename_component, > > and everything is ok at the moment. > > Original messa

Re: [CMake] link_directories issue, cmake 2.8.5

2011-11-25 Thread Vladimir Chebotarev
Hi, Michael. On Fri, Nov 25, 2011 at 03:37:38AM +0100, Michael Hertling wrote: > On 11/23/2011 05:39 PM, Vladimir Chebotarev wrote: > > I've just found an issue with link_directories and cmake 2.8.5. > > If I give an absolute but not normalized path like > > c:/bla

[CMake] link_directories issue, cmake 2.8.5

2011-11-23 Thread Vladimir Chebotarev
lizes path making it relative and actually makes a mistake during that, so the final VC project can't find the path to library. -- Best Regards, Vladimir. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please kee

[CMake] Anybody succeeded with VS/NASM?

2011-10-17 Thread Vladimir Chebotarev
Hi. I'm trying to compile .cpp file along with .asm on Visual Studio. It correctly finds NASM assembler, but .asm file seems not to be included to build. Have tried VS 2005 and 2010, cmake 2.8.6 and 2.8.6-20111015. It works on linux/make generators of course. -- Best Regards, Vla

Re: [CMake] Cross-compiling on OS X/x86 for Linux/ARM, linking alibrary

2009-10-20 Thread Vladimir Lebedev-Schmidthof
Hello Hendrik, On Oct 20, 2009, at 17:50 PM, Hendrik Sattler wrote: Zitat von Vladimir Lebedev-Schmidthof : > I tried having toochain.cmake file in the same dir as CMakeLists.txt > > using > cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake . > > does not seem to even read tha

Re: [CMake] Cross-compiling on OS X/x86 for Linux/ARM, linking a library

2009-10-20 Thread Vladimir Lebedev-Schmidthof
CMAKE_TOOLCHAIN_FILE variable doesn't have effect as well. -- Sincerely Yours, Vladimir Lebedev-Schmidthof___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep m

Re: [CMake] Cross-compiling on OS X/x86 for Linux/ARM, linking a library

2009-10-20 Thread Vladimir Lebedev-Schmidthof
Hello Alexander, On Oct 19, 2009, at 23:18 PM, Alexander Neundorf wrote: > I set CMAKE_SYSTEM to Linux, even added "SET(APPLE 0)" but > install_name option is still generating. You should set "CMAKE_SYSTEM_NAME", not "CMAKE_SYSTEM" to "Linux". If you really set CMAKE_SYSTEM instead of CMAKE_S

[CMake] Cross-compiling on OS X/x86 for Linux/ARM, linking a library

2009-10-19 Thread Vladimir Lebedev-Schmidthof
headerpad_max_install_names is not recognized by my compiler) but I can obviously set that property to what I need. Please advise. -- Thanks in advance, Vladimir ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kit

[CMake] cdash<->ctest, label property

2009-07-13 Thread Vladimir Chebotarev
$this->Label->SetText($data); 250 } I think, this is a bug too. Please, correct me if I make a mistake. -- WBR, Vladimir. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Vladimir Prus
On Sunday 22 March 2009 01:01:44 Bill Hoffman wrote: > Bill Hoffman wrote: > > Vladimir Prus wrote: > > >> > >> Therefore, that page is at very least inaccurate. I would like to request > >> CMake developers fix that page. > >> > > > >

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Vladimir Prus
On Saturday 21 March 2009 22:28:43 Piotr Dobrogost wrote: > Hi > > On the following page > http://www.cmake.org/cmake/help/documentation.html > one can read the following statement > "In addition many other popular open source projects use CMake such as > VTK, ITK, ParaView, VXL, SecondLife and Bo

[CMake] make CFLAGS= support

2009-03-11 Thread Vladimir Prus
Hello, I have cmake version '2.6-patch 2', and after I generate makefiles, and build with make CFLAGS=-O2 I don't see -O2 being used in the compiler command line. Is this the expected behaviour? I realize that CFLAGS is a automake convention, so I am not saying cmake should support it,

Re: [CMake] Visual Studio Warning Level

2008-11-22 Thread Vladimir Prus
Hendrik Sattler wrote: > Am Saturday 22 November 2008 15:17:12 schrieb Vladimir Prus: >> Michael Jackson wrote: >> > On Nov 22, 2008, at 8:01 AM, Vladimir Prus wrote: >> >> Bill Hoffman wrote: >> >>> Robert Dailey wrote: >> >>>> Hi

Re: [CMake] Visual Studio Warning Level

2008-11-22 Thread Vladimir Prus
Michael Jackson wrote: > > On Nov 22, 2008, at 8:01 AM, Vladimir Prus wrote: > >> Bill Hoffman wrote: >> >>> Robert Dailey wrote: >>>> Hi, >>>> >>>> I've done some googling on how to set warning levels for visual >>&g

Re: [CMake] Visual Studio Warning Level

2008-11-22 Thread Vladimir Prus
Bill Hoffman wrote: > Robert Dailey wrote: >> Hi, >> >> I've done some googling on how to set warning levels for visual studio >> projects generated with CMake and I can't say I really enjoy the >> proposed solutions I've found. Literally this should be a single >> function call like: >> >> cmak

Re: [CMake] Boost Trunk is getting CMake support

2008-11-02 Thread Vladimir Prus
Daniel Stonier wrote: > 2008/11/2 Esben Mose Hansen <[EMAIL PROTECTED]>: >> On Saturday 01 November 2008 20:16:42 Michael Jackson wrote: >>> Just wanted to let the cmake community know that very early CMake >>> support has been added to the Boost trunk. Currently only some of the >> >> That is gre

Re: [CMake] Preprocessed linker script

2008-10-03 Thread Vladimir
Hello Alexander, Thanks a lot for your suggestion, it works well for me ! Alexander Neundorf wrote: > On Monday 29 September 2008, Vladimir wrote: >> Hello, >> >> I want to link an executable with custom linker script, but my script >> have to be preprocessed

[CMake] Preprocessed linker script

2008-09-29 Thread Vladimir
S "-T${MOD_LINKER_SCRIPT}") but the dependency is somhow ignored and my custom command is not invoked. What am I doing wrong ? Thanks for your attention. -- Best Regards, Vladimir ___ CMake mailing list CMake@cmake.org http://www.cm

[CMake] Cpack and cmake's install commands with absolute destination value

2008-08-08 Thread Slaykovsky Vladimir
on to relative value like this: install(TARGETS MyExecutable RUNTIME DESTINATION bin) then MyExecutable is included to package. Please, help, how can I use absolute install paths with cpack? I've searched for apropriate CPACK_* configuration option, but found nothing Thank you. -

Re: [CMake] Question about nmake generator

2008-04-16 Thread Vladimir Sysoev
NMake makefile generator is used. On Wed, Apr 16, 2008 at 6:43 PM, Vladimir Sysoev <[EMAIL PROTECTED]> wrote: > Hello, > 2.6.0-RC8 generates Makefile which calls cmake.exe in several places. How > can I switch it off to be able to run building on the computer without cm

[CMake] Question about nmake generator

2008-04-16 Thread Vladimir Sysoev
Hello, 2.6.0-RC8 generates Makefile which calls cmake.exe in several places. How can I switch it off to be able to run building on the computer without cmake isntalled. Thanks, Vladimir ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

Re: [CMake] Question about MSVC link-process

2008-04-08 Thread Vladimir Sysoev
OBJECT_DEPENDS option in SET_SOURCE_FILES_PROPERTIES to add file-level dependencies to object files. -vladimir On Wed, Apr 9, 2008 at 10:13 AM, Ilya Shvetsov <[EMAIL PROTECTED]> wrote: > On Wed, 09 Apr 2008 07:32:59 +0300, Vladimir Sysoev < > [EMAIL PROTECTED]> wrote: > > Ilya

[CMake] Building two binaries from common source: different defines required

2008-01-14 Thread Vladimir Pouzanov
I have a project consisting of two binaries build from same source (they do differ in one .cpp file though). Is it possible to set ADD_DEFINITIONS on per-executable basis somehow? I need to add a define specifying which binary type is being built. ___ C