1 /* src/setup.h. Generated by configure. */ 2 /*************************************************************************** 3 * setup.h 4 * 5 * This file is a collection of the user-tunable parameters for Coin. 6 * You can edit the setting of the below defines to alter how Coin behaves. 7 * 8 * Note that this file comes from a template file called "setup.h.in". 9 * Editing the template file does nothing - make sure you are editing the 10 * file "setup.h". 11 */ 12 13 /*************************************************************************** 14 * HAVE_VRML97 15 * 16 * If you want to disable VRML97 suport in Coin, do not set this define. 17 * 18 * The reason to disable this is mostly to avoid compiling a lot of code 19 * that causes the Coin library to grow considerably if you need a 20 * particularly small version of Coin. 21 * 22 * Default is to have VRML97 support enabled. 23 */ 24 25 #define HAVE_VRML97 26 27 /*************************************************************************** 28 * HAVE_NODEKITS 29 * 30 * If you want to disable nodekits in Coin, do not set this define. 31 * This will also disable draggers and manipulators, as they are built on 32 * top of the nodekit system. It also disables the SoForeignFileKit and 33 * its derived classes, and the builtin profiler statistics visualization. 34 * 35 * The reason to disable this is mostly to avoid compiling a lot of code 36 * that causes the Coin library to grow in size if you need a particularly 37 * small version of Coin. 38 * 39 * Default is to have nodekit support enabled. 40 */ 41 42 #define HAVE_NODEKITS 43 44 /*************************************************************************** 45 * HAVE_DRAGGERS 46 * 47 * If you want to disable draggers in Coin, do not set this define. 48 * This will also disable manipulators, as they are heavy users of draggers. 49 * 50 * The reason to disable this is mostly to avoid compiling a lot of code 51 * that causes the Coin library to grow in size if you need a particularly 52 * small version of Coin. 53 * 54 * Default is to have dragger support enabled. 55 */ 56 57 #define HAVE_DRAGGERS 58 59 /*************************************************************************** 60 * HAVE_MANIPULATORS 61 * 62 * If you want to disable manipulators in Coin, do not set this define. 63 * 64 * The reason to disable this is mostly to avoid compiling a lot of code 65 * that causes the Coin library to grow in size if you need a particularly 66 * small version of Coin. 67 * 68 * Default is to have manipulators support enabled. 69 */ 70 71 #define HAVE_MANIPULATORS 72 73 /*************************************************************************** 74 * HAVE_SOUND 75 * 76 * Define this if you want Coin to have sound support. You will need 77 * OpenAL on the run-time system as well for sound to work. 78 * 79 * Default is to have sound enabled. 80 */ 81 82 #define HAVE_SOUND 83 84 /*************************************************************************** 85 * COIN_THREADSAFE 86 * 87 * If you want to enable extra code in Coin that makes render traversals 88 * multi-thread safe, enable this define. This does not make the whole of 89 * Coin thread safe - just doing parallel render traversals on multipipe 90 * systems. 91 * 92 * Default is to have thread safety code disabled. It is disabled because 93 * it costs a lot of overhead in the most common cases where it is not 94 * necessary. 95 */ 96 97 /* #undef COIN_THREADSAFE */ 98 99 /*************************************************************************** 100 * HAVE_3DS_IMPORT_CAPABILITIES 101 * 102 * If you want to be able to import .3ds files directly into Coin, set this 103 * define. 104 * 105 * Default is to not have this define set, as the import code has not been 106 * thoroughty tested and robustified by the main Coin developers yet. 107 */ 108 109 #define HAVE_3DS_IMPORT_CAPABILITIES 110 111 /*************************************************************************** 112 * COIN_HAVE_JAVASCRIPT 113 * 114 * All the SpiderMonkey javascript code is wrapped in this 115 * define. This is done to make sure the code in Coin-2 and Coin-dev 116 * is as equal as possible, making it easier to port fixes and 117 * enchancements. 118 * 119 * Default is to have this define set. 120 * If VRML97 is disabled, JavaScript support is also disabled. 121 */ 122 123 #define COIN_HAVE_JAVASCRIPT 124 125 /*************************************************************************** 126 * The end. 127 * 128 * Make sure this header file is not installed, and only used when building 129 * Coin itself. 130 */ 131 132 #ifndef COIN_INTERNAL 133 #error this is a private header file 134 #endif 135 136