OK, so I guess there is no way to do that like with autotools...
- Mail original -
> De: "Franck Houssen"
> À: "CMake Mail List"
> Envoyé: Mercredi 10 Janvier 2018 12:22:39
> Objet: Re: [CMake] test depending on code compilation
> I tried to
VERSION_MINOR 10)
-set(CMake_VERSION_PATCH 20180110)
+set(CMake_VERSION_PATCH 20180111)
#set(CMake_VERSION_RC 1)
---
Summary of changes:
Source/CMakeVersion.cmake |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/
Hello,
I'm trying to create a relocatable package configuration file but I'm having a
hard time with absolute paths that are used during the build.
Note that I use CMake 3.10.0.
First of all for the include path I'm using this:
target_include_directories(MyStaticTarget PUBLIC
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 ddc4f9a3c05fa24240fde1ba6c0ab28b7d2e91ea (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 0cfcea334b305d47f291f776be422b9d9362d019 (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, master has been updated
via 1be22978e0ec3766c457216af348c8dca4d7cca2 (commit)
via
Is there a way to programmatically check whether
all (or some) CMake targets are installed?
I want to be able to check that all defined targets of a particular project
(at least libraries or executable) are installed.
I can recursively retrieve all targets using
On 10 January 2018 at 11:56, Konstantin Tokarev wrote:
> 10.01.2018, 11:40, "Mojca Miklavec" :
>> On 8 January 2018 at 17:38, Konstantin Tokarev wrote:
>>> 08.01.2018, 14:35, "Mojca Miklavec":
Dear CMake developers,
I installed
I tried to reduce the example:
>> ls
CMakeLists.txt main.cpp mytest.cpp mytest.sh
>> more *
::
CMakeLists.txt
::
cmake_minimum_required(VERSION 3.7)
enable_language(CXX)
project(main)
add_executable(main main.cpp)
add_executable(mytestcpp mytest.cpp)
10.01.2018, 11:40, "Mojca Miklavec" :
> On 8 January 2018 at 17:38, Konstantin Tokarev wrote:
>> 08.01.2018, 14:35, "Mojca Miklavec":
>>> Dear CMake developers,
>>>
>>> I installed msys2 from http://www.msys2.org/ and (after updating etc)
>>> installed cmake
I need to design a test (= a bash script) such that :
1) run a dedicated executable for the test (to be compiled)
2) diff the run output with a reference log file
The test is created with : add_test(mytest ./mytest.sh). The bash script would
look like:
>> more mytest.sh
/path/to/mytestexe >
On 8 January 2018 at 17:38, Konstantin Tokarev wrote:
> 08.01.2018, 14:35, "Mojca Miklavec":
>> Dear CMake developers,
>>
>> I installed msys2 from http://www.msys2.org/ and (after updating etc)
>> installed cmake via
>> pacman -S cmake
>
> You should install mingw-w64-x86_64-cmake (or i686).
12 matches
Mail list logo