null+****@clear*****
null+****@clear*****
2012年 4月 16日 (月) 22:50:18 JST
Kouhei Sutou 2012-04-16 22:50:18 +0900 (Mon, 16 Apr 2012) New Revision: d9b9db3e9b6edaa77097ed71904205bab7fc6237 Log: cmake: install headers Added files: include/CMakeLists.txt Modified files: CMakeLists.txt Modified: CMakeLists.txt (+1 -0) =================================================================== --- CMakeLists.txt 2012-04-16 22:33:40 +0900 (01504b4) +++ CMakeLists.txt 2012-04-16 22:50:18 +0900 (c1fab95) @@ -256,6 +256,7 @@ set(LIBGROONGA ${CMAKE_BINARY_DIR}/lib/libgroonga.so) add_subdirectory(lib) add_subdirectory(src) add_subdirectory(plugins) +add_subdirectory(include) add_subdirectory(data) configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) Added: include/CMakeLists.txt (+18 -0) 100644 =================================================================== --- /dev/null +++ include/CMakeLists.txt 2012-04-16 22:50:18 +0900 (a5fbf3a) @@ -0,0 +1,18 @@ +# Copyright(C) 2012 Brazil +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1 as published by the Free Software Foundation. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +install(FILES groonga.h DESTINATION "${INCLUDE_DIR}") +install(DIRECTORY groonga DESTINATION "${INCLUDE_DIR}" + FILES_MATCHING PATTERN "*.h")