[CMake] How to add swig output file to SRC file list

2015-05-12 Thread Subodh Nijsure
Hello, I have following cmake file, I am using cmake 3.2 SET_SOURCE_FILES_PROPERTIES(${MYSRC}/myapi.i PROPERTIES CPLUSPLUS ON) SET_SOURCE_FILES_PROPERTIES(${MYSRC}/myapi.i PROPERTIES SWIG_FLAGS "-ignoremissing") SWIG_ADD_MODULE(myapi_swig python ${MYSRC}/myapi.i} set(MYLIBSRC_FILES ${MYSRC

Re: [CMake] (no subject)

2015-05-12 Thread J. Caleb Wherry
Uma, There are a few ways to do this. As Martin said, CentOS has an ancient version of CMake that ships with it and you can't update it with yum. So, you have 3 options: 1. Use the version shipped with CentOS and deal with it being old. 2. Download the latest binary release script/tarball: http:/

Re: [CMake] (no subject)

2015-05-12 Thread Martin Weber
Am Dienstag, 12. Mai 2015, 20:32:48 schrieb Uma Devi: > dear cmake user > i am not able to updaate the cmake in one of my linux system. how can i > update the cmake in centos Maybe because CentOS is still at cmake v 2.6? Martin -- Cd wrttn wtht vwls s mch trsr. -- Powered by www.kitware.com

Re: [CMake] install/strip target doesn't exist?

2015-05-12 Thread J Decker
I'm actually glad it doesn't auto strip though... in this case I'm appending signature data to the exe and it would be bad if that was stripped; and strip does do a good job of removing that also. I am curious why I can't specify the target on the command line... like why there's an automatic tran

[CMake] (no subject)

2015-05-12 Thread Uma Devi
dear cmake user i am not able to updaate the cmake in one of my linux system. how can i update the cmake in centos -- 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 co

Re: [CMake] EXCLUDE_FROM_DEFAULT_BUILD: a solution that works for both interactive and unattended builds

2015-05-12 Thread Nagy-Egri MC!tC) Ferenc via CMake
I am also interested in this. Not because I couldn’t do 2 seperate build directories for CLI and IDE building, but because VS projects are still the best shot at getting parallel builds on Windows. NMake batch support is not implemented, and Ninja has never built any of my projects without error

[CMake] EXCLUDE_FROM_DEFAULT_BUILD: a solution that works for both interactive and unattended builds

2015-05-12 Thread Alessio
Hi All (similar questions have been asked before, but none has quite hit the mark) Is there any way to force MSVC to build custom targets marked with EXCLUDE_FROM_DEFAULT_BUILD? Using cmake --build . --target SOME_EXCLUDED_TARGET --config Release will produce the well known message

[CMake] When is escaping of space characters in parameters really needed?

2015-05-12 Thread SF Markus Elfring
Hello, I would like to construct a custom command for the tool "Latexmk". http://www.cmake.org/cmake/help/v3.2/command/add_custom_command.html The corresponding Perl script can handle a parameter like "pdflatex". If I omit the parameter "VERBATIM", the current CMake software will add backslashes