Re: [CMake] Question about a simple macro.

2019-06-08 Thread Steven Truppe
Do i need cmake_parse_arguments ?? On 09.06.19 07:01, Steven Truppe wrote: Hi everyone, i'm a c,c++,asm and a few other languages, but i still have troubles with macros and their arguments. As a simple example i would like to have a macro that list(APPEND the two passed arguments), here the

[CMake] Question about a simple macro.

2019-06-08 Thread Steven Truppe
Hi everyone, i'm a c,c++,asm and a few other languages, but i still have troubles with macros and their arguments. As a simple example i would like to have a macro that list(APPEND the two passed arguments), here the code i tried: https://wandbox.org/permlink/WQZGty9PQaOz3422. Let's forget

[Cmake-commits] CMake branch, master, updated. v3.15.0-rc1-36-gd443b86

2019-06-08 Thread Kitware Robot via Cmake-commits
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 991b9f5..8ab22fe 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 15) -set(CMake_VERSION_PATCH 20190608) +set(CMake_VER

Re: [CMake] Question about getting git branch name.

2019-06-08 Thread J Decker
On Sat, Jun 8, 2019 at 3:25 PM Steven Truppe wrote: > Hi everyone, > > i want to have code lines like: > > #define BUILD_VERSION > > and the BUILD_VERSION should be the name of the actual branch the code > was compiled with, this way i can create a branch for each version and > name it like 0.1

[CMake] Question about getting git branch name.

2019-06-08 Thread Steven Truppe
Hi everyone, i want to have code lines like: #define BUILD_VERSION and the BUILD_VERSION should be the name of the actual branch the code was compiled with, this way i can create a branch for each version and name it like 0.1 so each version i'm using for release is an own branch. I found

[CMake] Question about config_file.

2019-06-08 Thread Steven Truppe
Hi everyone, currently i'm trying to build my doxygen documentation from my CMakeLists.txt file. I found the following example that seems to be correct: ## ## bsBuildDoxygen() ## ## macro(bsBuildDocs) if(GENERATE_DOCS) # check if

[CMake] Trouble with running cmake on MinGW

2019-06-08 Thread vinay kumar Kotegowder
Hi Everyone, I am trying to run cmake project on MinGW. I get the below error: [ 91%] Linking C executable test_m001.secure.elf.exe c:/progra~2/gnutoo~1/72018-~1/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '--major-image-version'

Re: [CMake] Troubles with ExternalProject_Add.

2019-06-08 Thread Steven Truppe
Found the error, thank you anyway  -  you guys are allways a good way to get help about cmake, i'm starting to understand cmake slowly but it's getting easier and easier, cmake is a great build system. best regards! On 08.06.19 14:47, Steven Truppe wrote: Hi everyone, I've troubles with

[CMake] Troubles with ExternalProject_Add.

2019-06-08 Thread Steven Truppe
Hi everyone, I've troubles with ExternalProject_Add: when i do build the library  manualy (clone the repo and build it with mkdir build;cd build; cmake -DCMAKE_BUILD_TYPE:String=Release -DGLAD_INSTALL=ON -DCMAKE_INSTALL_PREFIX=/home/stuv/glad_examples) it does work and i've the installation at

[Cmake-commits] CMake branch, master, updated. v3.15.0-rc1-35-gf4bbeb7

2019-06-08 Thread Kitware Robot via Cmake-commits
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 f4bbeb785c8f673a5cff326cc717d0dfbb2734a2 (commit) via

[Cmake-commits] CMake branch, release, updated. v3.15.0-rc1-11-g8d3c919

2019-06-08 Thread Kitware Robot via Cmake-commits
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, release has been updated via 8d3c919a3cbef7d92f24409fa7a5737e835957ee (commit) via

[Cmake-commits] CMake branch, master, updated. v3.15.0-rc1-33-gd93fe90

2019-06-08 Thread Kitware Robot via Cmake-commits
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 d93fe90c17de741c3986c3b13a6c5f5653a8104e (commit) via