Commit 5834e277 authored by Mike Kremer's avatar Mike Kremer
Browse files

- add dll export macros

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@699 fdac6126-5c0c-442c-9429-916003d36597
parent dcf5272a
......@@ -70,7 +70,7 @@ namespace VDPM {
/** Active nodes in vertex hierarchy.
\todo VFront documentation
*/
class VFront
class OPENMESHDLLEXPORT VFront
{
private:
......
......@@ -68,7 +68,7 @@ namespace VDPM {
/** Keeps the vertex hierarchy build during analyzing a progressive mesh.
*/
class VHierarchy
class OPENMESHDLLEXPORT VHierarchy
{
public:
......
......@@ -69,7 +69,7 @@ namespace VDPM {
/** \todo ViewerParameters documentation
*/
class ViewingParameters
class OPENMESHDLLEXPORT ViewingParameters
{
private:
double modelview_matrix_[16];
......
......@@ -24,7 +24,7 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
# Create new target named unittests_hexmeshing
add_executable(unittests unittests.cc)
if ( NOT WIN32)
if ( NOT WIN32)
# Link against all necessary libraries
target_link_libraries(unittests OpenMeshCore OpenMeshTools ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread)
......@@ -33,8 +33,12 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
else()
# Link against all necessary libraries
if ( OPENMESH_BUILD_SHARED )
#!!!! Experimental Feature!!!
add_definitions( -DOPENMESHDLL )
endif()
target_link_libraries(unittests OpenMeshCore OpenMeshTools ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES})
endif()
endif()
......@@ -53,7 +57,7 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
copy_if_different
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/unittests.exe
${CMAKE_BINARY_DIR}/Unittests/unittests.exe)
endif()
endif()
acg_copy_after_build(unittests ${CMAKE_CURRENT_SOURCE_DIR}/TestFiles ${CMAKE_BINARY_DIR}/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