[CMake] Call for Participation - 5th International Conference on Cyber Security, Cyber Welfare and Digital Forensic

2016-11-24 Thread Jackie Blanco
* Call for Participation CyberSec2017: The Fifth International Conference on Cyber Security, Cyber Welfare and Digital Forensic 22-24 April 2017, St. Mary's University, Addis Ababa, Ethiopia https://goo.gl/mbDr7F ***

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Craig Scott
You might also need to set CMAKE_CXX_EXTENSIONS to OFF (it's ON by default). This controls which c++ library is linked for some compilers, with clang and gcc being two cases where it does this. You may also find this article <

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Roman Wüger
It is working now, after I added -lc++ to CMAKE_REQUIRED_LIBRARIES before the check_cxx_source_compiles() call. Shouldn't this be done by CMAKE_CXX_STANDARD? Best Regards Roman > Am 24.11.2016 um 19:08 schrieb Roman Wüger : > > Hello, > > If I use a small piece of code which uses , then it f

[CMake] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Roman Wüger
Hello, If I use a small piece of code which uses , then it fails with check_cxx_source_compiles. If I copy the piece of code into a file and run the following on the command line, then it works: clang++ main.cpp -std=c++14 -stdlib=libc++ Here is the piece of code: #include #includ

Re: [CMake] [EXTERNAL]: Errors with cmake for VS2105 (update 3) + clang + nmake

2016-11-24 Thread Peter Jansen
Hi Parag, Thanks for your feedback. The instructions you are referring to are for this cmake command : cmake -G"Visual Studio 14 2015" -T"LLVM-vs2014" .. But in my case I'd like (1) to use the MS VS 2015 "Nmake Makefiles" as -G option, and (2) the MS VS 2015 (update 3) included "clang" (whi