[CMake] adding file extensions for languages

2015-07-06 Thread Justin Cook
Hello, I was trying to add some file extensions for the Fortran language (.ftn), but I was not able to get past some errors even after trying a few different options including appending to CMAKE_Fortran_SOURCE_FILE_EXTENSIONS in a toolchain file. Ideas on how to get around the following error(s

[CMake] alternative method for setting CMAKE_TOOLCHAIN_FILE?

2015-06-18 Thread Justin Cook
Hello, Is there an alternative method for setting the CMAKE_TOOLCHAIN_FILE variable other than, for example: cmake -D CMAKE_TOOLCHAIN_FILE=... Perhaps an environment variable or something similar? Thanks, Justin -- Powered by www.kitware.com Please keep messages on-topic and check the CMa

[CMake] cmake option system-information interaction with other definition options

2015-02-09 Thread Justin Cook
Hello, I'm finding the cmake --system-information command option to be valuable in testing different things. However it appears that it does not appear to work with -D. For example: cmake -DCMAKE_C_COMPILER=/usr/bin/gcc --system-information system.txt The information in 'system.txt' will not c