[CMake] Toolchain file for TI in CMake 3.10: how do I override compiler options and specify tools?

2019-02-22 Thread Jason Heeris
I am trying to use CMake (3.10) to build an ANSI C project that may be compiled on PC with eg. GCC, but also needs to compile with Texas Instruments' compilers for their microprocessors. So I have about a million questions. According to[1] it seems like the way to do this is via a toolchain file.

Re: [CMake] Ensuring an external project is built and installed before trying to call "find_package" on it

2019-02-22 Thread Craig Scott
On Sat, Feb 23, 2019 at 4:14 PM Timothy Wrona wrote: > I am working on a CMake project that depends on a couple other projects I > have previously written. I would like to include those other projects using > "ExternalProject_Add", but I am having some issues. > > The basic layout of the project

[CMake] Ensuring an external project is built and installed before trying to call "find_package" on it

2019-02-22 Thread Timothy Wrona
I am working on a CMake project that depends on a couple other projects I have previously written. I would like to include those other projects using "ExternalProject_Add", but I am having some issues. The basic layout of the project is this: cmake_minimum_required(VERSION 3.14.0) project(Projec

Re: [CMake] Automatically updating Doxygen documentation and making it readily available to users with CMake

2019-02-22 Thread Marc Herbert
Le jeu. 21 févr. 2019 à 06:19, Timothy Wrona a écrit : > > Either way having it as an "index.html" file somewhere on the hard-disk is > not very intuitive. It would make much more sense for it to be on a web > server where you can access it with a sensible URL. > Unless it's linked from some fro

[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]" "" CMAKE_CX