Re: [CMake] Development Workflow with CMake and VS2017

2018-07-15 Thread Dvir Yitzchaki
I recommend using Hunter package manager: https://docs.hunter.sh/en/latest/quick-start/boost-components.html It has support for FreeType as well: https://docs.hunter.sh/en/latest/packages/pkg/freetype.html Regards, Dvir -Original Message- From: CMake On Behalf Of Innokentiy

Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-07-15 Thread Dvir Yitzchaki
I recommend using Hunter package manager: https://docs.hunter.sh/en/latest/quick-start/boost-components.html Regards, Dvir -Original Message- From: CMake On Behalf Of Innokentiy Alaytsev Sent: Thursday, July 12, 2018 13:29 To: cmake@cmake.org Subject: Re: [CMake] Boost + CMake +

Re: [CMake] [Digital Signature Failure] FetchContent and multiple CMake projects

2018-04-15 Thread Dvir Yitzchaki
Check out Hunter package manager: https://github.com/ruslo/hunter Regards, Dvir From: CMake On Behalf Of Saad Khattak Sent: Friday, April 13, 2018 02:06 To: Cmake Mailing List Subject: [Digital Signature Failure] [CMake] FetchContent and multiple CMake

Re: [CMake] Install sub project from Visual Studio

2018-03-18 Thread Dvir Yitzchaki
You can add a custom target which runs cmake -P /cmake_install.cmake Regards, Dvir From: CMake On Behalf Of Scott Bloom Sent: Friday, March 16, 2018 21:59 To: cmake@cmake.org Subject: [Digital Signature Failure] [CMake] Install sub project from Visual Studio I know

Re: [CMake] [Digital Signature Failure] Re: Hard to do if in Macro

2018-01-31 Thread Dvir Yitzchaki
You can add PARENT_SCOPE to set command to set the value on the calling code. Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of J Decker Sent: Tuesday, January 30, 2018 18:07 To: Petr Kmoch Cc: CMake Mail List Subject: [Digital

Re: [CMake] Adding compile and build type tests to CMake/CTest

2017-09-05 Thread Dvir Yitzchaki
There's already CheckCXXSourceCompiles and friends. The only problem is that try_compile is not scriptable otherwise you could let the test invoke ${CMAKE_COMMAND} -P check_source_compiles.cmake. -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Roger Leigh

Re: [CMake] Transitive include and link libraries on imported targets ?

2017-04-05 Thread Dvir Yitzchaki
target_link_libraries(B INTERFACE A) Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of David Jobet Sent: Wednesday, April 5, 2017 18:34 To: cmake@cmake.org Subject: [CMake] Transitive include and link libraries on imported targets ? Hello, Let's say I build some external

Re: [CMake] Is it possible to run ctest outside build tree?

2017-03-26 Thread Dvir Yitzchaki
How about cmake --build /my/build/tree --target test Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard Sent: Friday, March 24, 2017 13:04 To: CMake Mailinglist Subject: [CMake] Is it possible to run ctest outside build tree? Is possible to

Re: [CMake] cpack multiple packages

2017-01-05 Thread Dvir Yitzchaki
, Dvir From: Domen Vrankar [mailto:domen.vran...@gmail.com] Sent: Thursday, December 22, 2016 20:43 To: Dvir Yitzchaki <dvir.yitzch...@ceva-dsp.com> Cc: Eric Noulard <eric.noul...@gmail.com>; cmake@cmake.org Subject: Re: [CMake] cpack multiple packages 2016-12-21 12:29 GMT+01:00 Dv

Re: [CMake] cpack multiple packages

2016-12-21 Thread Dvir Yitzchaki
Thanks, but as I understand a component can only belong to one group. How can I get the same component/target on multiple packages? From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: Wednesday, December 21, 2016 10:42 AM To: Dvir Yitzchaki <dvir.yitzch...@ceva-dsp.com> Cc: cmake@cma

[CMake] cpack multiple packages

2016-12-21 Thread Dvir Yitzchaki
Hi. I have a big project which produces several zip packages. Some files are common to all packages while others are unique per package. Is there a way to create these packages using cpack? I tried to use components but it seems that either it puts all components in one package or makes one

[CMake] checking for cmake predefined targets

2016-12-13 Thread Dvir Yitzchaki
Hi list. With Visual Studio generator, is there a way, at configuration time, to check for the existence of INSTALL, PACKAGE and RUN_TESTS targets? Seems they only present when the configuration files have an install(), enable_testing() or include(CPack) commands somewhere. I need this

Re: [CMake] Replacing Compile Options for a Target

2016-12-06 Thread Dvir Yitzchaki
There's no problem as the compiler will just use the last flag value. See an example at http://coliru.stacked-crooked.com/a/738fff0fcc2eb3c4. Regards, Dvir Yitzchaki Debugger Software Engineer, SDT -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Jayesh

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Dvir Yitzchaki
But how do you know which version to declare on cmake_minimum_required? If this feature will be added it won't be far from writing a script that scans the commands you use and outputs the first appropriate version. Regards, Dvir -Original Message- From: CMake

Re: [CMake] How to configure CMake to add current path to include directive.

2016-10-20 Thread Dvir Yitzchaki
What about CMAKE_INCLUDE_CURRENT_DIR? Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Steve Lorimer Sent: Monday, October 17, 2016 5:04 AM To: Craig Scott Cc: CMake

Re: [CMake] Visual Studios platform choice

2016-09-08 Thread Dvir Yitzchaki
We’re generating both 32 bit and 64 bit solutions and the drop down only shows one architecture on each solution. Checked on VS 2013 and 2015. Regards, Dvir Yitzchaki Debugger Software Engineer, SDT [cid:image001.png@01D209C3.2089CC20]<http://www.ceva-dsp.com/> [cid:image0

Re: [CMake] Interface targets with their own project in Visual Studio

2016-07-28 Thread Dvir Yitzchaki
You can use add_library(STATIC) and add set_target_properties( PROPERTIES LINKER_LANGUAGE CXX) You won't be able to link to the target but you can use INTERFACE_INCLUDE_DIRECTORIES etc. Regards, Dvir Yitzchaki Debugger Software Engineer, SDT -Original Message- From

Re: [CMake] CMAKE_C++_CREATE_SHARED_LIBRARY missing

2016-07-11 Thread Dvir Yitzchaki
, July 10, 2016 7:12 PM To: cmake@cmake.org Cc: Dvir Yitzchaki Subject: Re: [CMake] CMAKE_C++_CREATE_SHARED_LIBRARY missing Hi, On Sun, Jul 10, 2016 at 12:00:02PM -0400, cmake-requ...@cmake.org wrote: > Message: 1 > Date: Sun, 10 Jul 2016 05:04:35 + > From: Dvir Yitzchaki <dvir.yi

[CMake] CMAKE_C++_CREATE_SHARED_LIBRARY missing

2016-07-09 Thread Dvir Yitzchaki
Hi. I use cmake 3.3.1 on Red-Hat 5 and 6. When I generate a project I get the following error: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C++_CREATE_SHARED_LIBRARY However, after the error the generation succeeds

[CMake] Target has dependency information when it shouldn't

2016-06-16 Thread Dvir Yitzchaki
Hi group. I use CMake 3.3.1 with Visual Studio 2013. I've changed a target from a static library to an INTERFACE library and now I get the following message from CMake: CUSTOMBUILD : CMake error : Target <...> has dependency information when it shouldn't. Your cache is probably stale. Please