opennurbs_public.h
1 /* $NoKeywords: $ */
2 /*
3 //
4 // Copyright (c) 1993-2016 Robert McNeel & Associates. All rights reserved.
5 // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
6 // McNeel & Associates.
7 //
8 // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
9 // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
10 // MERCHANTABILITY ARE HEREBY DISCLAIMED.
11 //
12 // For complete openNURBS copyright information see <http://www.opennurbs.org>.
13 //
14 ////////////////////////////////////////////////////////////////
15 */
16 
17 ////////////////////////////////////////////////////////////////
18 //
19 // Includes all openNURBS toolkit headers required to use the
20 // openNURBS toolkit library. See readme.txt for details.
21 //
22 ////////////////////////////////////////////////////////////////
23 
24 #if !defined(OPENNURBS_PUBLIC_INC_)
25 #define OPENNURBS_PUBLIC_INC_
26 
27 #define OPENNURBS_PUBLIC_INC_IN_PROGRESS
28 
29 #if defined(ON_COMPILING_OPENNURBS)
30 #error Do not include opennurbs_public.h in opennurbs library source code.
31 #endif
32 
33 #if defined(OPENNURBS_INC_)
34 //
35 // Read the following, think about what you are trying to accomplish,
36 // and then include exactly one of opennurbs.h or opennurbs_public.h.
37 //
38 // If you are building a Rhino plug-in or using the Rhino SDK,
39 // then include RhinoSDK.h which will eventually include opennurbs.h.
40 //
41 // If you are building your own application and linking with an
42 // opennurbs_public* library, then include opennurbs_public.h.
43 //
44 #error Include exactly one of opennurbs.h or opennurbs_public.h
45 #endif
46 
47 
48 #define OPENNURBS_PUBLIC
49 #include "opennurbs.h"
50 
51 #undef OPENNURBS_PUBLIC_INC_IN_PROGRESS
52 
53 #endif