Re: [CMake] Visual Studio Cross Compile

2015-11-06 Thread Rashad M
Hello all, I had tried what Michael was saying for another project with MinGW. And it works perfectly. I even had HowTo on our wiki [1] to setup windows development using cmake Eclipse IDE. Note that the "xdk" archive I was saying was generated using cross compile on linux [1]

Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-06 Thread Rashad M
precated_header.h.*" ... > > But then, the following line is: > > # warning "deprecated" > > Since that line does not match any of your expressions, maybe that's > the one triggering this warning slipping through as unignored? > > > HTH, > D > > >

[CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-05 Thread Rashad M
Hello all, I have CTestCustom.cmake.in file in source tree with the following contents https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in during ctest build CTestCustom.cmake file is getting generated inside the build tree. But however the warnings are

Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-05 Thread Rashad M
yes. On Thu, Nov 5, 2015 at 1:46 PM, David Cole <dlrd...@aol.com> wrote: > Does your ctest -S script call ctest_read_custom_files > https://cmake.org/cmake/help/v3.4/command/ctest_read_custom_files.html > after ctest_configure? > > > On Thursday, November 5, 2015,

Re: [CMake] BundleUtilities not working

2015-07-31 Thread Rashad M
On Thu, Jul 30, 2015 at 8:55 PM, Bill Somerville b...@classdesign.com wrote: On 30/07/2015 19:36, Rashad M wrote: Hi all, Hi Rashad We have a similar way here to get dll dependencies recursively and create a zip archive. Ideally, this could be integrated in cmake but not sure

Re: [CMake] BundleUtilities not working

2015-07-30 Thread Rashad M
Hi all, We have a similar way here to get dll dependencies recursively and create a zip archive. Ideally, this could be integrated in cmake but not sure if that will be ok on cmake side. The code doesn't uses fixup_bundle(..) but follows a similar function syntax. package_mingw( ARCH

[CMake] fixup_bundle on linux

2015-07-23 Thread Rashad M
Hi all, Does fixup_bundle() from BundleUtiltites works on linux in a similar fashion as in OSX. Currently calling fixup_bundle on a .app folder with some search dirs and libs it will scan the dependencies and produce a portable package. Is that possible in linux? I mean to generate distribution

[CMake] CTest Custom warning exception in CTestCustom.cmake.in

2014-10-11 Thread Rashad M
Hi all, Can anyone explain me how to filter out the below warning from dashboard? warning: #warning deprecated ./vcl_deprecated_header.h:10:3: warning: #warning deprecated [-Wcpp] # warning deprecated So far I tried having below in CTestCustom.cmake set(CTEST_CUSTOM_WARNING_EXCEPTION

Re: [CMake] CTest Custom warning exception in CTestCustom.cmake.in

2014-10-11 Thread Rashad M
ctest_confgiure see build notes - http://dash.orfeo-toolbox.org/viewNotes.php?buildid=160097 I thought it has something to do with '#' and quotes in the warning #warning deprecated [-Wcpp] HTH, David On Sat, Oct 11, 2014 at 9:47 AM, Rashad M mohammedrasha...@gmail.com wrote: Hi all, Can

[CMake] CTEST_CUSTOM_WARNING_EXCEPTION does not ignore vcl_deprecated_header

2014-10-09 Thread Rashad M
Hi, Below is from CTestCustom.cmake to ignore warning from vcl_deperacated_header.h set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} vcl_deprecated_header) here is the dashboard submission - http://dash.orfeo-toolbox.org/viewBuildError.php?type=1buildid=159898 here is

[CMake] cmake 3.0 tarball download error

2014-06-30 Thread Rashad M
Hi all, I am getting download error on firefox, chrome and from terminal using wget wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz --2014-06-30 16:13:32-- http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz Proxy request sent, awaiting response... 200 OK Length: 5489804 (5.2M)

Re: [CMake] cmake 3.0 tarball download error

2014-06-30 Thread Rashad M
I am behind a proxy. Is that the problem? I tried .Z, .tar.gz, .zip files directly from browser and also using wget On Mon, Jun 30, 2014 at 4:24 PM, Nils Gladitz nilsglad...@gmail.com wrote: On 06/30/2014 04:19 PM, Rashad M wrote: Hi all, I am getting download error on firefox, chrome

Re: [CMake] cmake 3.0 tarball download error

2014-06-30 Thread Rashad M
Ok. I will clone via github and switch to release branch. I can download other tar files behind the same proxy. Download is also not blocked here, at the end of download it says failed. On Mon, Jun 30, 2014 at 4:49 PM, Nils Gladitz nilsglad...@gmail.com wrote: On 06/30/2014 04:39 PM, Rashad M

[CMake] ctest local coverage

2014-06-17 Thread Rashad M
Hi, How to check code coverage locally? -- Regards, Rashad -- 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. For more information on each offering,

[CMake] ctest script mode for mingw

2014-06-09 Thread Rashad M
Hi all, Does anybody can share a cmak file used for dashboard submission(cdash) via ctest script mode. ctest -S cmake file I tried cmake and for my project cmake builds fine. But when using ctest it gives error on pthreads library. -- Regards, Rashad -- Powered by www.kitware.com

[CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Rashad M
Hi all, I was trying to add a cxx flags to clang -Wno-#warnings. to supress a deprecated header warning. In file included from main.cxx:3: /opt/install/vcl/vcl_deprecated_header.h:10:3: warning: deprecated [-W#warnings] # warning deprecated when i compile from terminal. clang++ main.cxx

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Rashad M
On Mon, May 19, 2014 at 9:30 AM, Nils Gladitz nilsglad...@gmail.com wrote: On 05/19/2014 09:05 AM, Rashad M wrote: Hi all, I was trying to add a cxx flags to clang -Wno-#warnings. to supress a deprecated header warning. It is clear that -Wno-#warning is not parsed properly. This maybe

Re: [CMake] cmake cannot add clang cxx flags

2014-05-19 Thread Rashad M
-\\#warnings worked. Adding this information in cmake would be helpful for other users. Just a wish. :) On Mon, May 19, 2014 at 10:36 AM, Nils Gladitz nilsglad...@gmail.comwrote: On 05/19/2014 10:13 AM, Nils Gladitz wrote: On 05/19/2014 09:52 AM, Rashad M wrote: Which generators