Re: [CMake] How to have Visual Studio 15 2017 actually use a 64 bit toolchain.

2018-09-21 Thread R0b0t1
On Fri, Sep 21, 2018 at 4:13 PM, Michael Jackson wrote: > The easy answer is to use “ninja” from a VS tools X64 Native command prompt. > For those that want to actually use Visual Studio 15 2017 is there anything > in CMake or an environment variable that can be set? > > > The issue is that when

Re: [CMake] Development Workflow with CMake and VS2017

2018-07-15 Thread R0b0t1
d to use. I am not quite sure how to set it to compile with a 64 bit MinGW toolchain. I suppose I will need to follow the manual instructions when I have more time; they are a bit rough. The other suggestions are welcome, I will try to get back to the list with my thoughts in a few days. Cheers,

[CMake] Development Workflow with CMake and VS2017

2018-07-12 Thread R0b0t1
not a CMake build script, or when the library must be compiled with MinGW. It seems to me I should just stick to Cygwin or MSYS2. Cheers, R0b0t1 -- 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

[CMake] How to Compile with -municode for MinGW-w64

2018-05-29 Thread R0b0t1
NOR 0) set (mtktool_VERSION_PATCH 0) configure_file ( "${PROJECT_SOURCE_DIR}/config.h.in" "${PROJECT_SOURCE_DIR}/config.h" ) include_directories ( "${CMAKE_CURRENT_SOURCE_DIR}" ) add_definitions ( -municode -mwindows ) add_executable ( mtktool mtktool.c ) Cheers,

Re: [CMake] Memory usage and configuration time for large project

2018-04-30 Thread R0b0t1
dows, then the advice in the comments above should still be relevant, and give you something to go on. Cheers, R0b0t1 > Patrick Gartung > Fermilab > -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Ki

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-10 Thread R0b0t1
omething you might want to do on your own (or you can send it to the list) is to look at the Makefile generated by CMake, and check to make sure that Cling is not linked in. If it is this is likely an issue with FindROOT.cmake. If it's not, you can try using a Makefile. Cheers, R0b0t1 -- Powered b

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-08 Thread R0b0t1
se you can look at a file host like https://mega.co.nz. Should you want to try by email again, some lists will accept .tar.bz2, .tar.gz, and .tar.xz. If you are on Windows you will probably need to install Cygwin (https://www.cygwin.com/) or 7zip (http://www.7-zip.org/) to create an archive of

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-07 Thread R0b0t1
ding a program of your own? Regardless of whether or not you will be distributing binaries, these are important questions to ask to make sure your program can be built easily in the future. Cheers, R0b0t1 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-07 Thread R0b0t1
you generated a standalone demo that you want to distribute?). It is important I know where you got the packages, how you built them, and even better, what precisely you are trying to do with them; it sounds almost like this is a question more suited to ROOT/Geant4 developers than this mailin

Re: [CMake] Building ROOT into Geant4 Application

2017-12-06 Thread R0b0t1
that you ran? Are you using Clang, and is it necessary that you use Clang? If we can't resolve your problem here it is possible I can refer you to someone off-list, but I am not entirely sure what difficulty you are having. Cheers, R0b0t1 -- Powered by www.kitware.com Please keep messages

Re: [CMake] Using find_package() portably?

2017-12-04 Thread R0b0t1
have a complete build with SCons that works under Windows and Linux for my project which is of average complexity.) > Hello, Are you able to link to your project? I am interested in how you have set up your build system. Cheers, R0b0t1 > Best regards, > Carsten > > $ ls Cafu/Ex

Re: [CMake] Using find_package() portably?

2017-11-21 Thread R0b0t1
ependency is readily available and/or big. >> I dislike doing this on principle but it's pretty common for Windows. Sticking a deps/ directory in your repository with precompiled libraries and the header files is an easy way to reduce the burden for potential contributors. I have also seen instructions fo