Remove gmx::File (except for File::exists())
[alexxy/gromacs.git] / src / gromacs / utility / CMakeLists.txt
index 0e02634a3d5e3f6c66a0897f8f8de22e64eb119f..1ce2ce4b20fd1ea87e347a8b6dbe4823279b16d9 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2010,2011,2012,2013,2014, by the GROMACS development team, led by
+# Copyright (c) 2010,2011,2012,2013,2014,2015, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
 file(GLOB UTILITY_SOURCES *.c *.cpp)
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${UTILITY_SOURCES} PARENT_SCOPE)
 
-set(GENERATED_HEADER_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/gmx_header_config_gen.h)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/gmx_header_config_gen.h.cmakein
-               ${GENERATED_HEADER_CONFIG})
-
-set(UTILITY_PUBLIC_HEADERS
+gmx_install_headers(
     arrayref.h
     basedefinitions.h
+    classhelpers.h
     cstringutil.h
-    common.h
+    datafilefinder.h
     errorcodes.h
     exceptions.h
     fatalerror.h
-    file.h
     flags.h
-    gmx_header_config.h
+    futil.h
     gmxassert.h
     init.h
     programcontext.h
+    real.h
     smalloc.h
     stringutil.h
-    uniqueptr.h)
-gmx_install_headers(utility ${UTILITY_PUBLIC_HEADERS})
-gmx_install_headers(utility ${GENERATED_HEADER_CONFIG})
+    )
 
 if (BUILD_TESTING)
     add_subdirectory(tests)