[cmake-developers] [CMake 0015059]: CMake custom build step PRE_LINK/PRE_BUILD do not work

2014-08-05 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15059 == Reported By:k0n3ru Assigned To:

[cmake-developers] [CMake 0015060]: This is not security software. too sloppy

2014-08-05 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15060 == Reported By:Nico Schlömer Assigned To:

[CMake] CMake 3.0 and Visual Studio 2013 peculiarities

2014-08-05 Thread Nagy-Egri Máté Ferenc
Hi! I have been using CMake for quite some time now, but there are a few things I don’t understand or I just don’t know how to accomplish. 1) Some time ago I posted about Unicode paths inside generated project files do not work properly. The issue has been fixed. Though this issue is only

[CMake] Resetting CMAKE_Fortran_FLAGS for a specific file

2014-08-05 Thread marco restelli
Hi, I would like to reset CMAKE_Fortran_FLAGS for one specific file in a project. I have tried SET_SOURCE_FILES_PROPERTIES(my_file.f90 PROPERTIES COMPILE_FLAGS -O0 -g) but it appends the new flags keeping the old ones. How can reset these flags? Specifically, I have some files for which I

Re: [CMake] Help cmake First project

2014-08-05 Thread Rodrigo Faccioli
Hi, Thanks Angeliki and Bill for your attentation. I have updated my CMakeList.txt based on your post. Below my CMakeList.txt is showed. cmake_minimum_required(VERSION 2.8) # project Information project(2pg_cartesian) set(PROJECT_VERSION 1.0) # add definitions to compiler

Re: [CMake] CMake 3.0 and Visual Studio 2013 peculiarities

2014-08-05 Thread Clinton Stimpson
On Tuesday, August 05, 2014 11:30:57 AM Nagy-Egri Máté Ferenc wrote: Hi! I have been using CMake for quite some time now, but there are a few things I don’t understand or I just don’t know how to accomplish. 1) Some time ago I posted about Unicode paths inside generated project

[CMake] Windows Path Issues

2014-08-05 Thread david
I'm generally a Linux guy but need this project to work on all three main platforms. I have my toolchain file working nicely in Linux, but for some reason I'm getting an error on Windows. Here's top of the console output: bash-3.1$ cmake -G Unix Makefiles . -- The C compiler identification

[CMake] Windows Path Issues

2014-08-05 Thread Ivan Hrasko
1. What your environment exactly is? It does not look like Windows only (because I see in your log: bash-3.1$ cmake -G Unix Makefiles . ), so I expect you are using something like Cygwin and when you use this kind of environment you can have problems with paths. For example

Re: [CMake] Windows Path Issues

2014-08-05 Thread Ivan Hrasko
1. What your environment exactly is? It does not look like Windows only (because I see in your log: bash-3.1$ cmake -G Unix Makefiles . ), so I expect you are using something like Cygwin and when you use this kind of environment you can have problems with paths. For example

[CMake] I have discovered a bug (probably)

2014-08-05 Thread Ivan Hrasko
1. This is the code CMAKE_MINIMUM_REQUIRED(VERSION 2.8.10 FATAL_ERROR) PROJECT(CMake_Version_Tutorial C CXX Fortran) if(DEFINED CMAKE_C_COMPILER_VERSION) message(STATUS C version is defined.) else() message(STATUS C version is not defined.) endif() if(DEFINED CMAKE_CXX_COMPILER_VERSION)

Re: [CMake] Help cmake First project

2014-08-05 Thread Rodrigo Faccioli
Hi, I am thankfull for all help. Now, it is working :-) Radovan, thank you to try to run and your comments. My CMakeList.txt is showed below. I would like to know about best practice to make a CMakeList. If agree, I will compile others executables of my project based on how I compiled this

Re: [CMake] I have discovered a bug (probably)

2014-08-05 Thread Bill Hoffman
On 8/5/2014 3:57 PM, Ivan Hrasko wrote: 3. You can see there is a difference between Fortran version is defined (cmake 3.0.0) and Fortran version is not defined (cmake 2.8.x.x). So behaviour of CMake has changed a lot and I think it is a bug and can cause problems if someone relies on it. I

Re: [CMake] I have discovered a bug (probably)

2014-08-05 Thread Ivan Hrasko
Not absolutely, CMake still does not know Fortran compiler version, variable is defined but as an empty string... But OK, I wil chage conditions in my other scripts. :) 2014-08-05 22:16 GMT+02:00 Bill Hoffman bill.hoff...@kitware.com: On 8/5/2014 3:57 PM, Ivan Hrasko wrote: 3. You can see

Re: [CMake] Windows Path Issues

2014-08-05 Thread david
Sorry about that. I am using Git Bash which is definitely a confusing environment. The compiler is PropGCC - the target is an embedded system. PropGCC ships with GNU Make 3.81 (and make --version confirms that is the version of make in my PATH). Perhaps the output of bash --version will

Re: [CMake] Help cmake First project

2014-08-05 Thread Hendrik Sattler
Hi, -lm does not belong to CMAKE_CXX_FLAGS as it is a linker option to link libm. Use target_link_libraries(protpred-Gromacs-NSGA2 m) instead. (Don't search for libm, the linker knows where it is.) It is also more common to use a variable for the list of source files. That would make it also

[Cmake-commits] CMake branch, next, updated. v3.0.0-4761-g0fbb08b

2014-08-05 Thread Clinton Stimpson
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 0fbb08b228c1ce0cef6d4c6332d0dbcde87b03f4 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4763-g2d89813

2014-08-05 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 2d89813845f87c519339a33c43f5e1b5a11021a3 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1622-gf174a1c

2014-08-05 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 f174a1cc61a629c77db49e7ffae74b8c7d60d618 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1620-ga67b635

2014-08-05 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 a67b6353940434c856cc332ce490bb6522c32814 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1627-g8fef9dd

2014-08-05 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 8fef9dd271200eb904a721876564fe87d928fa44 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1631-g6548e17

2014-08-05 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 6548e171e36b91af6dcbbe8c5e265cd37b8a2a5f (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1629-g99f6eab

2014-08-05 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 99f6eab8514214d873d7b4f5161e1062ea50829f (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4771-gf9ae1e2

2014-08-05 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 f9ae1e2f8eff0e8f155a98c0447526ea1760bcb3 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1625-ge76b72f

2014-08-05 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 e76b72fa83eb5ed179b6b988cb7bc58cdd8b12e4 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4775-g7c07f54

2014-08-05 Thread Clinton Stimpson
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 7c07f54f7061bf77a809bf2890d6a89b8ae45d0f (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4779-gca5ec0d

2014-08-05 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 ca5ec0de3af93edcbaf5b79026b57fadf16bd123 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4781-g9f19254

2014-08-05 Thread Bill Hoffman
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 9f192548e1f7d046b25927469f351ad8542568f8 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4783-g903acbf

2014-08-05 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 903acbf9ecd6fe2a2914bf013129cab3624d281a (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1634-g662daff

2014-08-05 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 662daff0b230d7343feaa5de2f33199f6f7a0e7e (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4785-gad606d0

2014-08-05 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 ad606d0e3a4c0181bdbb722eef132c8804599ca8 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4787-g91dda06

2014-08-05 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 91dda067bb399fd4f54c91825cc15bfd7ae6b731 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4791-g5cbbe85

2014-08-05 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 5cbbe85f0b7fed752c8b6c2a91771bacb5aa0afd (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-1636-g2c5c0fc

2014-08-05 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 2c5c0fc42bf7a31c8f2ca86e150291812f087055 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-4793-g0eef684

2014-08-05 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 0eef684a7f76e18adfc874641ebf50ae81024e6f (commit) via