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 Ala

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 + Wi

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 projects Hi, I have many independent CM

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 from the command line on a m

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 Signature Failure] Re: [CMake] Hard to do if

Re: [CMake] [Digital Signature Failure] Add a build event that depends on a target

2017-11-19 Thread Dvir Yitzchaki
Try add_dependencies(program test) See https://cmake.org/cmake/help/latest/command/add_dependencies.html. Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Pawel Veselov Sent: Saturday, November 18, 2017 01:09 To: cmake@cmake.org Subject: [Digital Signature Failure] [CMake

Re: [CMake] [Digital Signature Failure] Output Directory

2017-11-12 Thread Dvir Yitzchaki
You have the -B switch, see https://cgold.readthedocs.io/en/latest/glossary/-B.html#b Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of masaru tsuchiyama Sent: Saturday, November 11, 2017 00:54 To: cmake@cmake.org Subject: [Digital Signature Failure] [CMake] Output Director

Re: [CMake] [Digital Signature Failure] find_library not finding libraries - why?

2017-11-09 Thread Dvir Yitzchaki
I think you should either use the full file name, e.g. libClp.so or just use Clp. See https://cmake.org/cmake/help/latest/command/find_library.html Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of corne...@bockemuehl.ch Sent: Thursday, November 9, 2017 01:03 To: cmake@cmak

Re: [CMake] CMake targeting Android with "Visual Studio 15 2017" generator issue

2017-11-05 Thread Dvir Yitzchaki
There was a CMake fork by Microsoft for generating VS 2015 Android projects (see here) but it seems it was discontinued. Regards, Dvir -Original Message- From: CMake [mailto:c

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 Se

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 l

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 run ctest outside t

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 Cc: Eric Noulard ; cmake@cmake.org Subject: Re: [CMake] cpack multiple packages 2016-12-21 12:29 GMT+01:00 Dvir Yitzchaki mailto:dvir.yitzch...@ceva-dsp.com>>: Thanks, bu

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 Cc: cmake@cmake.org Subject: Re: [CMake] cpack

[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 pac

[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 informat

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 J

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 [mailto:cmake-boun...@c

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 Mailing List Subject: Re: [C

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-

Re: [CMake] CMAKE_C++_CREATE_SHARED_LIBRARY missing

2016-07-11 Thread Dvir Yitzchaki
nt: Sunday, 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 +0000 > From: Dvir Yitzchaki >

[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-15 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