source: trunk/test/CMakeLists.txt @ 1822

Revision 1818, 1.5 KB checked in by Freddie Akeroyd, 3 months ago (diff)

Packaging mods. Refs #327

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
29SET (NXEXAMPLE_FILES napif4_test.f  napif5_test.f  napif_test.f  napi_test.c  napi_test_cpp.cxx  NXtest.f90)
30
31INSTALL (FILES ${NXEXAMPLE_FILES} DESTINATION ${NXEXAMPLEDIR} COMPONENT Examples)
32
33add_executable(napi_test_hdf5 napi_test.c)
34target_link_libraries(napi_test_hdf5 NeXus_Shared_Library)
35
36add_test(napi_test_hdf5 ${EXECUTABLE_OUTPUT_PATH}/napi_test_hdf5)
37#set_property(TEST napi_test_hdf5 PROPERTY PASS_REGULAR_EXPRESSION kkk)
Note: See TracBrowser for help on using the repository browser.