[Cmake-commits] CMake branch, master, updated. v3.14.0-rc2-133-g18ff514

2019-02-19 Thread Kitware Robot via Cmake-commits
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 9c45022..b324571 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 20190219) +set(CMake_VER

Re: [CMake] Using FetchContent fails when two subprojects have a target with the same name

2019-02-19 Thread Timothy Wrona
(Included cmake-developers list as well in case this may have just been something that should work that was overlooked with the FetchContent module) On Tue, Feb 19, 2019 at 11:32 PM Timothy Wrona wrote: > I am having an issue with using FetchContent to grab two subprojects that > both contain a

[cmake-developers] Using FetchContent fails when two subprojects have a target with the same name

2019-02-19 Thread Timothy Wrona
I am having an issue with using FetchContent to grab two subprojects that both contain a "doxygen" target to build the documentation. Both of these subprojects need to be able to be built independently and when built on their own they compile fine (along with their documentation), but when I pull

[CMake] Using FetchContent fails when two subprojects have a target with the same name

2019-02-19 Thread Timothy Wrona
I am having an issue with using FetchContent to grab two subprojects that both contain a "doxygen" target to build the documentation. Both of these subprojects need to be able to be built independently and when built on their own they compile fine (along with their documentation), but when I pull

Re: [CMake] Remove folders created by install

2019-02-19 Thread Kuba Ober
Use something to read the manifest, extract paths from it, remove the duplicates, then iterate them, and remove the ones that are empty. It’d be a bad idea probably to remove ones that are not empty. Cheers, Kuba > 16 feb. 2019 kl. 09:47 skrev Felix Crazzolara : > > Hi everyone > > For my

Re: [CMake] CMake Dependence on C: drive?

2019-02-19 Thread J. Caleb Wherry
Seems strange. Just yesterday I pulled down 3.13.4 and had no issues. I check cmake into our repo so it gets invoked on an assortment of different drives. I do the same thing you do and just change our bat config file to point to the new cmake binary. Never had any issues. I am running on Win7

[CMake] CMake Dependence on C: drive?

2019-02-19 Thread Michael Jackson
Currently using CMake 3.13.3 on Windows 10. I have “installed” cmake through the .zip download and placed it in E:\DREAM3D_SDK\ cmake-3.13.3-win64-x64. If I now try to use that cmake to configure my source codes I get very strange errors (It cannot parse a simple project command) and then

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Craig Scott
(dropping the cmake-developers list since this is really a user issue) On Wed, Feb 20, 2019 at 2:34 AM Timothy Wrona wrote: > Hi Craig, > > Thank you for the detailed description! > > To answer some of your questions: > >- This project will not be incorporated into a Linux distribution, >

Re: [CMake] Problems with EnternalProjectAdd

2019-02-19 Thread Michael Ellery
Here’s a complete example that works on my system - maybe you can tweak it to your liking: cmake_minimum_required (VERSION 3.9.0) include (ExternalProject) project (simple_ep) set(BUILD_ENV "${CMAKE_BINARY_DIR}/build_env" CACHE STRING INTERNAL) ExternalProject_Add( freetype PREFIX

Re: [CMake] Problems with EnternalProjectAdd

2019-02-19 Thread Thiago Crepaldi
try using SOURCE_DIR = ${CMAKE_BINARY_DIR}/freetype/src/freetype CONFIGURE_COMMAND = ./autgen.sh && ./configure BUILD_COMMAND = make It should git clone into SOURCE_DIR, configure the source by running CONFIGURE_COMMAND and build it using BUILD_COMMAND, You may need INSTALL_COMMAND = "" if you

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Timothy Wrona
Correction: *I haven't tried this yet, but I am hoping it will work well* - Pull Put my sub-projects (my own custom libraries) into their own independent git repos and pull them into my main project using "FetchContent". Then when I run "FetchContent" it will checkout the sub-projects and I will

Re: [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Timothy Wrona
Correction: *I haven't tried this yet, but I am hoping it will work well* - Pull Put my sub-projects (my own custom libraries) into their own independent git repos and pull them into my main project using "FetchContent". Then when I run "FetchContent" it will checkout the sub-projects and I will

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Timothy Wrona
Hi Craig, Thank you for the detailed description! To answer some of your questions: - This project will not be incorporated into a Linux distribution, however I would like to keep it cross platform and it should work on Windows, Mac, and Linux. - All of the pieces of the project

Re: [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Timothy Wrona
Hi Craig, Thank you for the detailed description! To answer some of your questions: - This project will not be incorporated into a Linux distribution, however I would like to keep it cross platform and it should work on Windows, Mac, and Linux. - All of the pieces of the project

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Kai Wolf
Well, as of right now, it currently isn’t possible to use Conan in a non-intrusive way. That is, using it for fetching dependencies without adapting the build configuration to it. I’ve opened up a pull request (as well as a fix) for this issue here [1]. I’ve implemented pure CMake-based package

[Cmake-commits] CMake branch, master, updated. v3.14.0-rc2-132-g7574e16

2019-02-19 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 7574e16096abe57d44cde4e6380a22d940cde98c (commit) via

[Cmake-commits] CMake branch, release, updated. v3.14.0-rc2-13-g13f0201

2019-02-19 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 13f020198fe858437f24a3fe0c349a1618e70d7b (commit) via

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Kai Wolf
Well, as of right now, it currently isn’t possible to use Conan in a non-intrusive way. That is, using it for fetching dependencies without adapting the build configuration to it. I’ve opened up a pull request (as well as a fix) for this issue here [1]. I’ve implemented pure CMake-based package

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Craig Scott
On Tue, Feb 19, 2019 at 12:46 PM Timothy Wrona wrote: > I have been working on a new C++ project and I am trying to decide whether > I should use CMake as my package management system or if I should use a > dedicated package management tool such as Conan. > > For more information on Conan see:

Re: [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Craig Scott
On Tue, Feb 19, 2019 at 12:46 PM Timothy Wrona wrote: > I have been working on a new C++ project and I am trying to decide whether > I should use CMake as my package management system or if I should use a > dedicated package management tool such as Conan. > > For more information on Conan see:

[cmake-developers] Error in ExternalProject_Add ??

2019-02-19 Thread workbe...@gmx.at
Hi everyone, i'm trying to get ExternalProject_Add to work for a day now and i come to a strange error, first the code: set(BUILD_DIR "${CMAKE_BINARY_DIR}/build_files" CACHE STRING INTERNAL) set(BUILD_ENV "${CMAKE_BINARY_DIR}/build_env" CACHE STRING INTERNAL) set(LIBRARY_DIR