Re: [CMake] VS2019 LLVM Toolset?

2019-10-24 Thread Mojca Miklavec
On Thu, 24 Oct 2019 at 21:36, Osman Zakir wrote: > > Yes, I looked at this: > https://devblogs.microsoft.com/cppblog/clang-llvm-support-in-visual-studio/ > so I kind of get it. VS2019 has built-in support for LLVM. I of course do > have LLVM installed. So for this, I have to put "ClangCL" as

Re: [CMake] VS2019 LLVM Toolset?

2019-10-24 Thread Mojca Miklavec
On Thu, 24 Oct 2019 at 20:28, Osman Zakir wrote: > > Hi. I tried to specify the LLVM Toolset for VS2019 by doing "-T LLVM" and > also "-T llvm" but it failed both times. For me "-T ClangCL" seems to have worked (provided that you install Clang with VS 2019, of course). (To figure out the potenti

Re: [CMake] Ways to require CUDA arch minimum version?

2019-08-21 Thread Mojca Miklavec
On Fri, 16 Aug 2019 at 03:34, Hong Xu wrote: > > Is there a way to enforce a minimum CUDA arch version when finding CUDA? > Hong I don't know if the following is the correct advice, but I use the following code in my setup to enforce Pascal: string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=comp

Re: [CMake] Does enable_language(CUDA) still have the problem with reconfiguring?

2019-04-01 Thread Mojca Miklavec
On Mon, 1 Apr 2019 at 22:11, Robert Maynard via CMake wrote: > > For MSBuild we rely on the CUDA extensions written by nvidia which do > proper dependency tracking. Except when they don't. It drove me nearly crazy that any given trivial change had to be followed by a complete rebuild of the projec

[CMake] Specifying both native and cross compiler at the same time

2019-03-19 Thread Mojca Miklavec
Hi, I would like a build setup for a project to work correctly for both native and cross compilation, however one part requires native compilation and execution of the binary to generate some data tables as part of the build process (the temporary native binary is then discarded / not installed).

Re: [CMake] CMake update for older PPC7

2018-06-23 Thread Mojca Miklavec
On 23 June 2018 at 17:45, Gregor Jasny via CMake wrote: > > 2) Compile it yourself. CMake is self-contained so compilation should be > relatively easy. Please note that latest versions depend on a C++11 > compatible toolchain. There is a boostrap script to compile CMake > without CMake and break th

Re: [CMake] MinGW-w64/MSYS2 (or Cygwin) and NAG Fortran - how to combine?

2018-02-09 Thread Mojca Miklavec
On 9 February 2018 at 18:24, Alan W. Irwin wrote: > On 2018-02-09 10:44- Arjen Markus wrote: > >> Hi Alan, >> >> The result is the same or very much the same. > > OK. Time for more knowledgable people to weigh in here about what > Platform filenames to use for the combination of nagfor and > M

Re: [CMake] CMake support for MYS2

2018-01-10 Thread Mojca Miklavec
On 10 January 2018 at 11:56, Konstantin Tokarev wrote: > 10.01.2018, 11:40, "Mojca Miklavec" : >> On 8 January 2018 at 17:38, Konstantin Tokarev wrote: >>> 08.01.2018, 14:35, "Mojca Miklavec": >>>> Dear CMake developers, >>>>

Re: [CMake] CMake support for MYS2

2018-01-10 Thread Mojca Miklavec
On 8 January 2018 at 17:38, Konstantin Tokarev wrote: > 08.01.2018, 14:35, "Mojca Miklavec": >> Dear CMake developers, >> >> I installed msys2 from http://www.msys2.org/ and (after updating etc) >> installed cmake via >> pacman -S cmake > > Y

[CMake] CMake support for MYS2

2018-01-08 Thread Mojca Miklavec
Dear CMake developers, I installed msys2 from http://www.msys2.org/ and (after updating etc) installed cmake via pacman -S cmake as well as some other packages like "make", the gcc compiler etc. But "ccmake" complains: System is unknown to cmake, create: Platform/MINGW32_NT-6.1 to use thi

Re: [CMake] Preventing search for libraries in random prefixes

2014-06-27 Thread Mojca Miklavec
On Fri, Jun 27, 2014 at 11:28 AM, Angeliki Chrysochou wrote: > Hi Mojca, > > I don't know if removing these paths would break your build maybe...I'm > sorry I couldn't help. It wouldn't break my build, but it seems weird and unnatural to do such extensive patching to CMake's Find modules. Mojca -

Re: [CMake] Preventing search for libraries in random prefixes

2014-06-27 Thread Mojca Miklavec
) I would like to get rid of those. Mojca > On Thu, Jun 26, 2014 at 10:56 PM, Mojca Miklavec wrote: >> >> Hi, >> >> In our package manager where it is of crucial importance to link >> against the proper library we often end up with hardcoding lots and >>

[CMake] Preventing search for libraries in random prefixes

2014-06-26 Thread Mojca Miklavec
Hi, In our package manager where it is of crucial importance to link against the proper library we often end up with hardcoding lots and lots of options, like: -DOPENGL_INCLUDE_DIR=${prefix}/include \ -DX11_ICE_INCLUDE_PATH=${prefix}/include \ -DX11_SM_INCLUDE_PATH=${prefix}/include \ -DX11_X11_I

[CMake] Why CMake automatically uses -isysroot on OS X?

2014-06-19 Thread Mojca Miklavec
Hi, I was struggling with a compilation of a project via CMake. Thu build kept failing for unknown reasons until I realized that CMake would automatically compile with -isysroot /Developer/SDKs/MacOSX10.6.sdk \ -mmacosx-version-min=10.6 (or any other sdk, depending on OS version) unless

Re: [CMake] Proper behaviour and use of CMAKE_INSTALL_* variables

2013-12-09 Thread Mojca Miklavec
On Mon, Dec 9, 2013 at 4:52 PM, Andreas Pakulat wrote: > Hi, > > On Mon, Dec 9, 2013 at 3:50 PM, Mojca Miklavec wrote: >> >> Dear list members, >> >> I often like or need to install two versions of the same software. >> Ideally the software should put its fil

[CMake] Proper behaviour and use of CMAKE_INSTALL_* variables

2013-12-09 Thread Mojca Miklavec
Dear list members, I often like or need to install two versions of the same software. Ideally the software should put its files by default to $prefix/include/$NAME/*.h $prefix/lib/$NAME/*.dylib ... ($prefix => $CMAKE_INSTALL_PREFIX) and in order to be able to install multiple versions

Re: [CMake] MSVC++ Express 2010 and msvcp100.dll/msvcr100.dll not found

2013-09-29 Thread Mojca Miklavec
On Fri, Sep 27, 2013 at 4:08 PM, David Cole wrote: > The Express editions of Visual Studio do not contain the redistributable > libraries. You may build software and use it on your own computer with the > Express editions, but you are not able to create redistributable software > with it that works

[CMake] MSVC++ Express 2010 and msvcp100.dll/msvcr100.dll not found

2013-09-27 Thread Mojca Miklavec
Hello, I installed Visual C++ Express 2010 on XP and I'm trying to compile my first CMake-based project. I installed CMake 2.8.12-rc3. The first confusion was that I wasn't sure which generator to choose with cmake-gui. there is a mention of versions 2005 and 2008, but other Microsoft's products