diff options
Diffstat (limited to 'languages/fortran')
-rw-r--r-- | languages/fortran/CMakeLists.txt | 46 | ||||
-rw-r--r-- | languages/fortran/app_templates/CMakeLists.txt | 16 | ||||
-rw-r--r-- | languages/fortran/app_templates/fortranhello/CMakeLists.txt | 27 | ||||
-rw-r--r-- | languages/fortran/compiler/CMakeLists.txt | 12 | ||||
-rw-r--r-- | languages/fortran/compiler/pgioptions/CMakeLists.txt | 39 | ||||
-rw-r--r-- | languages/fortran/doc/CMakeLists.txt | 14 | ||||
-rw-r--r-- | languages/fortran/file_templates/CMakeLists.txt | 14 |
7 files changed, 168 insertions, 0 deletions
diff --git a/languages/fortran/CMakeLists.txt b/languages/fortran/CMakeLists.txt new file mode 100644 index 00000000..14705d83 --- /dev/null +++ b/languages/fortran/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( file_templates ) +add_subdirectory( app_templates ) +add_subdirectory( compiler ) +add_subdirectory( doc ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevfortransupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevfortransupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfortransupport ) + + +##### libkdevfortransupport (module) ############ + +tde_add_kpart( libkdevfortransupport AUTOMOC + SOURCES + fortransupportpart.cpp fixedformparser.cpp + ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/fortran/app_templates/CMakeLists.txt b/languages/fortran/app_templates/CMakeLists.txt new file mode 100644 index 00000000..d34e1f05 --- /dev/null +++ b/languages/fortran/app_templates/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( fortranhello ) + +install( FILES + fortran.appwizard + DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE ) diff --git a/languages/fortran/app_templates/fortranhello/CMakeLists.txt b/languages/fortran/app_templates/fortranhello/CMakeLists.txt new file mode 100644 index 00000000..f0b40cf6 --- /dev/null +++ b/languages/fortran/app_templates/fortranhello/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( fortranhello.tar.gz ALL + COMMAND tar zcf fortranhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.f src-Makefile.am fortran-Makefile.am + fortran-Makefile.cvs configure.in fortranhello.png + app.kdevelop +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/fortranhello.tar.gz fortranhello.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + fortranhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/fortran/compiler/CMakeLists.txt b/languages/fortran/compiler/CMakeLists.txt new file mode 100644 index 00000000..109fe1b6 --- /dev/null +++ b/languages/fortran/compiler/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( pgioptions ) diff --git a/languages/fortran/compiler/pgioptions/CMakeLists.txt b/languages/fortran/compiler/pgioptions/CMakeLists.txt new file mode 100644 index 00000000..9c2e7f5f --- /dev/null +++ b/languages/fortran/compiler/pgioptions/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevpghpfoptions.desktop kdevpgf77options.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevpgioptions (module) ################ + +tde_add_kpart( libkdevpgioptions AUTOMOC + SOURCES + pgioptionsfactory.cpp pgioptionsplugin.cpp + LINK kdevextras-shared kdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/languages/fortran/doc/CMakeLists.txt b/languages/fortran/doc/CMakeLists.txt new file mode 100644 index 00000000..50e2ab71 --- /dev/null +++ b/languages/fortran/doc/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + fortran_bugs_gcc.toc + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/fortran/file_templates/CMakeLists.txt b/languages/fortran/file_templates/CMakeLists.txt new file mode 100644 index 00000000..3b5ef22e --- /dev/null +++ b/languages/fortran/file_templates/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + f f77 f90 f95 for fpp ftn + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) |