More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / commandline / CMakeLists.txt
index 1fcb8af1a7aca1a1866035f0e07f1b7f5487bab8..08eeb550c770bc39e1e85af9ac17d2633e25208b 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013, by the GROMACS development team, led by
+# Copyright (c) 2012,2013,2014, 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 COMMANDLINE_SOURCES *.cpp)
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${COMMANDLINE_SOURCES} PARENT_SCOPE)
 
-set(COMMANDLINE_PUBLIC_HEADERS
+gmx_install_headers(
     cmdlinehelpwriter.h
+    cmdlineinit.h
+    cmdlinemodule.h
     cmdlineparser.h
-    pargs.h)
-gmx_install_headers(commandline ${COMMANDLINE_PUBLIC_HEADERS})
+    cmdlineprogramcontext.h
+    pargs.h
+    )
 
 if (BUILD_TESTING)
     add_subdirectory(tests)