diff options
author | Brad King <brad.king@kitware.com> | 2011-12-15 10:48:33 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-02-09 08:34:06 -0500 |
commit | d6b031283a686eaeff643a13f8368c7828850229 (patch) | |
tree | 4e94e5909bb034a92a13a69dabc8ed654b4cd53e /Modules/CMakeAddFortranSubdirectory.cmake | |
parent | e4ae038f5d9f0fa14d63f9eaea71e0466dc86619 (diff) | |
download | cmake-d6b031283a686eaeff643a13f8368c7828850229.tar.gz |
CMakeAddFortranSubdirectory: Fix documentation format and typos
Indent the function signature correctly. Fix some typos. Fix the
copyright year.
Diffstat (limited to 'Modules/CMakeAddFortranSubdirectory.cmake')
-rw-r--r-- | Modules/CMakeAddFortranSubdirectory.cmake | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/Modules/CMakeAddFortranSubdirectory.cmake b/Modules/CMakeAddFortranSubdirectory.cmake index e92dcb47fb..10935a804d 100644 --- a/Modules/CMakeAddFortranSubdirectory.cmake +++ b/Modules/CMakeAddFortranSubdirectory.cmake @@ -7,27 +7,25 @@ # an external project to build with the MinGW tools. It will also # create imported targets for the libraries created. This will only # work if the fortran code is built into a dll, so BUILD_SHARED_LIBS -# is turned on in the project. In addition the GNUtoMS option is set -# to on, so that the MS .lib files are created. +# is turned on in the project. In addition the CMAKE_GNUtoMS option +# is set to on, so that the MS .lib files are created. # Usage is as follows: -# cmake_add_fortran_subdirectory( -# <subdir> # name of subdirectory -# PROJECT <project_name> # project name in sbudir toplevel CMakeLists.txt -# ARCHIVE_DIR <dir> # dir where project places .lib files -# RUNTIME_DIR <dir> # dir where project places .dll files -# LIBRARIES lib2 lib2 # names of libraries created and exported -# LINK_LIBRARIES # link interface libraries for LIBRARIES -# LINK_LIBS <lib1> <dep1> <dep2> ... <depN> -# LINK_LIBS <lib2> <dep1> <dep2> ... <depN> -# CMAKE_COMMAND_LINE # extra command line flags to pass to cmake +# cmake_add_fortran_subdirectory( +# <subdir> # name of subdirectory +# PROJECT <project_name> # project name in subdir top CMakeLists.txt +# ARCHIVE_DIR <dir> # dir where project places .lib files +# RUNTIME_DIR <dir> # dir where project places .dll files +# LIBRARIES <lib>... # names of library targets to import +# LINK_LIBRARIES # link interface libraries for LIBRARIES +# [LINK_LIBS <lib> <dep>...]... +# CMAKE_COMMAND_LINE ... # extra command line flags to pass to cmake # ) # Relative paths in ARCHIVE_DIR and RUNTIME_DIR are interpreted with respect # to the build directory corresponding to the source directory in which the # function is invoked. -# #============================================================================= -# Copyright 2002-2009 Kitware, Inc. +# Copyright 2011 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. |