Commit 03afaf5f authored by Mike Kremer's avatar Mike Kremer

Changed copied files for install target

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@30 66977474-1d4b-4f09-8fe9-267525286df2
parent e4ec9752
......@@ -9,7 +9,7 @@ make compiling the library on any platform pretty simple. Make sure you have at
installed on your machine. Get the latest CMake sources or binaries at http://www.cmake.org.
If you are interested in contributing to %OpenVolumeMesh by developing on its
code base, we highly recommend to install the Google testing framework which can be found here: http://code.google.com/p/googletest/ .
code base, we highly recommend to install the Google testing framework which can be found here: http://code.google.com/p/googletest.
This framework is needed in order to build and execute our included unit tests.
\section config_and_build Configuring and building OpenVolumeMesh on Linux and MacOSX
......
......@@ -16,9 +16,6 @@ set (directories
OpenVolumeMesh/HexahedralMesh/Utils
)
# Add unittests target
add_subdirectory(Unittests)
# collect all header and source files
acg_append_files (headers "*.hh" ${directories})
acg_append_files (sources "*.cc" ${directories})
......@@ -28,7 +25,6 @@ if ( NOT ${PROJECT_NAME} MATCHES "OpenVolumeMesh")
set(ACG_NO_LIBRARY_INSTALL true)
endif()
if (WIN32)
# OpenVolumeMesh has no dll exports so we have to build a static library on windows
acg_add_library (OpenVolumeMesh STATIC ${sources} ${headers})
......@@ -43,9 +39,10 @@ if (NOT APPLE AND ${PROJECT_NAME} MATCHES "OpenVolumeMesh")
# Install Header Files)
install(DIRECTORY .
DESTINATION include/OpenVolumeMesh
DESTINATION include
FILES_MATCHING
PATTERN "*.hh"
PATTERN "Unittests" EXCLUDE
PATTERN "CVS" EXCLUDE
PATTERN ".svn" EXCLUDE
PATTERN "tmp" EXCLUDE
......@@ -54,9 +51,10 @@ install(DIRECTORY .
#install Template cc files (required by headers)
install(DIRECTORY .
DESTINATION include/OpenVolumeMesh
DESTINATION include
FILES_MATCHING
PATTERN "*T.cc"
PATTERN "Unittests" EXCLUDE
PATTERN "CVS" EXCLUDE
PATTERN ".svn" EXCLUDE
PATTERN "tmp" EXCLUDE
......@@ -65,4 +63,7 @@ install(DIRECTORY .
endif ()
# Add unittests target
add_subdirectory(Unittests)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment