Re: [CMake] In add_subdirectory( binary_dir), binary_dir/ is just a decoy when there's no sub-target

2019-06-13 Thread Marc Herbert
Ping? I'd like to file a bug but I don't know what is the intended behavior: 1. Should binary_dir work even when no target? 2. Should CMake warn/error that binary_dir is not supported unless targets are used? Marc Le mar. 4 juin 2019 à 12:05, Marc Herbert a écrit : > tl;dr: should there be at

Re: [CMake] Question about getting git branch name.

2019-06-13 Thread Marc Herbert
Try: git describe --all or git describe --all --dirty --long git help describe PS: a git branch is effectively a *moving* tag so for a BUILD_VERSION it seems wrong to rely on branches (--all) instead of tags. I think you mean BUILD_BRANCH instead of BUILD_VERSION. Le sam. 8 juin 2019 à 15:25, Ste

[CMake] Cross-Compiling with CMake and QtCreator

2019-06-13 Thread Thorsten Hofer-Schmitz
Hi, I want to compile a program for Android. I work on Windows 10. Because I recently reinstalled my OS everything isn't older than two month. I Installed everything using Qt's, Android Studio's (and for Windows Visual Studio's) installers/SDK Manager, to prevent mistakes I might have made. I