summaryrefslogtreecommitdiffstats
path: root/Modules/FortranCInterface
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-09-14 17:49:40 (GMT)
committerBrad King <brad.king@kitware.com>2011-09-14 17:49:40 (GMT)
commita7ce26d837b1c6465c995519ee91e3e0d9190826 (patch)
tree85ff53293a37358441ab1f43fbbf1e11444de35a /Modules/FortranCInterface
parent539a822c8c541143ab954d8d355cb9643235d231 (diff)
downloadCMake-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/FortranCInterface')
-rw-r--r--Modules/FortranCInterface/IntelVSImplicitPath/CMakeLists.txt11
-rw-r--r--Modules/FortranCInterface/IntelVSImplicitPath/extract.cmake12
-rw-r--r--Modules/FortranCInterface/IntelVSImplicitPath/hello.f0
3 files changed, 0 insertions, 23 deletions
diff --git a/Modules/FortranCInterface/IntelVSImplicitPath/CMakeLists.txt b/Modules/FortranCInterface/IntelVSImplicitPath/CMakeLists.txt
deleted file mode 100644
index e2a4b3f..0000000
--- a/Modules/FortranCInterface/IntelVSImplicitPath/CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-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)
diff --git a/Modules/FortranCInterface/IntelVSImplicitPath/extract.cmake b/Modules/FortranCInterface/IntelVSImplicitPath/extract.cmake
deleted file mode 100644
index 055247c..0000000
--- a/Modules/FortranCInterface/IntelVSImplicitPath/extract.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-file(STRINGS env.txt LIB REGEX "^LIB=.*$")
-string(REPLACE "LIB=" "" LIB "${LIB}" )
-# change LIB from a string to a ; separated list of paths
-set(LIB ${LIB})
-# look at each path and try to find ifconsol.lib
-foreach( dir ${LIB})
- file(TO_CMAKE_PATH "${dir}" dir)
- if(EXISTS "${dir}/ifconsol.lib")
- file(WRITE implict_link.txt ${dir})
- return()
- endif()
-endforeach()
diff --git a/Modules/FortranCInterface/IntelVSImplicitPath/hello.f b/Modules/FortranCInterface/IntelVSImplicitPath/hello.f
deleted file mode 100644
index e69de29..0000000
--- a/Modules/FortranCInterface/IntelVSImplicitPath/hello.f
+++ /dev/null