Panda3D
config_prc.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file config_prc.cxx
10  * @author drose
11  * @date 2004-10-20
12  */
13 
14 #include "config_prc.h"
15 #include "configVariableBool.h"
16 #include "configVariableEnum.h"
17 #include "pandaFileStreamBuf.h"
18 
19 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_DTOOL_PRC)
20  #error Buildsystem error: BUILDING_DTOOL_PRC not defined
21 #endif
22 
23 NotifyCategoryDef(prc, "");
24 
25 ALIGN_16BYTE ConfigVariableBool assert_abort
26 ("assert-abort", false,
27  PRC_DESC("Set this true to trigger a core dump and/or stack trace when the first assertion fails"));
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.