[CMake] Understanding default Visual Studio compiler flags

2017-12-05 Thread Neal Kruis
r flags that isn't defined by CMAKE_CXX_FLAGS or CMAKE_CXX_FLAGS_RELEASE (e.g., /Zc:wchar_t)? Can Cmake users override the values from the default flag table <https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmVS141CLFlagTable.h> ? Regards, Neal Kruis -- Powered by www.kitwar

[CMake] CMake binary output directory for Visual Studio project with generated MinGW fortran projects

2014-10-29 Thread Neal Kruis
CMakers, I'm wondering if any of you can help me with a question that I've posted to Stack Overflow: http://stackoverflow.com/questions/26637673/how-to-set-the-cmake-binary-output-directory-for-visual-studio-project-with-gene Essentially, I'm finding that the cmake_add_fortran_subdirectory funct

[CMake] Using parallel jobs with CMake generated makefile for Fortran program

2012-10-10 Thread Neal Kruis
Hey, all, The CMake generated Makefile is much slower than my handwritten Makefile. A quick test shows build times for both CMake and handwritten makefiles with and without the -j flag: CMake: "make -j all" = 7min CMake: "make all" = 7min Handwritten: "make -j all" = 2min Handwritten: "make all"