star-3dut

Generate meshes of simple geometric shapes
git clone git://git.meso-star.fr/star-3dut.git
Log | Files | Refs | README | LICENSE

commit e88054de830a0140699e2e6d57d08b9735198f67
parent c2fcf4a58c084f5133a8a26c96b91327cf706dca
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue,  6 Dec 2016 09:56:45 +0100

Fix the install target

Deploy the main API header s3dut.h rather than the internal header
s3dut_mesh.h

Diffstat:
Mcmake/CMakeLists.txt | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -52,13 +52,15 @@ set(S3DUT_FILES_DOC COPYING README.md) rcmake_prepend_path(S3DUT_FILES_SRC ${S3DUT_SOURCE_DIR}) rcmake_prepend_path(S3DUT_FILES_INC ${S3DUT_SOURCE_DIR}) +rcmake_prepend_path(S3DUT_FILES_INC_API ${S3DUT_SOURCE_DIR}) rcmake_prepend_path(S3DUT_FILES_DOC ${PROJECT_SOURCE_DIR}/../) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) set(MATH_LIB m) endif() -add_library(s3dut SHARED ${S3DUT_FILES_SRC} ${S3DUT_FILES_INC}) +add_library(s3dut SHARED + ${S3DUT_FILES_SRC} ${S3DUT_FILES_INC} ${S3DUT_FILES_INC_API}) set_target_properties(s3dut PROPERTIES DEFINE_SYMBOL S3DUT_SHARED_BUILD VERSION ${VERSION} @@ -92,6 +94,6 @@ install(TARGETS s3dut ARCHIVE DESTINATION lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin) -install(FILES ${S3DUT_FILES_INC} DESTINATION include/star/) +install(FILES ${S3DUT_FILES_INC_API} DESTINATION include/star/) install(FILES ${S3DUT_FILES_DOC} DESTINATION share/doc/star-3dut/)