[cmake-developers] CMake Xcode Scheme generator

2019-03-08 Thread Harry Mallon
and want to choose most important ones for the UI. * Has anyone looked at 'run as root'? This was the main reason why we implemented scheme generation originally. I can prepare a PR if not. Best, Harry Harry Mallon Senior Software Engineer T+44 203 7000 989  60 Poland Street | London | England

Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Harry Mallon
uot; which is apparently “The last Windows 10 SDK version that VS 2015 can target”. I am currently downloading a lower SDK version to test. Harry Harry Mallon Senior Software Engineer [http://codex.online/?action=asset=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203 700

Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Harry Mallon
rcx,qword ptr [rsp+0C0h] ss:0029`62788fc0=582dcaa7f282 0:000> ===== Thanks, Harry Harry Mallon Senior Software Engineer [http://codex.online/?action=asset=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203 7000 989 60

[CMake] Visual Studio 2015 Generator crash 3.13

2018-11-22 Thread Harry Mallon
es\boost_1_66_0" ../ Any ideas? I don’t have a debugger on Windows to look at it at the moment. Best, Harry Harry Mallon Senior Software Engineer [http://codex.online/?action=asset=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203 7000 989 60 Poland Street | London

Re: [CMake] How to find GTK3 in CMake

2018-11-21 Thread Harry Mallon
Hi again, Thanks David and Eric. I have actually used cmake’s pkgconfig integration to support this library. As you say (about it not being very portable) I only needed it on Linux so pkgconfig is a reasonable thing to use. Thanks, Harry Harry Mallon Senior Software Engineer [http

[CMake] How to find GTK3 in CMake

2018-11-20 Thread Harry Mallon
Hi, FindGTK and FindGTK2 exist in the CMake tree. How come there isn't one for GTK3? Should the GTK2 one work, or is there another way? Harry Harry Mallon Senior Software Engineer T+44 203 7000 989  60 Poland Street | London | England | W1F 7NT -- Powered by www.kitware.com Please keep

Re: [CMake] Packaging dylibs into app bundles

2018-07-20 Thread Harry Mallon
/myapp /usr/local/myapp/lib/libA.dylib /usr/local/myapp/lib/libB.dylib # etc Is there a sensible way to do this without rewriting a lot of Bundle Utilities? Best, Harry From: Harry Mallon Date: Thursday, 19 July 2018 at 19:04 To: Stephen McDowell Cc: CMake MailingList Subject: Re: [CMake

Re: [CMake] Packaging dylibs into app bundles

2018-07-19 Thread Harry Mallon
/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: '@rpath/ libcrypto.dylib’: No such file or directory Hmm, seems like the stuff is there somewhere to make this work… Best, Harry From: Stephen McDowell Date: Thursday, 19 July 2018 at 17:35 To: Harry Mallon Cc

[CMake] Packaging dylibs into app bundles

2018-07-19 Thread Harry Mallon
Hello all, Is there a good tutorial/article on getting CMake to package required dylibs and frameworks into an app bundle for you on mac. We have a lot of custom stuff to do it and it is fragile and breaks a lot. Thanks, Harry Harry Mallon Senior Software Engineer [http://codex.online

Re: [cmake-developers] Retrieving OS Version in CMake

2018-06-05 Thread Harry Mallon
differently to Linux. I haven’t tried Windows or other yet. Maybe the docs for cmake_host_system_information should be expanded to cover behaviour on common platforms and a little more info on intent of each thing? Best, Harry Harry Mallon CODEX | Senior Software Engineer 60 Poland Street |

[cmake-developers] Retrieving OS Version in CMake

2018-06-04 Thread Harry Mallon
“Fedora” and “28”)? Is there already a way to get these in CMake? Best, Harry Harry Mallon Senior Software Engineer [http://codex.online/?action=asset=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203 7000 989 60 Poland Street | London | England | W1F 7NT

[cmake-developers] COMPILE_OPTIONS or COMPILE_FLAGS

2018-05-01 Thread Harry Mallon
am specifically talking about adding “-mavx” to one file in particular but would prefer a general answer if anyone knows. Thanks, Harry Harry Mallon Senior Software Engineer [http://codex.online/?action=asset=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203 7000 989&

[CMake] MSVC C features

2018-03-26 Thread Harry Mallon
Harry Mallon CODEX | Senior Software Engineer 60 Poland Street | London | England | W1F 7NT E harry.mallon@codex.online | T +44 203 7000 989 -- 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

Re: [CMake] Swift executables with MACOSX_BUNDLE fail to find libswiftCore.dylib

2018-03-06 Thread Harry Mallon
ry-search-path-to-executable-at-compile-time-clang By the way this is not related to Swift at all. Lucas Le 2 mars 2018 à 20:12, Harry Mallon <Harry.Mallon@codex.online<mailto:Harry.Mallon@codex.online>> a écrit : Hello all, When making a pure Swift bundle Xcode automatically copies `libsw

[CMake] Swift executables with MACOSX_BUNDLE fail to find libswiftCore.dylib

2018-03-02 Thread Harry Mallon
oes anyone have any idea what to do? Is it a missing CMake Swift feature? We are currently working around it by manually adding the rpath with a cmake step. Harry Harry Mallon Senior Software Engineer [http://codex.online/?action=asset=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.on

[CMake] add_subdirectory and common libraries

2017-12-11 Thread Harry Mallon
and find_package() methods I used to use? └── large_repo ├── library │ └── util_library └── util_library Thanks, Harry Harry Mallon CODEX | Senior Software Engineer 60 Poland Street | London | England | W1F 7NT E harry.mallon@codex.online | T +44 203 7000 989

Re: [CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-17 Thread Harry Mallon
XCODE_ATTRIBUTE_MODULE_VERSION ${driver_version} XCODE_PRODUCT_TYPE "com.apple.product-type.kernel-extension.iokit" ) install(TARGETS driver DESTINATION Library/Extensions COMPONENT driver ) # Now we do a signing routine which we rolled ourselv

Re: [CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-16 Thread Harry Mallon
Hi again, Sorry look like it is not in the release build yet. Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com<mailto:ha...@codexdigital.com> | T +44 203 7000 989<callto:+44%20203%207000%20989> Website<http

[CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-16 Thread Harry Mallon
le line without lots of manual setting (which I can't get right at the moment). Looking at the code https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmGlobalXCodeGenerator.cxx it seems setting XCODE_PRODUCT_TYPE on the target should work. But it doesn't work for me. Any ideas? Harry Harry Mall

[CMake] Up to date iOS instructions

2017-01-09 Thread Harry Mallon
expression problem mentioned here last year (https://cmake.org/pipermail/cmake/2016-March/063113.html). I have heard something about CMAKE_OSX_SYSROOT = iphoneos and maybe CMAKE_IOS_INSTALL_COMBINED? Yours, Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT

[cmake-developers] CPackProductbuild Scripts

2016-12-12 Thread Harry Mallon
ll req with documentation. Yours, Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Ki

[cmake-developers] GitLab speed

2016-11-28 Thread Harry Mallon
the equivalent thing on github. I am not sure whether this report is constructive at all so feel free to dismiss my moaning. Yours, Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 -- Powered

Re: [CMake] Find packages coming from homebrew

2016-11-23 Thread Harry Mallon
and you should see what I mean. I hope some of this is helpful. Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com<mailto:ha...@codexdigital.com> | T +44 203 7000 989<callto:+44%20203%207000%20989> Web

[cmake-developers] FindOpenSSL binaries

2016-09-15 Thread Harry Mallon
EXECUTABLE `` # The openssl binary. ... find_path(OPENSSL_EXECUTABLE NAMES openssl ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES bin ) ... 2. Should "OPENSSL_INCLUDE_DIR" be "OPENSSL_INCLUDE_DIRS" or is that not a hard-and-fast rule? Thanks, Harry Harry Ma

[CMake] xcode-select and CMake -G Xcode

2016-09-15 Thread Harry Mallon
X_COMPILER could be found. -- Configuring incomplete, errors occurred! With "xcode-select -s /Applications/Xcode2.app/Contents/Developer" it is fine and this is a reasonable workaround for me. Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha

[CMake] OSX Code Signing best practice

2016-07-12 Thread Harry Mallon
the signing in that. I have tried: 1. Using set_target_properties( "XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY" "${SIGN_ID}") 2. Using an add_custom_command step. This code signs before all the Resources are copied in so the signatures are invalid Any ideas? Harry Harry Mal

Re: [cmake-developers] CpackRPM doesn't escape filenames

2016-07-12 Thread Harry Mallon
ot;${CMAKE_CURRENT_BINARY_DIR}/%dist.txt" "") install(FILES "${CMAKE_CURRENT_BINARY_DIR}/%dist.txt" DESTINATION foo ) include(CPack) Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 &g

Re: [cmake-developers] Some CPackRPM Debug print is printing without DEBUG On

2016-07-11 Thread Harry Mallon
Doh. Less haste more speed. Thanks. Patch 2. H Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 0001-Make-sure-CPackRPM-Debug-print-about-Auto-Filelist-o.patch Description: 0001-Make-sure-CPackRPM-Debug-print

[cmake-developers] Some CPackRPM Debug print is printing without DEBUG On

2016-07-11 Thread Harry Mallon
h attached Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 0001-Make-sure-CPackRPM-Debug-print-about-Auto-Filelist-o.patch Description: 0001-Make-sure-CPackRPM-Debug-print-about-Auto-Filelist-o.patch --

Re: [cmake-developers] Problem with find_path and Frameworks

2016-06-07 Thread Harry Mallon
Thanks Brad. I haven't run into a mac without /System/Library/Frameworks/Kernel.framework before but maybe it comes from XCode or something. Thanks for merging. Harry. Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000

Re: [cmake-developers] Problem with find_path and Frameworks

2016-06-07 Thread Harry Mallon
I have updated my patch with new simplified logic and a test. Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 0001-Fix-a-problem-where-using-find_path-to-find-a-header.patch Description: 0001-Fix-a-problem-where

Re: [CMake] [OS X] example CMake file to create a Preference Pane?

2016-05-27 Thread Harry Mallon
You might have found something by now, but for others: This seems to be a good start (I haven't got mine working yet but it is a lot closer) https://github.com/open-eid/updater/blob/master/CMakeLists.txt H Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT

Re: [cmake-developers] Problem with find_path and Frameworks

2016-05-26 Thread Harry Mallon
I can work around it if need be. I just felt that it was against the stated behaviour of find_path since that function is meant to give the folder where you can find "IOKit/pci/IOPCIDevice.h" rather than the folder where you can find "IOPCIDevice.h". Harry Harry Mal

[cmake-developers] Problem with find_path and Frameworks

2016-05-25 Thread Harry Mallon
s reproducible on OSX with the following CMakeLists.txt: cmake_minimum_required(VERSION 3.0) find_path(IOKIT_INCLUDE_DIR "IOKit/pci/IOPCIDevice.h") message("Path returned: ${IOKIT_INCLUDE_DIR}") Here is a patch which seems to fix it for me: Harry Mallon CODEX | Software

[cmake-developers] Optionally disable /Applications symlink in CPack dragndrop generator

2016-05-25 Thread Harry Mallon
Pull request to optionally disable the /Applications symlink. It is useful when distributing .app files but not needed when distributing other things. https://github.com/Kitware/CMake/pull/246 Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha

Re: [CMake] Recommended style for multiple CPack generator folder structures

2016-05-24 Thread Harry Mallon
uot;./" not "/" as it has to be a relative path ) This in your CPACK_PROJECT_CONFIG_FILE: if (CPACK_GENERATOR STREQUAL DragNDrop) set(CPACK_COMPONENTS_ALL bar-standalone) endif() Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha.

[CMake] Recommended style for multiple CPack generator folder structures

2016-05-24 Thread Harry Mallon
ntain just the .app bundle rather than the full folder structure. Is there a sensible way to do this? Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 -- Powered by www.kitware.com Please keep messages on-topic

[cmake-developers] Very minor doc update

2016-05-23 Thread Harry Mallon
information on other available formats. Defaults to UDZO. Thanks, Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com<mailto:ha...@codexdigital.com> | T +44 203 7000 989<callto:+44%20203%207000%20989> Website | Facebook&

[CMake] CPack and PackageMaker

2016-05-23 Thread Harry Mallon
N" as well. 5. Finding programs: "// TODO: find pkgbuild and productbuild" could be replaced with cmSystemTools::FindProgram for the two executables and return error messages if they are unavailable (which is unlikely). Harry Harry Mallon CODEX | Software Engineer 60 Poland Street |

Re: [cmake-developers] Make CPACK_RPM_PACKAGE_RELEASE match Fedora/RHOS/CentOS recommended behaviour

2016-05-11 Thread Harry Mallon
Hi Domen, That is infinitely simpler. Looks like a good addition to me. Thanks, Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com<mailto:ha...@codexdigital.com> | T +44 203 7000 989<callto:+44%20203%207000%20989&

Re: [cmake-developers] Make CPACK_RPM_PACKAGE_RELEASE match Fedora/RHOS/CentOS recommended behaviour

2016-05-08 Thread Harry Mallon
if(${CPACK_RPM_PACKAGE_RELEASE} STREQUAL "RPMBUILD-DEFAULT") # Fedora/CentOS default e.g. "1.el7.centos" set(CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE_NUMBER}${CPACK_RPM_DIST}") endif() H Harry Mallon CODEX | Software Engineer 60 Poland Street | Lo

[cmake-developers] Make CPACK_RPM_PACKAGE_RELEASE match Fedora/RHOS/CentOS recommended behaviour

2016-05-06 Thread Harry Mallon
put of "rpmbuild -E %{dist} 2>/dev/null". * Makes CPACK_RPM_PACKAGE_RELEASE default to "1${CPACK_RPM_DIST}" I think I am right in saying this would not change behaviour on distributions that did not use the %{dist} option as "rpmbuild -E %{dist}" should return noth

Re: [cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Harry Mallon
STRLESS $4 AND NOT $5 STRGREATER $6) H Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 > On 8 Apr 2016, at 15:42, Ben Boeckel <ben.boec...@kitware.com> wrote: > > On Fri, Apr 08, 2016 at 14:24:08 +000

[cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Harry Mallon
0")". Commit on github: https://github.com/hm1992/CMake/commit/75b318f8809ae71685cad068cd2e8ce9f19fb28a Would this be of interest for merging? I don't really have the time to do extensive testing on it at the moment. Harry Harry Mallon CODEX | Software Engineer 60 Poland S

[cmake-developers] Making shared xcscheme files for Xcode from Cmake

2016-03-31 Thread Harry Mallon
be great if it could make VS configs too. Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com<mailto:ha...@codexdigital.com> | T +44 203 7000 989<callto:+44%20203%207000%20989> Website | Facebook<https://w

Re: [cmake-developers] Access output from CheckCXXSourceRuns and CheckCSourceRuns

2016-01-19 Thread Harry Mallon
Yep. The headers are the same version to version but provide a function to retrieve a filled version struct. H Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com<mailto:ha...@codexdigital.com> | T +44 203 7000 989<callto:

Re: [cmake-developers] Access output from CheckCXXSourceRuns and CheckCSourceRuns

2016-01-19 Thread Harry Mallon
Inline responses. Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 > On 19 Jan 2016, at 15:42, Brad King <brad.k...@kitware.com> wrote: > > On 01/18/2016 01:32 PM, Harry Mallon wrote: >> https

[cmake-developers] Access output from CheckCXXSourceRuns and CheckCSourceRuns

2016-01-18 Thread Harry Mallon
Hello, I have just submitted a pull request (https://github.com/Kitware/CMake/pull/209). This passes through the output of the run (as well as the return value) so that users can access any output without using try_run. H Harry Mallon CODEX | Software Engineer 60 Poland Street | London