Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Andrew Maclean
Thanks, Bill. I remember it now! Andrew Maclean On 11 Sep 2018 09:54, "Bill Lorensen" wrote: Pcmaker, Ken Martin wrote it. On Mon, Sep 10, 2018, 3:26 PM Andrew Maclean wrote: > Hi Bill, >In the pre-Cmake days I remember building VTK on Windows with a program > that configured VTK for

Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Bill Lorensen
Pcmaker, Ken Martin wrote it. On Mon, Sep 10, 2018, 3:26 PM Andrew Maclean wrote: > Hi Bill, >In the pre-Cmake days I remember building VTK on Windows with a program > that configured VTK for the build. Do you remember what it was called? This > was back around 2000! > > Regards >Andrew

Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Andrew Maclean
Hi Bill, In the pre-Cmake days I remember building VTK on Windows with a program that configured VTK for the build. Do you remember what it was called? This was back around 2000! Regards Andrew > -- Forwarded message -- > From: Bill Hoffman > To: "Alan W. Irwin" > Cc: CM

Re: [CMake] Specifying path of nvcc for CUDA projects using project command

2018-09-10 Thread Robert Maynard
You can specify the location by setting the CUDACXX environment variable ( https://cmake.org/cmake/help/v3.12/envvar/CUDACXX.html ). On Mon, Sep 10, 2018 at 2:40 PM Jeffrey Perez via CMake wrote: > > Hello, > > > > I have a project which uses the CMake 3.10.1 and CUDA nvcc compiler and I am > usi

[CMake] Add compile flags or defines without adding to ASM_ settings

2018-09-10 Thread Richard A. Smith
I'm having a tough time figuring out how to get some compile flags added to one of my targets without it breaking the ASM source file compile. I currently have a build with a C_CLAGS setting that looks like below: set(CMAKE_C_FLAGS "${GCC_PROCESSOR_FLAGS} ${GCC_OPTIMIZATION_FLAGS} ${G

[CMake] Specifying path of nvcc for CUDA projects using project command

2018-09-10 Thread Jeffrey Perez via CMake
Hello, I have a project which uses the CMake 3.10.1 and CUDA nvcc compiler and I am using the new project(projectName LANGUAGES CUDA) instead of find_package(CUDA) to do so. I want CMake to use a different (explicitly defined) path for nvcc compiler than the installed version. Before calling pr

Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Bill Hoffman
On 9/2/2018 6:54 PM, Alan W. Irwin wrote: And thanks to you for coming up with such a useful tool in the first place! Can you recommend a site that gives a (fairly) short history of CMake that at least lists the most fundamental changes made to this software since its inception?  For example

Re: [CMake] overriding -03 -DNDEBUG Release flags

2018-09-10 Thread Eric Noulard
Le lun. 10 sept. 2018 à 14:34, Stéphane Ancelot a écrit : > Hi, > > In one project I need to compile with -O2 option , how to set it and > remove -O3 -DNDEBUG flags for this project ? > May be you can create a new Build Type with appropriate flags: https://gitlab.kitware.com/cmake/community/wiki

[CMake] overriding -03 -DNDEBUG Release flags

2018-09-10 Thread Stéphane Ancelot
Hi, In one project I need to compile with -O2 option , how to set it and remove -O3 -DNDEBUG flags for this project ? Regards, Steph -- 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 services