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 I

Re: [CMake] Development Workflow with CMake and VS2017

2018-07-15 Thread R0b0t1
e. 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
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
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 Kitware offers v

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-10 Thread R0b0t1
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 by www.kitware.c

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-08 Thread R0b0t1
e 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 those types. Cheers, R0b0t1 -- Powered by www.kitware.com Please keep messages on-topic and chec

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-07 Thread R0b0t1
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: http

Re: [CMake] Integrating ROOT into Geant4 application

2017-12-07 Thread R0b0t1
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 mailing list. Cheers, R0b0t1 --

Re: [CMake] Building ROOT into Geant4 Application

2017-12-06 Thread R0b0t1
ng 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 on-topic and check the

Re: [CMake] Using find_package() portably?

2017-12-04 Thread R0b0t1
th 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/ExtLibs/ -1 > bullet >

Re: [CMake] Using find_package() portably?

2017-11-21 Thread R0b0t1
if the dependency 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 als

Re: [CMake] How to force use of Windows 64bit link.exe?

2017-11-08 Thread R0b0t1
2017 Win64." Per https://cmake.org/cmake/help/v3.10/generator/Visual%20Studio%2015%202017.html . It might be wise to make 64 bit the default or at least more prominent. I had a hard time figuring this out. Cheers, R0b0t1 > On 11/8/17, 2:26 PM, "CMake on behalf of Paul Smith"

Re: [CMake] Problems Building a Java Project Under Cygwin

2017-10-29 Thread R0b0t1
On Sun, Oct 29, 2017 at 4:54 AM, Marco Atzeri wrote: > On 29/10/2017 04:44, R0b0t1 wrote: >> >> What fails is the compile step, like so: >> >> javac: file not found: >> >> \cygdrive\C\Users\R0b0t1\Documents\Code\project\build\CMakeFiles\project.dir\java_sour

[CMake] Problems Building a Java Project Under Cygwin

2017-10-28 Thread R0b0t1
What fails is the compile step, like so: javac: file not found: \cygdrive\C\Users\R0b0t1\Documents\Code\project\build\CMakeFiles\project.dir\java_sources (The system cannot find the path specified) Is this due to a change in the path separator? On another note, are there any suggestions for