Re: [CMake] Question about list ordering

2019-11-12 Thread Eric Doenges
The list command is what you want. Specifically, list(GET ...) will return the index of a string in the list, and list(INSERT ...) and list(REMOVE_ITEM ...) or list(REMOVE_AT ...) to insert and remove items. Am 13.11.19 um 00:56 schrieb

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-397-ge49d85ae4b

2019-11-12 Thread Kitware Robot via Cmake-commits
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 41bde355a6..d5688932a5 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,7 +1,7 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 16) -set(CMake_VERSION_PATCH 2019

[CMake] Question about list ordering

2019-11-12 Thread Unnamed User
Hello everyone, i'm relative new to CMake and i need a function that does change the order of a list. So for example when i have a list like set(LIBS_TO_BUILD "BOOST;EIGEN;PYTHON;GLUT;GLFW;NLOHMANNJSON") i need a function to swap places like listSwapString("GLUT", "GLFW", ${LIBS_TO_BUILD}).

[CMake] MSVC Version Location for VisualStudio Install

2019-11-12 Thread J. Caleb Wherry
All, I have been adding support for VS2019 to our build and ran into some CMake code that was hard coded for a specific version related to MSVC. Specifically, it is the folder under the VS install dir with version like "14.23.28105". It is in the path for where the compiler is found but I can't

[Cmake-commits] CMake branch, release, updated. v3.16.0-rc3-93-g28bc41ca62

2019-11-12 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 28bc41ca62b00d5c265c83436f317f970a4b9a93 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-396-gaa3b99d580

2019-11-12 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 aa3b99d58048500c3b24881998b31653178f43ff (commit) via

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-392-gccd2c2824a

2019-11-12 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 ccd2c2824aea342b66adde1001753181375c49dc (commit) via

[Cmake-commits] CMake branch, release, updated. v3.16.0-rc3-91-geae743bf17

2019-11-12 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 eae743bf17605c28ee4afd02991d3271efb5c8a9 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-377-g2af4841428

2019-11-12 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 2af4841428b7d7e5303d0a0afc3e55958214e22c (commit) via

[Cmake-commits] CMake branch, release, updated. v3.16.0-rc3-87-gb197d20c08

2019-11-12 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 b197d20c083da1cbfd32e79c4a4c8f36de3a6aae (commit) via

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-365-g2644ea3c21

2019-11-12 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 2644ea3c2123c374558b8007fe97e7e9838ca1a2 (commit) via

[Cmake-commits] CMake branch, release, updated. v3.16.0-rc3-79-gf90c351e60

2019-11-12 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 f90c351e601a98ddb10822d6973dd2fcc140e13e (commit) via

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-352-gc96ba58a5b

2019-11-12 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 c96ba58a5bfee1b98cfcef188b716aca72e406df (commit) via

[Cmake-commits] CMake branch, release, updated. v3.16.0-rc3-72-gcba091d3a9

2019-11-12 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 cba091d3a900d69961ef94a475c3ba1b0cb94453 (commit) via

[Cmake-commits] CMake branch, release, updated. v3.16.0-rc3-70-g00f5e02060

2019-11-12 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 00f5e0206037ceec2d3c33569d1c845fdffa504f (commit) via

[Cmake-commits] CMake branch, master, updated. v3.16.0-rc3-348-gbec38523de

2019-11-12 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 bec38523de60cd7602b0fa89d38356c6f5e7cddd (commit) via

Re: [CMake] CMake link to external library

2019-11-12 Thread Andrew Bell
On Tue, Nov 12, 2019 at 7:39 AM . wrote: > Hi, > I used instruction for CMake linking external library from > https://stackoverflow.com/questions/8774593/cmake-link-to-external-library(for > example) > And it works on Ubuntu 16 only. > > When I try it made on Ubuntu 18 I got problem during start

[CMake] CMake link to external library

2019-11-12 Thread .
Hi, I used instruction for CMake linking external library from  https://stackoverflow.com/questions/8774593/cmake-link-to-external-library(for example) And it works on Ubuntu 16 only. When I try it made on Ubuntu 18 I got problem during start application:  error while loading shared libraries: