diff --git a/CMakeLists.txt b/CMakeLists.txt index f80b1e012c368a7d00e0c9682103880a42367ac4..9325f838377e9dc4992a272ff56cb2d75bb6c5ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ ADD_SUBDIRECTORY(include) ADD_SUBDIRECTORY(tools) ADD_SUBDIRECTORY(doc) ADD_SUBDIRECTORY(tests) +ADD_SUBDIRECTORY(share) SETUP_PROJECT_FINALIZE() SETUP_PROJECT_CPACK() \ No newline at end of file diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..262458bf77dcd7bd72fc3c684a8ddb3c8f7dbcc8 --- /dev/null +++ b/share/CMakeLists.txt @@ -0,0 +1,24 @@ +# Copyright 2010, Olivier Stasse, JRL, CNRS/AIST +# +# This file is part of dynamic-graph. +# dynamic-graph is free software: you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# dynamic-graph is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Lesser Public License for more details. You should have +# received a copy of the GNU Lesser General Public License along with +# dynamic-graph. If not, see <http://www.gnu.org/licenses/>. + +# Install dynamic-graph scripts. +INSTALL(FILES + + dynamic-graph/script/shell.dg + dynamic-graph/script/tracer.dg + + DESTINATION share/dynamic-graph/script + PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE + ) diff --git a/share/dynamic-graph/scripts/shell.dg b/share/dynamic-graph/script/shell.dg similarity index 100% rename from share/dynamic-graph/scripts/shell.dg rename to share/dynamic-graph/script/shell.dg diff --git a/share/dynamic-graph/scripts/tracer.dg b/share/dynamic-graph/script/tracer.dg similarity index 100% rename from share/dynamic-graph/scripts/tracer.dg rename to share/dynamic-graph/script/tracer.dg