Go to the documentation of this file.00001 #if defined(_MSC_VER)
00002
00003
00004
00005
00006 #pragma once
00007
00008 #if defined(ON_DLL_EXPORTS)
00009
00010
00011
00012 #error This file contains linking pragmas for using opennurbs.
00013 #endif
00014
00015 #if !defined(ON_MSC_SOLUTION_DIR)
00016 #define ON_MSC_SOLUTION_DIR ".."
00017 #endif
00018
00019 #if !defined(ON_MSC_LIB_DIR)
00020
00021 #if defined(WIN64)
00022
00023
00024
00025 #if defined(NDEBUG)
00026
00027
00028 #define ON_MSC_LIB_DIR "x64/Release"
00029
00030 #else // _DEBUG
00031
00032
00033 #define ON_MSC_LIB_DIR "x64/Debug"
00034
00035 #endif // NDEBUG else _DEBUG
00036
00037 #else // WIN32
00038
00039
00040
00041 #if defined(NDEBUG)
00042
00043
00044 #define ON_MSC_LIB_DIR "Release"
00045
00046 #else // _DEBUG
00047
00048
00049 #define ON_MSC_LIB_DIR "Debug"
00050
00051 #endif // NDEBUG else _DEBUG
00052
00053 #endif // WIN64 else WIN32
00054
00055 #endif // !defined(ON_MSC_LIB_DIR)
00056
00057 #if defined(ON_DLL_IMPORTS)
00058 #pragma message( " --- dynamically linking opennurbs (DLL)." )
00059 #pragma comment(lib, "\"" ON_MSC_SOLUTION_DIR "/" ON_MSC_LIB_DIR "/" "opennurbs.lib" "\"")
00060 #else
00061 #pragma message( " --- statically linking opennurbs." )
00062 #pragma comment(lib, "\"" ON_MSC_SOLUTION_DIR "/" ON_MSC_LIB_DIR "/" "zlib.lib" "\"")
00063 #pragma comment(lib, "\"" ON_MSC_SOLUTION_DIR "/" ON_MSC_LIB_DIR "/" "opennurbs_staticlib.lib" "\"")
00064 #endif
00065
00066
00067 #endif