Re: [CMake] Packaging Best Practices for Linux

2012-05-16 Thread Craig Scott
King!). :) Craig Scott | Senior Software Engineer Southern Innovation | PO Box 307, Carlton South, VIC 3053 t +613 9387 0338 | f +613 9387 0339 e craig.sc...@southerninnovation.com w www.southerninnovation.com Notice: The information in this email is confidential. If you are not the intended

[CMake] Announcements mailing list

2012-06-25 Thread Craig Scott
convenient way to keep tabs on what's coming up without having to be exposed to all the low level development and bugs/issues in between. Any chance? -- Craig Scott | Senior Software Engineer Southern Innovation Melbourne, Australia www.southerninnovation.com -- Powered by www.kitware.com Visit

Re: [CMake] Announcements mailing list

2012-06-26 Thread Craig Scott
The existing Software Process filter is probably a good one to choose. You can see the blog postings that belong to that topic here: http://www.kitware.com/blog/home/browse/topic/7 Yep, that is perfect. Thanks! Craig Scott | Senior Software Engineer Southern Innovation | PO Box 307

[CMake] One build, multiple compilers and packages

2013-08-26 Thread Craig Scott
methods I haven't considered or improvements to the tools themselves. -- Craig Scott Melbourne, Australia -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community

Re: [CMake] Question about best practices for large Multi-stage builds

2013-08-26 Thread Craig Scott
/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/**listinfo/cmakehttp://www.cmake.org/mailman/listinfo/cmake -- Craig Scott Melbourne, Australia -- Powered by www.kitware.com Please keep

Re: [CMake] One build, multiple compilers and packages

2013-08-28 Thread Craig Scott
\) ) Clint -- Craig Scott Melbourne, Australia -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit

[CMake] How to depend on external cmake projects?

2015-08-16 Thread Craig Scott
use ExternalProject to download the source code at configure time, a technique I recently mentioned on this list. You can find the article about that approach (with Google Test as the example) here: http://crascit.com/2015/07/25/cmake-gtest/ -- Craig Scott Melbourne, Australia http://crascit.com

[CMake] Building gtest with ExternalProject at configure time

2015-07-25 Thread Craig Scott
not be all that hard, but the ExternalProject implementation is more involved than I wanted to pick apart. If anyone wants to explore it, my blog article probably shows you enough of a clue to how it might be possible to do it. -- Craig Scott Melbourne, Australia http://crascit.com -- Powered

Re: [CMake] Asking CMake to setup compiler for c++11

2015-10-21 Thread Craig Scott
, such as when the compiler doesn't actually support C++11. For a full explanation of how to set up for C++11, see this article: http://crascit.com/2015/03/28/enabling-cxx11-in-cmake/ -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages

[CMake] How to build cmake to have http support?

2015-11-14 Thread Craig Scott
o compile cmake such that it support https by the past, but I > can't remember how I did it. > I remember I installed openssl and pass some flags to cmake. > > Could anyone remember me how to do it? > Or, is it possible to recover passed flags from a local installation of > cmake?

Re: [CMake] CMake Digest, Vol 137, Issue 50

2015-09-25 Thread Craig Scott
name. The trick for this is to download the source of the third party library at CMake time (caching it so it only downloads once) and then pull it in via add_subdirectory(). The technique is discussed here with GoogleTest as the example: http://crascit.com/2015/07/25/cmake-gtest/ The techniqu

[CMake] Apologies!

2015-09-25 Thread Craig Scott
Sorry for the rookie mistake not changing the subject on that last post. ;) -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

[CMake] Testing for existence of a target in a generator expression

2015-09-25 Thread Craig Scott
/check-for-optionally-targets-in-cmake-that-are-not-in-the-correct-order -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the

Re: [CMake] CMake terminology

2016-06-24 Thread Craig Scott
ake.org/cmake/help/support.html >>>>> CMake Consulting: http://cmake.org/cmake/help/consulting.html >>>>> CMake Training Courses: http://cmake.org/cmake/help/training.html >>>>> >>>>> Visit other Kitware open-source projects at >>>

Re: [CMake] CMake terminology

2016-06-25 Thread Craig Scott
t; >> So in GUI it's: >> * cmake configure >> * cmake generate >> * IDE build (which you can do with cmake --build so it can be called >> "cmake build" step) >> >> in cmd: >> * cmake configure+generate >> * cmake build >>

Re: [CMake] CMake terminology

2016-06-27 Thread Craig Scott
On Tue, Jun 28, 2016 at 12:04 AM, Eric Noulard <eric.noul...@gmail.com> wrote: > > > 2016-06-25 17:42 GMT+02:00 Ruslan Baratov <ruslan_bara...@yahoo.com>: > >> On 25-Jun-16 10:44, Craig Scott wrote: >> >> One of the slight wrinkles here is that the disti

[CMake] Using ccache with Xcode generator

2016-01-31 Thread Craig Scott
having to resort to that. Any suggestions? -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

Re: [CMake] xyz_LIBRARIES

2016-02-03 Thread Craig Scott
t; Third question: How’s your day going today? > Ask me again after the coffee kicks in. :P -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offe

[CMake] ExternalProject_Add() macro does not set CMAKE_COMPILER_IS_GNUCXX

2016-01-20 Thread Craig Scott
ment on whether it will play nice if pulled into a parent build like this, but it's worth a try. The article links to a github repo which provides a fully generalised implementation you should be able to use out of the box. -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.c

Re: [CMake] Include XYZ.cmake from external project

2016-04-08 Thread Craig Scott
fers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/tr

Re: [CMake] Using ccache with Xcode generator

2016-04-09 Thread Craig Scott
above seems to highlight an avenue for Xcode projects, can CMake's support for RULE_LAUNCH_COMPILE be enhanced to support the Xcode generator too by populating the CC and CXX user-defined Xcode project settings? That would be a nice improvement to CMake for developers working on Apple platform

[CMake] Documenting the -H and -B options

2016-04-03 Thread Craig Scott
to graduate to formally supported options. -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

[CMake] Building a tool immediately so it can be used later in same CMake run

2016-04-01 Thread Craig Scott
solution, but in this particular case, that wasn't possible. I'd be interested if anyone can confirm whether the suggested approach is guaranteed to be safe for all generators and platforms, or whether there are other factors I have not considered in the proposed technique. Cheers -- Craig Scott

Re: [CMake] c++11 feature and cmake feature name mapping

2016-04-14 Thread Craig Scott
> CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.

Re: [CMake] Building a tool immediately so it can be used later in same CMake run

2016-04-14 Thread Craig Scott
too) invoking child cmake builds with execute_process. >> This is done after each push and one daily clean build. >> >> I've never had any problems with that approach. >> >> On the other hand, the system was originally designed with >> ExternalProject and I had m

Re: [CMake] How to deal with generated source files (w/ dependency tracking) for globs

2016-04-14 Thread Craig Scott
ake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow

Re: [CMake] Version compatibility?

2016-04-25 Thread Craig Scott
if the latest version's documentation always had that information instead, it would be more reliable and certainly more convenient. On Mon, Apr 25, 2016 at 11:48 PM, Nils Gladitz <nilsglad...@gmail.com> wrote: > On 04/25/2016 02:29 PM, Craig Scott wrote: > > I personally have foun

Re: [CMake] Is there a better way to retrieve content from a remote zip file?

2016-04-28 Thread Craig Scott
tware.com/mailman/listinfo/cmake >> > > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > inform

Re: [CMake] How to link shared lib on windows (visual studio 2014).

2016-04-25 Thread Craig Scott
t;> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/cmake > > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various servi

Re: [CMake] Version compatibility?

2016-04-25 Thread Craig Scott
itware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http:/

Re: [CMake] Cross Compilation & Source file generators

2016-05-21 Thread Craig Scott
n/listinfo/cmake >> > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, p

Re: [CMake] Difference between PRIVATE and PUBLIC with target_link_libraries

2016-05-11 Thread Craig Scott
help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia http://crascit.co

Re: [CMake] Difference between PRIVATE and PUBLIC with target_link_libraries

2016-05-12 Thread Craig Scott
> > > Then when building exe1 (links to lib2) and exe2 (links to lib3) the > > lib1's include-path is present in both cases. > > > > Whereas it should not be present with exe1, at least that is my > > understanding. > > > > -- > > Patrick. > --

Re: [CMake] CMake: how to use 'if condition' in command add_custom_command(...)

2016-04-19 Thread Craig Scott
ke_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: ht

Re: [CMake] qt+cmake != qt+qmake on mac os x

2016-05-08 Thread Craig Scott
ake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow t

Re: [CMake] What is a utility target ?

2016-07-27 Thread Craig Scott
library>, > or *add_custom_target()* > <https://cmake.org/cmake/help/v3.0/command/add_custom_target.html#command:add_custom_target> > commands. > > > > *From:* Craig Scott [mailto:craig.sc...@crascit.com] > *Sent:* Monday, July 25, 2016 1:52 PM > *To:* Azharuddin M

Re: [CMake] What is a utility target ?

2016-07-25 Thread Craig Scott
rt.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubsc

Re: [CMake] excluded from build in Visual Studio project

2016-07-13 Thread Craig Scott
/cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to s

Re: [CMake] How to disable the CPack preinstall build?

2016-07-06 Thread Craig Scott
sulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://pub

Re: [CMake] Unable to find source files in different directory using target_sources(INTERFACE)

2016-07-09 Thread Craig Scott
Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbour

Re: [CMake] Unable to find source files in different directory using target_sources(INTERFACE)

2016-07-09 Thread Craig Scott
sense for it is for those sources to be added to anything linking against it, which is the behaviour you are seeing. On Sun, Jul 10, 2016 at 10:04 AM, Craig Scott <craig.sc...@crascit.com> wrote: > When using target_sources(), if you specify the source file(s) with a > relative

Re: [CMake] Changing /W3 to /W4 does not update CMakeCache.txt

2017-02-02 Thread Craig Scott
http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitw

Re: [CMake] COMMAND dependencies with add_custom_command()

2017-02-03 Thread Craig Scott
com > wrote: > On 2017-01-25 20:25, Craig Scott wrote: > > The documentation for add_custom_command() contains this little nugget > when > > discussing the COMMAND keyword: > > > > If COMMAND specifies an executable target name .. Additionally > a > &

Re: [CMake] CCACHE_DIR Environment Variable

2017-02-01 Thread Craig Scott
necessarily what devs always expected. The article has been updated and now shows how to route all three through the same set of launch scripts for consistent behaviour. On Wed, Feb 1, 2017 at 10:49 AM, Florent Castelli < florent.caste...@gmail.com> wrote: > On 31/01/2017 23:34, Craig Sc

Re: [CMake] Changing /W3 to /W4 does not update CMakeCache.txt

2017-02-02 Thread Craig Scott
override it whenever cmake is invoked. > > Andrew > > On Fri, Feb 3, 2017 at 10:26 AM, Craig Scott <craig.sc...@crascit.com> > wrote: > >> Your CMakeLists.txt file is modifying the *non-cache* variable >> CMAKE_CXX_FLAGS. During CMake processing, a non-cache variable wi

Re: [CMake] CCACHE_DIR Environment Variable

2017-01-31 Thread Craig Scott
SX build, for example. > > On Jan 19, 2017, at 2:11 PM, Craig Scott <craig.sc...@crascit.com> wrote: > > Ah, sorry, I misunderstood what CCACHE_DIR was for. Nevertheless, the > method in that linked article could be easily modified to do what you want. > Simply add the setting of t

Re: [CMake] Comaptibility with older gcc

2017-01-28 Thread Craig Scott
/cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia ht

[CMake] COMMAND dependencies with add_custom_command()

2017-01-25 Thread Craig Scott
a simple use case which highlights that particular aspect of dependencies and commands? -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers vari

Re: [CMake] Disabling INSTALL target for subdirectory

2017-02-15 Thread Craig Scott
help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link t

Re: [CMake] installing source (or object) files

2017-01-19 Thread Craig Scott
ting.html > > CMake Training Courses: http://cmake.org/cmake/help/training.html > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Follow this link to subscribe/unsubscribe: > > http://public.

Re: [CMake] CCACHE_DIR Environment Variable

2017-01-19 Thread Craig Scott
> Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

Re: [CMake] CCACHE_DIR Environment Variable

2017-01-19 Thread Craig Scott
ssue is telling ccache where to place it’s > cache files. If I compiles for toolchain X, Y and X, I need to set > CCACHE_DIR accordingly. Otherwise the cache will be useless. > > —Dave > > On Jan 19, 2017, at 12:57 PM, Craig Scott <craig.sc...@crascit.com> wrote: > > Rat

Re: [CMake] Adding dependencies for configuration stage

2016-08-20 Thread Craig Scott
be used to add arbitrary > dependency. For instance, I have python script which is executed at > configuration stage with execute_process(). Obviously I want to trigger > reconfiguration when this script was edited, since it is an essential part > of the CMake script (just written in d

[CMake] Setup/tear down steps for CTest

2016-08-20 Thread Craig Scott
o start up and shutdown a service which a (subset of) test cases need running. That service is expensive to set up and hence it isn't feasible to start it up and shut it down for every test case individually. Any ideas? -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.k

Re: [CMake] Crosscompilation woes

2016-10-10 Thread Craig Scott
t, which makes cmake use those when generating the > makefiles. > > > > Ideas are most welcome! > > > > Regards > > /R > > > > *From:* Craig Scott [mailto:craig.sc...@crascit.com] > *Sent:* den 10 oktober 2016 10:47 > *To:* Robert Bielik <robert

[CMake] MACOSX_PACKAGE_LOCATION and iOS

2016-08-22 Thread Craig Scott
irst confirm whether this is intended and debate the merits later. ;) -- Craig Scott Melbourne, Australia http://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

[CMake] RPATH handling differences

2016-10-04 Thread Craig Scott
'm wanting to ensure I still get this if I just run cpack directly. Ref: https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.html -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Craig Scott
m the code or > documentation? > > -- > Eric > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more

Re: [CMake] CMAKE_INCLUDE_CURRENT_DIR on a function

2016-10-24 Thread Craig Scott
C ON > AUTOUIC ON > FOLDER ${TEST_FOLDER} > ) > > find_package(Qt5Test) > target_link_libraries(${FILE_RAW} ${TEST_LIBRARIES}) > > add_test(NAME ${FILE_RAW} COMMAND ${FILE_RAW}) > endfunction() > > > > > > > > > >

Re: [CMake] CMAKE_INCLUDE_CURRENT_DIR on a function

2016-10-24 Thread Craig Scott
p://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://p

Re: [CMake] CMAKE_INCLUDE_CURRENT_DIR on a function

2016-10-25 Thread Craig Scott
t; >> get_filename_component(FILE_RAW ${TEST_FILE} NAME_WE) >> add_executable(${FILE_RAW} ${TEST_FILE}) >> >> set_target_properties(${FILE_RAW} >> PROPERTIES >> CXX_STANDARD 14 >> CXX_EXTENSIONS OFF >> AU

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-25 Thread Craig Scott
Sorry, bad link in that last email. The try_compile() docs I meant to link to are here: https://cmake.org/cmake/help/latest/command/try_compile.html#other-behavior-settings On Sat, Nov 26, 2016 at 9:23 AM, Craig Scott <craig.sc...@crascit.com> wrote: > Sorry, I misunderstood. I h

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-25 Thread Craig Scott
456> in the issue tracker for this. On Fri, Nov 25, 2016 at 9:25 PM, Roman Wüger <roman.wue...@gmx.at> wrote: > but it does not set/add the required library > > Am 24.11.2016 um 22:01 schrieb Craig Scott <craig.sc...@crascit.com>: > > You might also need to

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Craig Scott
quot;typeinfo for std::__1::__shared_weak_count", referenced from: > > typeinfo for > std::__1::__shared_ptr_pointer<std::__1::__empty_state*, > std::__1::default_delete<std::__1::__empty_state >, > std::__1::allocator<std::__1::__empty_state > > in src.o

Re: [CMake] Determine which files have changed during a CMake run

2016-11-23 Thread Craig Scott
pen-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep me

Re: [CMake] Crosscompilation woes

2016-10-10 Thread Craig Scott
html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake

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

2016-10-16 Thread Craig Scott
Make Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html &g

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

2016-10-16 Thread Craig Scott
lt;steve.lori...@gmail.com> wrote: > Thanks Craig > > Not sure if I'm doing it right, but I couldn't get that to work. > > Would you be able to give me an example please? > > Thanks > Steve > > > > On 16 October 2016 at 17:51, Craig Scott <craig.sc...@crascit.com>

Re: [CMake] Best Practise for Multiple Platforms of External Project

2016-12-13 Thread Craig Scott
g Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbou

Re: [CMake] back-slashes for generator expression on windows

2016-12-06 Thread Craig Scott
ourses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Aus

Re: [CMake] How to use a generated linker map with a shared library?

2017-01-14 Thread Craig Scott
rt.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: >

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

2017-03-26 Thread Craig Scott
//www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html

Re: [CMake] Unknown generator output with CMake

2017-03-28 Thread Craig Scott
ake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- P

Re: [CMake] cmake --graphviz not dumping custom target in the graph

2017-03-29 Thread Craig Scott
org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this

Re: [CMake] Setting properties to interface

2017-04-16 Thread Craig Scott
On Mon, Apr 17, 2017 at 5:04 AM, Tiago Macarios <tiagomacar...@gmail.com> wrote: > Thanks Craig! That works. Just to confirm, there is no way to disable > extensions for a single interface? > Not that I'm aware of. > > On Sun, Apr 16, 2017 at 1:51 AM, Craig Scott <

Re: [CMake] How to set C++ standard?

2017-04-20 Thread Craig Scott
ww.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [CMake] CXX_STANDARD use latest

2017-04-16 Thread Craig Scott
urses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Au

Re: [CMake] Setting properties to interface

2017-04-16 Thread Craig Scott
tp://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check t

Re: [CMake] cmake -E remove -f

2017-04-08 Thread Craig Scott
After taking a look at the source code, I'm convinced this option is questionable. Issue created in gitlab here <https://gitlab.kitware.com/cmake/cmake/issues/16784>. On Thu, Apr 6, 2017 at 9:35 AM, Craig Scott <craig.sc...@crascit.com> wrote: > Yes, but in both cases the directo

[CMake] cmake -E remove -f

2017-04-05 Thread Craig Scott
doesn't explain when such forcing would be needed. -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. F

Re: [CMake] cmake -E remove -f

2017-04-05 Thread Craig Scott
Yes, but in both cases the directory foo is still not deleted! At least on OSX any way. On Thu, Apr 6, 2017 at 9:22 AM, Mark Ferry <m...@cognomen.co.uk> wrote: > Hi Craig > > On Thu, 06 Apr 2017 08:55:58 +1000, Craig Scott wrote: > > Can anyone identify a scenari

Re: [CMake] custom command comments not showing up

2017-04-07 Thread Craig Scott
gt; > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/o

Re: [CMake] Predownload

2017-04-17 Thread Craig Scott
community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other

Re: [CMake] Predownload

2017-04-17 Thread Craig Scott
, Florent Castelli < florent.caste...@gmail.com> wrote: > Don't you need the toolchain to be configured (Aka project() called) > before ExternalProject? You wouldn't be able to update it after the > download. > > /Florent > > On Apr 17, 2017 11:18 PM, "Craig Scott&

Re: [CMake] Predownload

2017-04-17 Thread Craig Scott
, 2017 at 8:16 AM, Craig Scott <craig.sc...@crascit.com> wrote: > One option may be a superbuild arrangement (based on ExternalProject, > online searches should give you details). The only thing the top level > would do is setup the sub builds, including downloading and selecting whic

Re: [CMake] Predownload

2017-04-18 Thread Craig Scott
may just have to experiment a bit. Not sure if it is relevant or if it will just be a distraction for you, but you may find Ruslo's polly project to be an interesting resource for toolchains. https://github.com/ruslo/polly > > *Gesendet:* Dienstag, 18. April 2017 um 00:23 Uhr > *V

Re: [CMake] cmake-gui on windows and qt5 dlls

2017-08-14 Thread Craig Scott
it other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Pl

Re: [CMake] cmake-gui on windows and qt5 dlls

2017-08-14 Thread Craig Scott
though to achieve essentially the same thing. I personally like to be able to launch it through the command line, it is > faster than looking for it and then browse for the folder. > > Le lun. 14 août 2017 à 11:48, Craig Scott <craig.sc...@crascit.com> a > écrit : > >>

Re: [CMake] Can not get C++ 11 support enabled

2017-07-10 Thread Craig Scott
services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/trai

Re: [CMake] Append to property COMPILE_DEFINITIONS

2017-07-17 Thread Craig Scott
//www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [CMake] Append to property COMPILE_DEFINITIONS

2017-07-18 Thread Craig Scott
8.07.2017 um 10:59 schrieb Craig Scott: > > You appear to be setting a GLOBAL property where you probably meant > DIRECTORY. You could also consider setting the > > target property instead rather than applying it to all targets (unless > that's what you want). > > I tried t

Re: [CMake] Append to property COMPILE_DEFINITIONS

2017-07-18 Thread Craig Scott
On Tue, Jul 18, 2017 at 1:21 PM, Florian Lindner <mailingli...@xgm.de> wrote: > Am 18.07.2017 um 10:59 schrieb Craig Scott: > > You appear to be setting a GLOBAL property where you probably meant > DIRECTORY. You could also consider setting the > > target property inst

Re: [CMake] Append to property COMPILE_DEFINITIONS

2017-07-22 Thread Craig Scott
ll add_executable() within the same CMakeLists.txt file (or more accurately, within the same directory scope). > > > > > On Tue, Jul 18, 2017 at 1:21 PM, Florian Lindner <mailingli...@xgm.de > <mailto:mailingli...@xgm.de>> wrote: > > > > Am 18.07.2017 um

Re: [CMake] POSITION_INDEPENDENT_CODE's [un]expected behaviour

2017-07-22 Thread Craig Scott
se visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > open

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread Craig Scott
some CMake generators (e.g. -C for the build configuration with Xcode or Visual Studio most likely). make cpack -G RPM -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/

Re: [CMake] Append to property COMPILE_DEFINITIONS

2017-07-24 Thread Craig Scott
On Mon, Jul 24, 2017 at 12:32 PM, Florian Lindner <mailingli...@xgm.de> wrote: > > > Am 22.07.2017 um 15:36 schrieb Craig Scott: > > > > On Tue, Jul 18, 2017 at 8:50 PM, Florian Lindner <mailingli...@xgm.de > <mailto:mailingli...@xgm.de>> wrote: >

Re: [CMake] hang in FindDoxygen.cmake on ppc64le

2017-06-29 Thread Craig Scott
, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ &

Re: [CMake] Interest in adding to CMake the CMakeGet module to get dependencies

2017-08-04 Thread Craig Scott
d but different problems, for example), but my purpose here is to provide broader information for further consideration and discussion. Hopefully I haven't poured too much cold water on an otherwise very interesting area! -- Craig Scott Melbourne, Australia https://crascit.com -- Powered by

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Craig Scott
>> CMake Training Courses: http://cmake.org/cmake/help/training.html >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listi

Re: [CMake] cmake-gui on windows and qt5 dlls

2017-08-17 Thread Craig Scott
employer we ended up using something like wscript instead, which allowed us to avoid that problem and it worked on all Windows versions without any extra software dependencies. Maybe we just didn't have good enough batch-file-fu, maybe things work differently now, I don't know. Been a number of yea

  1   2   3   >