diff options
author | Brad King <brad.king@kitware.com> | 2011-09-14 17:49:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-09-14 17:49:40 (GMT) |
commit | a7ce26d837b1c6465c995519ee91e3e0d9190826 (patch) | |
tree | 85ff53293a37358441ab1f43fbbf1e11444de35a /Modules/IntelVSImplicitPath/CMakeLists.txt | |
parent | 539a822c8c541143ab954d8d355cb9643235d231 (diff) | |
download | CMake-a7ce26d837b1c6465c995519ee91e3e0d9190826.zip CMake-a7ce26d837b1c6465c995519ee91e3e0d9190826.tar.gz CMake-a7ce26d837b1c6465c995519ee91e3e0d9190826.tar.bz2 |
Move IntelVSImplicitPath project to better location
This project is not part of the FortranCInterface module. Make it a
sibling instead of a child directory.
Diffstat (limited to 'Modules/IntelVSImplicitPath/CMakeLists.txt')
-rw-r--r-- | Modules/IntelVSImplicitPath/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/IntelVSImplicitPath/CMakeLists.txt b/Modules/IntelVSImplicitPath/CMakeLists.txt new file mode 100644 index 0000000..e2a4b3f --- /dev/null +++ b/Modules/IntelVSImplicitPath/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required (VERSION 2.8) +project(IntelFortranImplicit Fortran) +add_custom_command(OUTPUT ${IntelFortranImplicit_BINARY_DIR}/env.txt + COMMAND set > ${IntelFortranImplicit_BINARY_DIR}/env.txt) +add_library(FortranLib hello.f + ${IntelFortranImplicit_BINARY_DIR}/env.txt) +add_custom_target(ExtractLibPath ALL + COMMAND ${CMAKE_COMMAND} -P ${IntelFortranImplicit_SOURCE_DIR}/extract.cmake + WORKING_DIRECTORY ${IntelFortranImplicit_BINARY_DIR} +) +add_dependencies(ExtractLibPath FortranLib) |