[CMake] Best way to combine generated static libraries into a single static library

2018-09-20 Thread Ke Gao
Hi, I have a project which includes many sub-projects. Each sub-project generates a static library. In the main project, I want to combine the generated objs, generated static libraries from other sub-projects, and some other third party static libraries together into a single static library. Is t

[CMake] How to generate Visual Studio project targeting .NET Standard

2018-09-20 Thread Felix Krause
Hi folks, I am trying to generate a Visual Studio C# project with CMake. This is what I have so far: |cmake_minimum_required(VERSION 3.10) project(myProject VERSION 0.1.0LANGUAGES CSharp) add_library(myLib SHARED src/file1.cs src/file2.cs src/file3.cs) set_property(TARGET myLib PROP

Re: [CMake] Why does CMake 3.9.0 open VS2017 when targeting 2013 after installing 2017... sigh.

2018-09-20 Thread Robert Maynard
In news CUDA 10 release notes include the statement: - Starting with CUDA 10.0, nvcc supports all versions of Visual Studio 2017 (past and upcoming updates) So the problems of matching VS versions and CUDA versions should be behind us. On Sat, Aug 18, 2018 at 11:56 AM Brian Davis wrote: > > Wi