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ů

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

[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:

[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

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:

[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:

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

[CMake] Building output of add_custom_command in multiple targets in Visual Studio

2016-04-18 Thread Fujii Hironori
I have a problem building output of add_custom_command in multiple projects causes unnecessary rebuild in Visual Studio. This problem is mentioned in the CMake documentation: add_custom_command — CMake 3.5.1 Documentation https://cmake.org/cmake/help/v3.5/command/add_custom_command.html | Do

[Cmake-commits] CMake branch, next, updated. v3.5.2-999-g7faf4c2

2016-04-18 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 7faf4c230e2915fb670f395d981fa69ada9fc327 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-997-gc8e7c7c

2016-04-18 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 c8e7c7c1e546dd208a6f454dc6f4de9d892f9e2c (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-985-g047a129

2016-04-18 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 047a12918207a0ce32a71fcfb7fb14f4233ebddd (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-981-g5755af3

2016-04-18 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 5755af3f986fe8553afc1bc56509906d54551c8e (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-449-gf5c8a46

2016-04-18 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, master has been updated via f5c8a46808dcf55652fe6bb13fca70bd241d5d46 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-442-g942e9d5

2016-04-18 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, master has been updated via 942e9d5019853ea3274e883f2389d80f7f0dbc66 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-445-g21fb50d

2016-04-18 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, master has been updated via 21fb50d5121763fb4c34a831665f7740154c0891 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-971-g26fbb4c

2016-04-18 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 26fbb4c14e24ec9af40f2d2814b715017de14bd2 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-451-gde3c7bd

2016-04-18 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, master has been updated via de3c7bd7994490a01fc0805fcfff277f07cb9116 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-453-g0256ea5

2016-04-18 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, master has been updated via 0256ea55abe019b3a9b487e422b327722ed8935c (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-447-g0f6a8f7

2016-04-18 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, master has been updated via 0f6a8f7a46f91be249199b356f0cb9b2b508f6b0 (commit) via

[cmake-developers] 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:

[Cmake-commits] CMake branch, next, updated. v3.5.2-989-g5734a2f

2016-04-18 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 5734a2f6d5e26ed8d07c46e95c5a62ac73ed6384 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-987-g8f84ab9

2016-04-18 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 8f84ab9c4fe1d9b192d5795475c95988231dd3b1 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-461-gef71350

2016-04-18 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, master has been updated via ef713503c8b9b317fdbd21c75d332febd77c31a3 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-467-gfa4ae9f

2016-04-18 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, master has been updated via fa4ae9fb12b61473f028a3ec38433f82a030c578 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-992-g62a4f33

2016-04-18 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 62a4f33bb4fd75931de450d8284d647217b9df51 (commit) via

Re: [cmake-developers] 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:

Re: [cmake-developers] 0016046: GHS Multi Generator: duplicate object file names

2016-04-18 Thread Brad King
On 04/17/2016 04:22 PM, Geoffrey Viola wrote: > Attached is a patch to fix the bug tracked at > https://cmake.org/Bug/view.php?id=16046. > It adds a special source property to set the obj filename for the GHS MULTI > generator. > It is necessary, because GHS MULTI has a bug where it can’t

[Cmake-commits] CMake branch, master, updated. v3.5.2-468-g7d4c99a

2016-04-18 Thread Kitware Robot
_VERSION_MINOR 5) -set(CMake_VERSION_PATCH 20160418) +set(CMake_VERSION_PATCH 20160419) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [cmake-developers] CMake API for warnings

2016-04-18 Thread Brad King
On 04/13/2016 01:20 AM, Ruslan Baratov wrote: >>> new variable like CMAKE_CHECK_WARNINGS_CONFLICTS=OFF may control this. >> I'd prefer to avoid extra knobs if possible. > Okay, what about CMake warning for developer? (cmake -Wdev/cmake -Wno-dev) Sure. >>> You mean this: >>> >>>