I've been using cmake for some time but still I'm confused about the
syntax. Following are 2 examples from me:
- http://www.cmake.org/pipermail/cmake/2013-September/055924.html
- http://www.cmake.org/pipermail/cmake/2013-October/056036.html
Someone ever told me cmake 3.0 may do some language cl
I am trying to get a library to build both static and dynamic libraries
to build in a project. It works except for the Visual C++ case, where
there is a name collision. I have tried several things including the
suggestion in the FAQ to add a PREFIX to one of the libraries. Here is
a section
On 03.04.2014 23:07, Conan wrote:
I have my env var FC set to /usr/bin/gfortran. This is verified by
the line MESSAGE("FC = " $ENV{FC}). However
GET_FILENAME_COMPONENT(Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER}
NAME) sets Fortran_COMPILER_NAME to f95. I thought by setting the FC
env
I am trying to use CMake to build a fortran test app. My CMakeLists.txt
is as follows:
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
SET (TARGET_NAME test)
PROJECT (${TARGET_NAME} Fortran)
MESSAGE("FC = " $ENV{FC})
GET_FILENAME_COMPONENT(Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER}
NAME)
MESSAGE("F