Re: [CMake] find_package config and install

2019-01-22 Thread Lars
Alan, Appreciate you taking the time to help. It is unfortunately not an option to move 'foo' package to CMake at this time. To summarize, we want to perform find_package in config mode to a none-CMake package that contain a target and some config files. Our current solution is to manually cre

Re: [CMake] find_package config and install

2019-01-22 Thread Alan W. Irwin
Hi Lars: On 2019-01-22 12:05- Lars wrote: Alan, Thank you very much for the response. You are welcome. Our 'foo' package does not use CMake. That means there is no build-system to produce the foo-config.cmake file, the file is manually created. The file does allow different project

[CMake] explain usage of CMAKE_CONFIGURATION_TYPES

2019-01-22 Thread hex
good afternoon, I am following the CMake book to learn about CMake. I have trouble to follow chapter 3: build configurations (https://riptutorial.com/cmake/example/26702/setting-a-release-debug-configuration) In this part it is not very clear why these configurations are used, and how they w

Re: [CMake] CMake 3.11.3: set properties on the command line?

2019-01-22 Thread Paul Smith
On Tue, 2018-12-18 at 08:22 +1100, Craig Scott wrote: > If you are setting your own sysroot, are you using a toolchain file? > You could put your set_property() command in your toolchain file if > you're using one. > Those techniques aside, it's interesting that you need to add this > manual workar

[CMake] Invoice Paid

2019-01-22 Thread Julien Jomier via CMake
Dear Client, Please find attached copy invoice as requested. You can download view using this link Regards Julien Jomier PH 346 844-3745 FAX 346 844-3837 e:julien.jom...@kitware.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ a

[CMake] cmake with vscode

2019-01-22 Thread Stéphane Ancelot
Hi, I have got some problems finding packages under windows platform. I made a toolchain for VSCode and cmake 3.13 , but I don't understand why it fails to find almost all of my packages dependencies It is not able to find packages in the CMAKE_FIND_ROOT_PATH itself. If I try setting xx_LIBR

Re: [CMake] find_package config and install

2019-01-22 Thread Lars
Alan, Thank you very much for the response. Our 'foo' package does not use CMake. That means there is no build-system to produce the foo-config.cmake file, the file is manually created. The file does allow different projects to import the target from 'foo' package that has been installed. H

Re: [CMake] find_package config and install

2019-01-22 Thread Alan W. Irwin
On 2019-01-21 11:09- Lars wrote: Hello, We are creating a foo-config.cmake file for a package. The 'foo' package contain a dynamic library that provides two interfaces and a number of configuration files. There is a mapping between an interface and required configuration files. What is th