Re: [CMake] Patch for BundleUtilities to ignore specified files

2016-04-18 Thread Roman Wüger
Hello Brad, attached is an updated patch. Regards Roman 0001-BundleUtilities-Add-optional-parameter-to-ignore-spe.patch Description: Binary data > Am 18.04.2016 um 17:28 schrieb Brad King : > >> On 04/18/2016 10:20 AM, Roman Wüger wrote: >> attached is a patch with which files can be specif

[CMake] CMake: how to use 'if condition' in command add_custom_command(...)

2016-04-18 Thread Chaos Zhang
Hi, Is there a way to use Linux command 'if' like this : For i need to execute 'if condition' in make phase rather than cmake phase. Thanks a lot Chaos Zhang -- View this message in context: http://cmake.3232098.n2

Re: [CMake] Is there any ongoing work to support toolset Clang 3.7 with Microsoft CodeGen (v140_clang_3_7)

2016-04-18 Thread forumer
Hi, I have tested a nightly build and I have noticed that when compiling in debug mode, debug symbols are not generated and we cannot debug. When I compare vcxproj files when I enable manually Full Debug Information from project properties it seems that the GenerateDebugInformation is set to

Re: [CMake] CMakeLists.txt: How to print a message if ctest fails?

2016-04-18 Thread Muhammad Osama
Hi Miroslav, Thank you for replying! I added this in my root CMakeLists.txt, purposely made the ctest's test fail but didn't get the output message. Is this script suppose to be added inside CMakeLists.txt? Or am I doing this incorrectly? Thanks again, On Mon, Apr 18, 2016 at 6:30 AM, Matějů Mir

Re: [CMake] Patch for BundleUtilities to ignore specified files

2016-04-18 Thread Brad King
On 04/18/2016 10:20 AM, Roman Wüger wrote: > attached is a patch with which files can be specified which should not be > resolved. Thanks. Please include a documentation update too. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cma

[CMake] How to check if Eclipse CDT4 generated project is set up correctly?

2016-04-18 Thread Nils Rathmann
Hi, when I setup with the Eclipse CDT4 generator, as described here: https://cmake.org/Wiki/Eclipse_CDT4_Generator4 my [Targets] folder contains virtual folders for CMakeRules, Header Files, Object Files, Resources and Source Files, but only the source files folder is filled. The other folder

[CMake] Patch for BundleUtilities to ignore specified files

2016-04-18 Thread Roman Wüger
Hello, attached is a patch with which files can be specified which should not be resolved. Best regards Roman 0001-BundleUtilities-Add-optional-parameter-to-ignore-spe.patch Description: Binary data -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] CMakeLists.txt: How to print a message if ctest fails?

2016-04-18 Thread Matějů Miroslav , Ing .
Hi Muhammad, you can use a CTest script, see https://cmake.org/Wiki/CMake_Scripting_Of_CTest for details. I use the following code in my CTest script: if(configure_failed OR build_failed OR test_failed) message(FATAL_ERROR "Test ${CTEST_BUILD_NAME} failed.") endif() Best regards, Miroslav F