loader_aw

Load OBJ/MTL file formats
git clone git://git.meso-star.fr/loader_aw.git
Log | Files | Refs | README | LICENSE

commit ea9c2ad6113d39f4fd408476bd01bed21ec000c1
parent 2d80b9dd34d31bfd9f4b0ac8c592f2d9a26bff88
Author: vaplv <vaplv@free.fr>
Date:   Wed, 27 May 2015 09:45:59 +0200

Install the COPYING and the README files

Diffstat:
MREADME.md | 16++++++++++++++++
Mcmake/CMakeLists.txt | 5++++-
2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -26,3 +26,19 @@ from the cmake/CMakeLists.txt file by appending the RCMake lib/cmake and RSys install directories to the `CMAKE_PREFIX_PATH` variable. The resulting project can be edited, built, tested and installed as any CMake project. +# License + +*AW* is Copyright (C) 2013-2015 Vincent Forest (vaplv@free.fr) + +This library 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. + +The *AW* 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 the *AW* library. If not, see <http://www.gnu.org/licenses/>. diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -37,15 +37,17 @@ rcmake_append_runtime_dirs(_runtime_dirs RSys) ################################################################################ set(AW_FILES_SRC aw_c.h aw.c aw_obj.c aw_mtl.c) set(AW_FILES_INC aw.h) +set(AW_FILES_DOC COPYING COPYING.LESSER README.md) rcmake_prepend_path(AW_FILES_SRC ${AW_SOURCE_DIR}) rcmake_prepend_path(AW_FILES_INC ${AW_SOURCE_DIR}) +rcmake_prepend_path(AW_FILES_DOC ${PROJECT_SOURCE_DIR}/../) add_library(aw SHARED ${AW_FILES_SRC} ${AW_FILES_INC}) target_link_libraries(aw RSys) set(VERSION_MAJOR 1) set(VERSION_MINOR 0) -set(VERSION_PATCH 1) +set(VERSION_PATCH 2) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set_target_properties(aw PROPERTIES DEFINE_SYMBOL AW_SHARED_BUILD @@ -81,4 +83,5 @@ install(TARGETS aw LIBRARY DESTINATION lib RUNTIME DESTINATION bin) install(FILES ${AW_FILES_INC} DESTINATION include) +install(FILES ${AW_FILES_DOC} DESTINATION doc/aw)