source: trunk/bindings/CMakeLists.txt @ 1822

Revision 1638, 1.5 KB checked in by Freddie Akeroyd, 7 months ago (diff)

Fix fortran building. Refs #281

  • Property svn:eol-style set to native
Line 
1## Process this file with cmake
2#====================================================================
3#  NeXus - Neutron & X-ray Common Data Format
4
5#  CMakeLists for building the NeXus library and applications.
6#
7#  Copyright (C) 2011 Stephen Rankin
8
9#  This library is free software; you can redistribute it and/or
10#  modify it under the terms of the GNU Lesser General Public
11#  License as published by the Free Software Foundation; either
12#  version 2 of the License, or (at your option) any later version.
13#
14#  This library is distributed in the hope that it will be useful,
15#  but WITHOUT ANY WARRANTY; without even the implied warranty of
16#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17#  Lesser General Public License for more details.
18#
19#  You should have received a copy of the GNU Lesser General Public
20#  License along with this library; if not, write to the Free
21#  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22#  MA  02111-1307  USA
23#             
24#  For further information, see <http://www.nexusformat.org>
25#
26#
27#====================================================================
28# Recurse into the subdirectories.
29add_subdirectory (cpp)
30if (BUILD_FORTRAN_BINDINGS AND CMAKE_Fortran_COMPILER_WORKS)
31    add_subdirectory (f77)
32    add_subdirectory (f90)
33endif ()
34#add_subdirectory (idl)
35if (NOT(Java_JAVAC_EXECUTABLE MATCHES NOTFOUND))
36    add_subdirectory (java)
37endif ()
38#add_subdirectory (matlab)
39if (PYTHONINTERP_FOUND)
40    add_subdirectory (python)
41endif (PYTHONINTERP_FOUND)
42#add_subdirectory (swig)
Note: See TracBrowser for help on using the repository browser.