[CMake] Android NDK, clang, and ODR violations

2017-07-26 Thread Christopher Broadbent
I'm in the progress of updating some code to clang in the NDK (since they are not longer supporting GCC), and getting some ODR errors which seem to be caused by a bad link configuration. The generated executables / shared libraries seem to link to both the selected standard library, and libstd

Re: [CMake] CDash upgrade

2017-07-26 Thread Mathias Bavay
Hi! I did click on "Upgrade CDash", but that did not solve the problem. After some investigations, I realized that the table cdash.dynamicanalysissummary was missing (so the migration script did not create it or failed to do so for any other reason). Once I created it, everything worked. Ma

Re: [CMake] How to do platform specific setup?

2017-07-26 Thread Robert Dailey
According to Brad King, toolchain files are not intended for what I'm asking about. I recall someone mentioning some built-in modules in CMake that are responsible for toolchain and platform setup, that can be overridden somehow. This is different from toolchain files AFAIK. I apologize for being v

Re: [CMake] How to do platform specific setup?

2017-07-26 Thread Mario Werner
Hi Robert, I usually do all my platform and compiler specific customization in a toolchain file [1]. Such a toolchain file is more or less standard CMake script which get executed before the root CMakeLists.txt from the project is processed. When invoking cmake for the first time you simply specif