First test for DLL Build
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@692 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -39,6 +39,7 @@ if (WIN32)
|
||||
|
||||
if ( OPENMESH_BUILD_SHARED )
|
||||
# Experimental Feature!!!!
|
||||
add_definitions( -DOPENMESHDLL)
|
||||
acg_add_library (OpenMeshTools SHARED ${sources} ${headers})
|
||||
else()
|
||||
# OpenMesh has no dll exports so we have to build a static library on windows
|
||||
|
||||
@@ -77,7 +77,7 @@ class TimerImpl;
|
||||
|
||||
/** Timer class
|
||||
*/
|
||||
class Timer
|
||||
class OPENMESHDLLEXPORT Timer
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace Utils {
|
||||
*
|
||||
* \see getch(), getche()
|
||||
*/
|
||||
OPENMESHDLLEXPORT
|
||||
int kbhit(void);
|
||||
|
||||
|
||||
@@ -61,6 +62,7 @@ int kbhit(void);
|
||||
*
|
||||
* \see getche(), kbhit()
|
||||
*/
|
||||
OPENMESHDLLEXPORT
|
||||
int getch(void);
|
||||
|
||||
/** A blocking single character input from stdin with echo.
|
||||
@@ -68,6 +70,7 @@ int getch(void);
|
||||
* \return Character, or -1 if an input error occurs.
|
||||
* \see getch(), kbhit()
|
||||
*/
|
||||
OPENMESHDLLEXPORT
|
||||
int getche(void);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user