t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index a3d46bc..6ef 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 14)
-set(CMake_VERSION_PATCH 20190531)
+set(CMake_VER
El 30/5/19 a las 22:16, Gonzalo Garramuño escribió:
El 30/5/19 a las 21:36, Zan Lynx escribió:
RPM files are not cpio. They contain a cpio. Use rpm2cpio as a filter.
Thanks for that. Using:
rpm2cpio mrViewer-v5.0.7-Linux-64.rpm | cpio -idmv
I can extract all the contents of the archive
The `${ }` syntax deferences the variable, so what you are asking is
if the variable `1_INC_PATH` exists.
What you want is `if(DEFINED WITH_LIB_GLAD_INC_PATH)` to check for the
existence of the variable `WITH_LIB_GLAD_INC_PATH`
On Fri, May 31, 2019 at 4:11 PM Steven Truppe wrote:
>
> Hi
Hi everyone,
i'm relative new to cmake (a few weeks now) and i have the following
problem:
set(WITH_LIB_GLAD 1)
IF(DEFINED ${WITH_LIB_GLAD}_INC_PATH)
I try to check if the variable WITH_LIB_GLAD_INC_PATH can be found.
best regards!
--
Powered by www.kitware.com
Please keep messages
On Fri, 2019-05-31 at 20:43 +0200, Steven Truppe wrote:
> macro(bsAddLibrary lib)
> # get all WITH_LIB varables
> message(STATUS "${lib}")
>
> get_cmake_property(_variables VARIABLES)
> foreach(_var ${_variables})
>
> -->> (${lib} is "WITH_LIB_GLAD" but allways return
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
include(CMakePrintHelpers)
set(BSEDIT_INC_PATH "/usr/local/include")
set(BSEDIT_LIB_PATH "/usr/incude/lib")
set(WITH_LIB_GLAD "Support the GLAD library" 1)
set(LIB_GLAD_INC_PATH "/usr/include/glad")
set(LIB_GLAD_LIB_PATH "/usr/lib/glad")
It seems like the error might be related to the download/extract step. I think
the fact that you are using the same dir for PREFIX, SOURCE_DIR and
DOWNLOAD_DIR might be confusing things. I would try commenting out those three
properties and see if it makes any difference, and then you can
Found the problem, my regex was wrong [AZaz] should be [A-Za-z] ...
On 31.05.19 19:07, Steven Truppe wrote:
The problem is the line:
if(${_var} MATCHES "^WITH_LIB_([AZaz]+)$")
cmake_print_variables(CMAKE_MATCH_0)
doesn't print me any output ...
On 31.05.19 18:53, Steven Truppe wrote:
Hi
On Fri, 2019-05-31 at 19:07 +0200, Steven Truppe wrote:
> The problem is the line:
> if(${_var} MATCHES "^WITH_LIB_([AZaz]+)$")
> cmake_print_variables(CMAKE_MATCH_0)
>
> doesn't print me any output ...
There are two problems with the following line:
if(${_var} MATCHES "^WITH_LIB_([AZaz]+)$")
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 187928875d215df8757b291ad629a36df75da42b (commit)
via
The problem is the line:
if(${_var} MATCHES "^WITH_LIB_([AZaz]+)$")
cmake_print_variables(CMAKE_MATCH_0)
doesn't print me any output ...
On 31.05.19 18:53, Steven Truppe wrote:
Hi everyone,
i try to create a build system where you can decide which libraries
you want to use with variables
We are pleased to announce that CMake 3.14.5 is now available for download.
The Visual Studio 2019 16.1 update introduced a regression in MSBuild's
evaluation of custom command dependencies causing them to re-run on every build.
CMake 3.14.5 includes a workaround, for more details on the issue
We are pleased to announce that CMake 3.14.5 is now available for download.
The Visual Studio 2019 16.1 update introduced a regression in MSBuild's
evaluation of custom command dependencies causing them to re-run on every build.
CMake 3.14.5 includes a workaround, for more details on the issue
Hi everyone,
i try to create a build system where you can decide which libraries you
want to use with variables like "WITH_LIB_GLFW" for example. every lib
variable has other variables like WITH_LIB_GLFW_INC_PATH,
WITH_LIB_GLFW_LIB_PATH, etc. so i can decide with cmake what libraries
i'm going
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 annotated tag, v3.14.5 has been created
at 9cd999cf8e8169b9a83aa7807ac866881a1419e9 (tag)
tagging
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 f3e9a6ff62f6f58cd661dd447c22a01c50f6f4ad (commit)
from
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 66bba23a4b4c6e7901524677f245d02a31b3eff8 (commit)
via
Hello
First off, much thanks to all the contributors of cmake. A truly invaluable
build utility. Your efforts
are greatly appreciated.
I've been successfully using cmake to build an external project (the client
library for redis, hiredis)
that has already been downloaded. I was able to do this
set(HIREDIS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/hiredis)
set(HIREDIS_INCLUDE_DIRS ${HIREDIS_DIR}/include)
ExternalProject_Add(hiredis
URL https://github.com/redis/hiredis/archive/v0.9.0.tar.gz
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/hiredis
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/hiredis
We have a program written in Fortran that asks for the user’s HOME environment
variable. If I run the program from my typical terminal then I get what I would
expect on macOS: /Users/mjackson, BUT if I run CTest to execute the program I
get an empty HOME variable. Is there something special
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 720253393c42d64118faf92a56949bfa271a0424 (commit)
via
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 dd7ba6ff19ae34aa748240fad02ce006e4425cab (commit)
via
22 matches
Mail list logo