Re: [CMake] CUDA language support with host compiler flags

2019-02-28 Thread Máté Ferenc Nagy-Egri via CMake
{PROJECT_NAME} PRIVATE $<$:${cxx_flags}>) On Fri, Feb 22, 2019 at 4:11 AM Máté Ferenc Nagy-Egri via CMake wrote: > > Hi All! > > I am trying to compile CUDA code with controlling both host and device > compiler flags. > > Currently my CMakeLists.txt looks like: > > ``

[CMake] CUDA language support with host compiler flags

2019-02-22 Thread Máté Ferenc Nagy-Egri via CMake
Hi All! I am trying to compile CUDA code with controlling both host and device compiler flags. Currently my CMakeLists.txt looks like: ``` cmake_minimum_required(VERSION 3.8) # CUDA language support project(CUDA_test LANGUAGES CXX CUDA) if (MSVC)   string(REGEX REPLACE "/W[0-9]" ""

Re: [CMake] [cmake-developers] [MSVC] Setting warning level on target feels like long-time bug

2019-02-21 Thread Máté Ferenc Nagy-Egri via CMake
I was just about to write a mail with similar content than this one, so allow me to add my 5 cents. Fear of reyling on defaults in case Microsoft decides to change them? 1) Defaults don't change often. BTW, don't we rely on defaults for GCC and Clang anyway?2) Defaults change to benefit users.

[CMake] CUDA language support with host compiler flags

2019-02-21 Thread Máté Ferenc Nagy-Egri via CMake
Hi All! I am trying to compile CUDA code with controlling both host and device compiler flags. Currently my CMakeLists.txt looks like: ``` cmake_minimum_required(VERSION 3.8) # CUDA language support project(CUDA_test LANGUAGES CXX CUDA) if (MSVC)   string(REGEX REPLACE "/W[0-9]" ""

[CMake] Toolchain files and vcpkg

2017-11-22 Thread Máté Ferenc Nagy-Egri via CMake
Hi! I’m trying to use packages (HPX specifically) installed with vcpkg, and according to its wiki, it is easiest to do so via the toolchain file provided by vcpkg. Here’s is what I’m doing: cd build cmake -G „Ninja” -D CMAKE_BUILD_TYPE=Release -D

Re: [cmake-developers] custom_command and compile_commands.json

2017-11-22 Thread Máté Ferenc Nagy-Egri via cmake-developers
pers@cmake.org Tárgy: Re: [cmake-developers] custom_command and compile_commands.json On 11/21/2017 05:31 AM, Máté Ferenc Nagy-Egri via cmake-developers wrote: > can we export custom commands into compile_commands.json? The purpose of that file is to make compile commands available to tools like cla

Re: [cmake-developers] FW: [CMake] custom_command andcompile_commands.json

2017-11-21 Thread Máté Ferenc Nagy-Egri via cmake-developers
Allow me to bump this message. The question is very simple; can we export custom commands into compile_commands.json? Feladó: Máté Ferenc Nagy-Egri via cmake-developers Elküldve: 2017. november 14., kedd 10:25 Címzett: CMake Developers Tárgy: [cmake-developers] FW: [CMake] custom_command

Re: [cmake-developers] CMake PCH Prototype

2017-09-02 Thread Máté Ferenc Nagy-Egri via cmake-developers
Do I understand correctly, that this work is not going to be mainlined? I was very much hoping it would. Feladó: Nagy-Egri Máté Ferenc via cmake-developers Elküldve: 2017. június 25., vasárnap 18:19 Címzett: CMake Developers Tárgy: Re: [cmake-developers] CMake PCH Prototype I just wanted to

Re: [CMake] VS Code generator?

2017-03-24 Thread Máté Ferenc Nagy-Egri via CMake
I agree and not at the same time. CMake Tools is an awesome extension, but C++ development in VS Code still feel second rate due to the fact, that the C++ language services extension (most notably the Microsoft extension) does not know about CMake Tools and one manually has to populate

[CMake] add_custom_target and add_custom_command

2017-03-18 Thread Máté Ferenc Nagy-Egri via CMake
Hi! Apologies for the noobish question, but even a seasoned CMake user can get lost from time to time. I want to demonstrate the feasability of automating an article creation proces with CMake. Ultimately I want to issue commands as such on the CLI: make app make data make plot make article

Re: [CMake] Bash on ubuntu on windows as target

2016-08-11 Thread Máté Ferenc Nagy-Egri via CMake
+1 for the initiative. Wouldn’t it make more sense however to make it a CMAKE_SYSTEM_NAME? If I remember correctly that’s how MinGW works, and this should be something very similar. Feladó: Tiago Macarios-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] CTest integration in Visual Studio TestExplorer

2016-02-04 Thread Máté Ferenc Nagy-Egri via CMake
Indeed, both RUN_TESTS and the CTest files exist, I have even found a file created by the add-in which seems to hold correct target names. Recompiling will take some time, but will try to help with it. - Eredeti üzenet - Feladó: "Stuermer, Michael SP/HZA-ZSEP"