[cmake-developers] Revitalize --find-package mode?

2019-10-02 Thread Nagy-Egri Máté Ferenc via cmake-developers
Hi! I’m currently struggling with trying to build GNOME projects using meson, but depending on CMake-built libraries, either in the wild or inside a package manager. I have managed to uncover that the way Meson is trying to invoke CMake

Re: [cmake-developers] cmake-file-api and CTest

2019-08-22 Thread Nagy-Egri Máté Ferenc via cmake-developers
? Cheers, Máté Feladó: Nagy-Egri Máté Ferenc Elküldve: 2019. július 9., kedd 9:41 Címzett: Kyle Edwards; CMake fejlesztők Tárgy: RE: [cmake-developers] cmake-file-api and CTest Hi Kyle, I’ve never contributed to CMake before. I once wanted to enchance the makefile generators with batch-mode support

Re: [cmake-developers] cmake-file-api and CTest

2019-07-08 Thread Nagy-Egri Máté Ferenc via cmake-developers
to add new queries and extract tests from the internal representation. I was hoping to not have to touch CMake itself for this summer project, but it seems that’s the first step. Cheers, Máté Feladó: Kyle Edwards Elküldve: 2019. július 8., hétfő 15:56 Címzett: Nagy-Egri Máté Ferenc; CMake fejlesztők

[cmake-developers] cmake-file-api and CTest

2019-07-07 Thread Nagy-Egri Máté Ferenc via cmake-developers
Hi! I am trying to cook a CTest back-end to the Test Explorer UI extension for VS Code as a summer project and I thought of using the new cmake-file-api for it. The docs however are understandably scarce and I could not muster how to obtain tests and not targets. Is it possible with this

[cmake-developers] Custom script invocation from imported target

2017-09-20 Thread Nagy-Egri Máté Ferenc via cmake-developers
Hi! I am trying to improve the developer experience of SYCL users for both those using triSYCL and ComputeCpp alike. (TL;DR: SYCL is CUDA of OpenCL, triSYCL being a non-conforming playground implementation built atop OpenMP, while ComputeCpp is the first (and only) conforming GPU-accelerated

Re: [CMake] Adding compile and build type tests to CMake/CTest

2017-09-13 Thread Nagy-Egri Máté Ferenc via CMake
Indeed, such a feature would come in handy to test libraries for correctly failing on erronous user input. What amazes me even more is that noone has stepped up yet to create CBench. A utility executable for measuring compilation times and capture output of some (micro)benchmark

Re: [CMake] Clang for Windows with CMake and Ninja (and Visual Studio)

2017-09-12 Thread Nagy-Egri Máté Ferenc via CMake
The link error is some error on my setup. The /nologo et al part still stands though. Can CMake invoke the Windows binary of Clang correctly? Feladó: Nagy-Egri Máté Ferenc via CMake Elküldve: 2017. szeptember 12., kedd 15:01 Címzett: Cmake Mailing List Tárgy: [CMake] Clang for Windows with CMake

[CMake] Clang for Windows with CMake and Ninja (and Visual Studio)

2017-09-12 Thread Nagy-Egri Máté Ferenc via CMake
Hi! I am trying to build using the Open Folder feature of VS (with CMake server mode integration) with the Windows binary release of Clang. However, when I try to build using clang++.exe, it argues about unknown compiler switches clang++.exe: error: no such file or directory: '/nologo' while

Re: [cmake-developers] C++ IDE

2017-08-22 Thread Nagy-Egri Máté Ferenc via cmake-developers
:37 Címzett: Nagy-Egri Máté Ferenc Másolatot kap: CMake Developers Tárgy: Re: [cmake-developers] C++ IDE > Visual Studio 2017 has the best C/C++ experience with CMake IMHO, Visual Studio's CMake integration is a joke in comparison to QtCreator and CLion. --- Jean-Michaël Celerier h

Re: [cmake-developers] C++ IDE

2017-08-18 Thread Nagy-Egri Máté Ferenc via cmake-developers
Impressed with VSCode?? If I saw this post anywhere else than the CMake mailing list, I’d understand, but VSCode with CMake is horrible. The fact that in 2017 I have to set include directories, compiler definitions and target paths manually to have proper IntelliSense (Code navigation and

Re: [CMake] CMake Server Mode and USE_FOLDERS

2017-07-04 Thread Nagy-Egri Máté Ferenc via CMake
I can only speak about VS, which currently neither with the VS nor the Ninja generator use the FOLDERS property to lay out the targets inside the Solution Explorer. Instead, it maintains the folder structure of the CMake project. This was an intentional design decision from their part (at least

Re: [cmake-developers] CMake PCH Prototype

2017-06-25 Thread Nagy-Egri Máté Ferenc via cmake-developers
I just wanted to note that big thumbs up for both the effort and the design. Eagerly awaiting the time I can use it in my projects. As soon as it lands, I’ll imbue the triSYCL CMake scripts to make use of it. Sidenote/question: Is it possible for multiple targets to share the same PCH? This

[CMake] CUDA sample using CMake 3.9

2017-06-07 Thread Nagy-Egri Máté Ferenc via CMake
Hi! Can anyone point to a minimalistic sample of how a CUDA application is built using the new CMake 3.9 support for CUDA compilation? I am mostly interested in promoting similar syntax of building SYCL applications that share a very similar compilation model, as far as ComputeCpp is

Re: [cmake-developers] Proposed Feature: automatic search prefixes forfind modules

2017-05-23 Thread Nagy-Egri Máté Ferenc via cmake-developers
I think it’s a good idea. Having PackageConfig.cmake files for all projects would be better, but unfortunately, many projects don’t support CMake to that extent (or to any extent to be precise). I still consume SFML like this, even though the project itself builds with CMake, so they could’ve

Re: [cmake-developers] Splitting CMakeLib

2017-05-23 Thread Nagy-Egri Máté Ferenc via cmake-developers
Hi Egor! This thread very much resembles my suggestion from two years ago, when I proposed there should be an intermediate representation of the CMake scripts so generators can be implemented against a stable IR as opposed to bare C++ constructs. (Google „CMake IR”) My main motive too was to

[CMake] Boost 2 & CMake news

2016-08-03 Thread Nagy-Egri Máté Ferenc via CMake
Does anyone know of the happening around Boost 2 and its possible adoption of CMake? I know Boost and CMake have a very long and very sad history, but I recall someone reporting on this list that he/she will attend a Boost 2 related conference and will again promote the benefits of CMake as

Re: [CMake] [Visual Studio] Universal Windows Platform projects

2016-08-02 Thread Nagy-Egri Máté Ferenc via CMake
I would also very much like to see a tutorial on this. There are just too darn many options to set for me to believe CMake could ever get the job done. Release notes for Publishing to the store, age rating for my app, can it correctly set source types to be DX resources, DX shaders, etc… there

Re: [CMake] Visual Studio + Ninja?

2016-03-07 Thread Nagy-Egri Máté Ferenc via CMake
Short version: no. Long version: Visual Studio is heavily built around MSBuild as the back-end of execution of various tasks. While theoretically it could be done that MSBuild only acts as a relay and calls into Ninja scripts, you would lose the entire feature set of Solution Explorer, which

Re: [CMake] compiler independent compiler flags

2016-02-17 Thread Nagy-Egri Máté Ferenc via CMake
Hi Jan, Unfortunately, I cannot help you in this regard, though I am surprised how little attention this question gained. I too feel that CMake could do better both in this regard. While ABI detection is very well done, BUILD_TYPE seems to be the only compiler agnostic option available. I do

Re: [CMake] CTest integration in Visual Studio TestExplorer

2016-02-04 Thread Nagy-Egri Máté Ferenc via CMake
Hi Michael, first of all, let me congratulate you on the integration. Great stuff and much apreciated. I gave your add-in a spin, however it fails to find my unit tests. I set the output directory globally in the top-level CMakeLists.txt file as set (CMAKE_RUNTIME_OUTPUT_DIRECTORY

Re: [CMake] Customizing output of ctest command

2016-01-21 Thread Nagy-Egri Máté Ferenc via CMake
I would also be very much interested how this could be done. There was a thread I started a few months ago on a similar topic. I wanted to see the execution times of various tests without the initialization part. If my tests could output in some form the useful part of their run times, it

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-20 Thread Nagy-Egri Máté Ferenc via CMake
Hi DJ, I had the same feeling when I started out with CMake. Tutorials are generally of low quality, and the price of the book is steep. I asked a while back if there would be a digital version of it, that could come cheaper due to the lack of paper and distribution hassle, but Kitware said

Re: [CMake] Benchmarking with CMake

2015-11-13 Thread Nagy-Egri Máté Ferenc via CMake
that is the least painful. I am very reluctant on obtaining dependencies. CMake is such a good tool, it seems strange to me that no direct benchmarking support has been added yet. Any ideas? Feladó: Nagy-Egri Máté Ferenc via CMake Elküldve: 2015. november 9., hétfő 23:27 Címzett: CMake felhasználók

[CMake] Benchmarking with CMake

2015-11-09 Thread Nagy-Egri Máté Ferenc via CMake
Hi! Can anyone tell me if CMake (or CTest) can be customized in a way to produce decent benchmark output? An .xlsx perhaps, or something GnuPlot friendly? I have not found any examples of CTest being (ab)used in this way. Is my feeling correct, that this should be something like CBench?

[CMake] packageConfig mishap

2015-09-01 Thread Nagy-Egri Máté Ferenc via CMake
Hi! I'm trying to use the package config file of clFFT (big congrats on providing one), but it seems I'm doing something wrong. Without using FindclFFT.cmake, CMake fails to find the config files, both on Windows and Ubuntu. On Windows I have a registry entry such as: PS C:\Users\Matty>

Re: [CMake] [cmake-developers] CMake IR

2015-07-31 Thread Nagy-Egri Máté Ferenc via CMake
@all: Thank you folks for the input and the active discussion (not shifting into flame and troll wars). @DaveDan: I agree that JSON looks better. I have no fetish about XML and I could be convinced on just about anything in the choice of the IR. The only important point is that it

[cmake-developers] CMake IR

2015-07-30 Thread Nagy-Egri Máté Ferenc via cmake-developers
Dear CMake devs/users, I wanted to ask your opinion on something that has been troubling me since… well, ever since I started using CMake. I have not found a single person alive who would have said: “The script language of CMake is nice, intuitive and productive. Authoring scripts is easy,

Re: [CMake] CMake IR

2015-07-30 Thread Nagy-Egri Máté Ferenc via CMake
@Domagoj: “In addition to it feeling like working with (or fighting against) an ugly crossover between a C preprocessor and a shell script from 1979, an increasingly big source of frustration is its rigidness and limitation of 'only one toolset/compiler per project'.”  I couldn’t have put

[CMake] CMake IR

2015-07-29 Thread Nagy-Egri Máté Ferenc via CMake
Dear CMake devs/users, I wanted to ask your opinion on something that has been troubling me since… well, ever since I started using CMake. I have not found a single person alive who would have said: “The script language of CMake is nice, intuitive and productive. Authoring scripts is easy,

Re: [CMake] CMake IR

2015-07-29 Thread Nagy-Egri Máté Ferenc via CMake
cooked up one of his own. If CMake had a PS front-end, maybe a whole bunch of people pick it up who don’t even know it exists because they live outside the cross-platform world. Feladó: Raymond Wan Elküldve: ‎szerda‎, ‎2015‎. ‎július‎ ‎29‎. ‎11‎:‎01 Címzett: Nagy-Egri Máté Ferenc Másolat: cmake

Re: [CMake] CMake IR

2015-07-29 Thread Nagy-Egri Máté Ferenc via CMake
of a CMakelists.txt XML front-end as a proof-of-concept That way CMakelists.txt files could be used in a completeley alternate toolchain. Feladó: Nicolas Desprès Elküldve: ‎szerda‎, ‎2015‎. ‎július‎ ‎29‎. ‎13‎:‎43 Címzett: Nagy-Egri Máté Ferenc Másolat: cmake@cmake.org Hi Máté, One

Re: [CMake] Rerun CMake partially in Visual Studio

2015-07-24 Thread Nagy-Egri Máté Ferenc via CMake
May I ask what you mean by ‘editors’? Do you mean GUI editors to managing CMake projects? Máté Feladó: Bill Hoffman Elküldve: ‎csütörtök‎, ‎2015‎. ‎július‎ ‎23‎. ‎16‎:‎38 Címzett: cmake@cmake.org On 7/23/2015 8:45 AM, David Cole via CMake wrote: Nope. CMake has no way of knowing

Re: [CMake] output of add_custom_command as target in Makefile

2015-06-12 Thread Nagy-Egri Máté Ferenc via CMake
You’re doing it all wrong. You do not name source files as make targets, but the target name (or project name, I have no idea, because it rarely makes sense to name them differently). Try simply “foo” or “custom-command-target”. You would never say “make foo.cpp”, not even in an ordinary GNU

Re: [CMake] Visual Studio Project System Extensibilty

2015-06-09 Thread Nagy-Egri Máté Ferenc via CMake
I’m curious too, but I think that it would be easier to use a fixed format for project representation, such as the suggested CPS, and have it generate a CMake file if an update is needed. CMake generally lacks any kind of structure, users are generally free to roam about the script language.

Re: [CMake] FindModules.cmake quality + Kitware proposition

2015-05-15 Thread Nagy-Egri Máté Ferenc via CMake
:01, Nagy-Egri Máté Ferenc via CMake wrote: This is more of a remark, or something to get the ball rolling, rather than anything else. I recently came across various FindModule.cmake files (FindOpenCL, FindOpenGL, FindGLEW, FindGLM, FindSFML) as a sideeffect of a project I am developing

[CMake] FindModules.cmake quality + Kitware proposition

2015-05-14 Thread Nagy-Egri Máté Ferenc via CMake
This is more of a remark, or something to get the ball rolling, rather than anything else. I recently came across various FindModule.cmake files (FindOpenCL, FindOpenGL, FindGLEW, FindGLM, FindSFML) as a sideeffect of a project I am developing, but have had my share with quite a few others

Re: [CMake] C++Now / BoostCon / Boost 2.0

2015-04-30 Thread Nagy-Egri Máté Ferenc via CMake
I wish you good luck on promoting CMake for Boost. Generally, I find the Boost libraries to be of good quality. However, the reason I fear depending on Boost in any of my projects is the aggravation to get various versions to build. Applications that depend on Boost and are shipped as a

Re: [CMake] Invoke-Build support

2014-12-28 Thread Nagy-Egri Máté Ferenc via CMake
I wasn’t hoping for much enthusiasm, but at least some feedback would be welcome. Am I making any sense here? Would such work be completely useless? I figured a crossplatform make language could make use of a script-friendly back-end to facilitate automated building for multiple platforms.

[CMake] Invoke-Build support

2014-12-13 Thread Nagy-Egri Máté Ferenc via CMake
Hi! Being a CMake user for some time, I have come across the issue of parallel builds still being problem with no trivial solution. the NMake back-end does not have batch support, which is said to be non-trivial, while the ninja generator did tend to fail some builds for me too, when I gave

[CMake] CMake 3.0 and Visual Studio 2013 peculiarities

2014-08-05 Thread Nagy-Egri Máté Ferenc
Hi! I have been using CMake for quite some time now, but there are a few things I don’t understand or I just don’t know how to accomplish. 1) Some time ago I posted about Unicode paths inside generated project files do not work properly. The issue has been fixed. Though this issue is only

Re: [CMake] cmake_install.cmake

2014-07-27 Thread Nagy-Egri Máté Ferenc
Being the administrator doesn’t mean, that CMake has admin privilages. You must either run CMake as admin, or launch it from a shell that has admin rights. Feladó: 瑟荻 Elküldve: ‎vasárnap‎, ‎2014‎. ‎július‎ ‎27‎. ‎3‎:‎58 Címzett: cmake@cmake.org Hello,every one. I am trying to use

Re: [CMake] opencl and visual studio

2014-07-16 Thread Nagy-Egri Máté Ferenc
] On Behalf Of Nagy-Egri Máté Ferenc Sent: Monday, July 14, 2014 4:11 PM To: Boxer, Aaron; cmake@cmake.org Subject: Re: [CMake] opencl and visual studio There are two ways to solve your problem I think. Either create a build rule that copies the .cl files over to your build directory on every

Re: [CMake] opencl and visual studio

2014-07-14 Thread Nagy-Egri Máté Ferenc
There are two ways to solve your problem I think. Either create a build rule that copies the .cl files over to your build directory on every build. Use a config file that creates a #define with the absolute/relative path to the .cl files. As for the OpenCL integration, I did not know that

[CMake] Command line arguments to tests and VS projects

2014-03-28 Thread Nagy-Egri Máté Ferenc
Hi! I am having trouble passing command line arguments to unit tests using the add_test() command. It seems that the arguments are always cut off, no matter what I do. I have tried add_test( NAME TestSTLArithmetics COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestSTLArithmetics “-L 31”)

Re: [CMake] CMake Tools for Visual Studio 1.1 Released!

2014-03-03 Thread Nagy-Egri Máté Ferenc
? David Golub From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Nagy-Egri Máté Ferenc Sent: Wednesday, February 26, 2014 4:07 AM To: cmake@cmake.org Subject: Re: [CMake] CMake Tools for Visual Studio 1.1 Released! Excellent job. I have littlie knowledge of how syntax

Re: [CMake] CMake Tools for Visual Studio 1.1 Released!

2014-02-26 Thread Nagy-Egri Máté Ferenc
Excellent job. I have littlie knowledge of how syntax highlight additions can be implemented in VS, but what was the design idea behind using so few colors? Other than this, it is very useful and will be installed on all my machines.  Cheers, Máté Feladó: David Golub Elküldve: ‎kedd‎,

Re: [CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-14 Thread Nagy-Egri Máté Ferenc
. ‎17‎:‎36 Címzett: cmake@cmake.org On Wednesday, November 13, 2013 03:12:13 PM Nagy-Egri Máté Ferenc wrote: I have changed the encoding as you suggested and the project compiled fine: 1-- Build started: Project: cmTryCompileExec747919577, Configuration: Debug Win32 -- 1

Re: [CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-13 Thread Nagy-Egri Máté Ferenc
: clin...@elemtech.com Elküldve: ‎szombat‎, ‎2013‎. ‎november‎ ‎9‎. ‎7‎:‎14 Címzett: cmake@cmake.org - Original Message - On 11/8/2013 4:48 AM, Nagy-Egri Máté Ferenc wrote: Hi! I have the following issue, which I do not know whether it is an issue of CMake or Visual Studio. When

Re: [CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-13 Thread Nagy-Egri Máté Ferenc
so we can include a fix. Clint Feladó: clin...@elemtech.com Elküldve: ‎szombat‎, ‎2013‎. ‎november‎ ‎9‎. ‎7‎:‎14 Címzett: cmake@cmake.org - Original Message - On 11/8/2013 4:48 AM, Nagy-Egri Máté Ferenc wrote: Hi! I have the following issue, which I do not know

[CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-08 Thread Nagy-Egri Máté Ferenc
Hi! I have the following issue, which I do not know whether it is an issue of CMake or Visual Studio. When I try to generate a Visual Studio project under a path that contains unicode characters, VS fails to compile the simple test file and thus CMake terminates project generation. Visual