Re: [cmake-developers] FindMPI take 2

2014-12-11 Thread Alin Marin Elena
Hi Brad, 0001-correctly-detect-MPI-linker-flags-for-Intel-MPI-mayb.patch Thanks. That adds a block much like one above it. Can the preceding block be modified to match both -Wl, and -Xlinker? Something like: -string(REGEX MATCHALL (^| )-Wl,([^\ ]+|\[^\]+\) MPI_ALL_LINK_FLAGS

Re: [cmake-developers] FindMPI take 2

2014-12-11 Thread Alin Marin Elena
Hi Kelly I have been looking into this. For my setup, I found it useful to compare the CMAKE_LANG_COMPILER to the list of known mpi wrapper names and prepend _MPI_${lang}_COMPILER_NAMES with CMAKE_LANG_COMPILER so that the remaining logic in FindMPI.cmake chooses the user supplied

[cmake-developers] [CMake 0015299]: CMakeExpandImportedTargets does not support generator expression TARGET_PROPERTY w/o target specified

2014-12-11 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15299 == Reported By:Paweł Stankowski Assigned To:

Re: [cmake-developers] [PATCH] VS, WINCE: Fix entry point for Unicode builds

2014-12-11 Thread Bach, Pascal
I think that would be the best approach. If you work on it, please ensure the implementation supports all Windows toolchains on all generators, or at least those combinations that already support WIN32_EXECUTABLE. I had a look trough the code. I found that the VS6 generator also sets the

Re: [cmake-developers] FindMPI take 2

2014-12-11 Thread Thompson, KT
Alin Elena wrote: In addition to that I have noticed that in the interrogate function we never check that we can actually generate a binary with the findings, shall we have a try_mpi_compile at the end of interrogate function? In general, I think this is a good idea because I have

Re: [cmake-developers] FindMPI take 2

2014-12-11 Thread Alin Marin Elena
Hi KT, In general, I think this is a good idea because I have encountered situation were the cmake compiler was a different flavor (intel, gnu, pgi, etc) than the selected mpi compiler wrapper. However, if the chosen mpi compiler wrapper is the same as CMAKE_LANG_COMPILER, we don't need

Re: [cmake-developers] OpenBSD and srand()/rand() changes

2014-12-11 Thread David Cole via cmake-developers
Yes, setting an explicit seed should make subsequent calls to random be deterministic... On Wed, Dec 10, 2014 at 9:50 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am 10.12.2014 15:38, schrieb Ben Boeckel: Hi, It appears[1] as though OpenBSD has changed srand and rand which we use in CMake for

Re: [cmake-developers] [DISCUSSION] Using COMPONENTs for CMake install(...)?

2014-12-11 Thread Stephen Kelly
Konstantin Podsvirov wrote: The data now includes subfolders Help, Modules and Templates. Why are Help (the rst set of files)? As they are used after installation? Yes. The Help files need to be mandatory too. They are used by cmake for showing documentation on the command line like cmake

[CMake] CMP0043 policy warning

2014-12-11 Thread Scott Aron Bloom
Im in the process of converting a CMake 2.X project to 3.X. I cant for the life of me, find a deterministic way to properly SET the policy so I don't get the Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_Config properties. Run cmake --help-policy CMP0043 for policy details. Use the

Re: [CMake] CMP0043 policy warning

2014-12-11 Thread Petr Kmoch
Hi Scott. Policy state is changed by explicit calls to cmake_policy() and implicitly by calls to cmake_minimum_required(). So you need to set the policy to the setting you want whenever each of these occurs (or modify them so that they set the policy the way you want it). The documentation of

Re: [CMake] CMP0043 policy warning

2014-12-11 Thread Scott Aron Bloom
That did it.. A bunch of my “sub” libraries get used across multiple projects, so they have their OWN “minimum”, now I put the policy setting in each cmake after the set_minum. Thanks Scott From: Petr Kmoch [mailto:petr.km...@gmail.com] Sent: Thursday, December 11, 2014 1:36 AM To: Scott Aron

Re: [CMake] Copying shared libraries in a post-build step

2014-12-11 Thread Mueller-Roemer, Johannes Sebastian
Only after manually changing per-user project debug settings. -- Johannes S. Mueller-Roemer, MSc Wiss. Mitarbeiter - Interactive Engineering Technologies (IET) Fraunhofer-Institut für Graphische Datenverarbeitung IGD Fraunhoferstr. 5 | 64283 Darmstadt | Germany Tel +49 6151 155-606 | Fax

Re: [CMake] Copying shared libraries in a post-build step

2014-12-11 Thread J Decker
On Thu, Dec 11, 2014 at 4:40 AM, Mueller-Roemer, Johannes Sebastian johannes.sebastian.mueller-roe...@igd.fraunhofer.de wrote: Only after manually changing per-user project debug settings. a one time thing to do. Although it would be nice if the user file didn't exist if a reasonable

[CMake] Windows 7 64 bits, C++ third party libraries and FIND_LIBRARY_USE_LIB64_PATHS

2014-12-11 Thread Jack
Greetings, I am a neophyte in CMake and I am trying to set up a CMakeLists.txt file to compile a project I was working on, which uses a third party library called SFML 2.1. My compilation environment is as follows: - Windows 7 , 64 bits - CLion EAP, which uses: - TDM-GCC's MinGW-w64

Re: [CMake] Target 'copy-construction'/'fork'

2014-12-11 Thread Parag Chandra
I¹m not aware of any means to clone a target, but for what you are describing, custom configurations will work better. For the specific use case you mention below, start by seeding the new configurations like this: set (CMAKE_CONFIGURATION_TYPES

Re: [CMake] Programmatically-generated dependencies

2014-12-11 Thread ax487
*bump* On 09.12.2014 10:38, ax487 wrote: Hello all, I am mainly asking having glib-compile-resources in mind. This little program translates files into C source code to be used with the gresource system. It works in the following way: You have a file.xml describing the resources: ?xml

Re: [CMake] Programmatically-generated dependencies

2014-12-11 Thread Jakub Zakrzewski
Hi, CMake provides functions to execute commands and capture the output. You would use them as a part of configure step to get dependencies. Then add_custom_command to actually generate the C file and use the output to generate the DEPENDS section. -- Gruesse, Jakub -Original

Re: [CMake] Programmatically-generated dependencies

2014-12-11 Thread Miller, Frank
You will want to also make sure that a reconfigure happens when the xml file changes which can be done with the recently added CMAKE_CONFIGURE_DEPENDS property. If you need to support older versions of cmake, then you can use configure_file() to copy the xml file somewhere (no need to use it).

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc3-1122-ga660cdb

2014-12-11 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 a660cdb10ece78f5d19456c07cce628ee47bdf0e (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc3-1128-g265a5f4

2014-12-11 Thread Ben Boeckel
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 265a5f4ec38c933cbb7212568ce5a3813e50e42d (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc3-1130-g97f3bfd

2014-12-11 Thread Stephen Kelly
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 97f3bfd8b9d9b4cb9ef1d85086883b498e6fc21e (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.0-rc3-463-g17f638a

2014-12-11 Thread Kitware Robot
20141211) +set(CMake_VERSION_PATCH 20141212) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake