Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Harry Mallon
; 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&id=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203

Re: [CMake] Visual Studio 2015 Generator crash 3.13

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

[CMake] Visual Studio 2015 Generator crash 3.13

2018-11-22 Thread Harry Mallon
\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&id=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://codex.online/> T +44 203 7000 989 60 Poland Str

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

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 Mallo

[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

[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
Hi Lucas, With Swift there is a required standard dylib that must be included (and Xcode copies by default). So perhaps CMake should automatically add the rpath option to the Xcode command line? Harry From: Lucas Šoltić Date: Friday, 2 March 2018 at 23:20 To: Harry Mallon Cc: "

[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&id=E3D62C3D-A12C-447D-87A5-F36E7C2AA9A4]<https://

[CMake] add_subdirectory and common libraries

2017-12-11 Thread Harry Mallon
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 Website<http://codex.online> | Fa

[CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-16 Thread Harry Mallon
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

[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

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 Website<http://codex.online> | Facebook<http

[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
e 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 Harr

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 | W1

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

2016-05-24 Thread Harry Mallon
;./" 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
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] CPack and PackageMaker

2016-05-23 Thread Harry Mallon
uot; 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 |