mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
makepanda: fix missing BUILDING_DIRECT_DCPARSER
[skip ci]
This commit is contained in:
parent
f663d215d5
commit
35fff81b6a
@ -52,7 +52,7 @@ operator = (const DCNumericRange<NUM> ©) {
|
||||
* otherwise.
|
||||
*/
|
||||
template <class NUM>
|
||||
bool DCNumericRange<NUM>::
|
||||
INLINE bool DCNumericRange<NUM>::
|
||||
is_in_range(Number num) const {
|
||||
if (_ranges.empty()) {
|
||||
return true;
|
||||
@ -106,7 +106,7 @@ get_one_value() const {
|
||||
*
|
||||
*/
|
||||
template <class NUM>
|
||||
void DCNumericRange<NUM>::
|
||||
INLINE void DCNumericRange<NUM>::
|
||||
generate_hash(HashGenerator &hashgen) const {
|
||||
if (!_ranges.empty()) {
|
||||
hashgen.add_int(_ranges.size());
|
||||
@ -124,7 +124,7 @@ generate_hash(HashGenerator &hashgen) const {
|
||||
*
|
||||
*/
|
||||
template <class NUM>
|
||||
void DCNumericRange<NUM>::
|
||||
INLINE void DCNumericRange<NUM>::
|
||||
output(std::ostream &out, Number divisor) const {
|
||||
if (!_ranges.empty()) {
|
||||
typename Ranges::const_iterator ri;
|
||||
@ -144,7 +144,7 @@ output(std::ostream &out, Number divisor) const {
|
||||
* characters.
|
||||
*/
|
||||
template <class NUM>
|
||||
void DCNumericRange<NUM>::
|
||||
INLINE void DCNumericRange<NUM>::
|
||||
output_char(std::ostream &out, Number divisor) const {
|
||||
if (divisor != 1) {
|
||||
output(out, divisor);
|
||||
@ -179,7 +179,7 @@ clear() {
|
||||
* minmax overlaps an existing minmax.
|
||||
*/
|
||||
template <class NUM>
|
||||
bool DCNumericRange<NUM>::
|
||||
INLINE bool DCNumericRange<NUM>::
|
||||
add_range(Number min, Number max) {
|
||||
// Check for an overlap. This is probably indicative of a typo and should
|
||||
// be reported.
|
||||
|
@ -32,20 +32,20 @@ public:
|
||||
INLINE DCNumericRange(const DCNumericRange ©);
|
||||
INLINE void operator = (const DCNumericRange ©);
|
||||
|
||||
bool is_in_range(Number num) const;
|
||||
INLINE bool is_in_range(Number num) const;
|
||||
INLINE void validate(Number num, bool &range_error) const;
|
||||
|
||||
INLINE bool has_one_value() const;
|
||||
INLINE Number get_one_value() const;
|
||||
|
||||
void generate_hash(HashGenerator &hashgen) const;
|
||||
INLINE void generate_hash(HashGenerator &hashgen) const;
|
||||
|
||||
void output(std::ostream &out, Number divisor = 1) const;
|
||||
void output_char(std::ostream &out, Number divisor = 1) const;
|
||||
INLINE void output(std::ostream &out, Number divisor = 1) const;
|
||||
INLINE void output_char(std::ostream &out, Number divisor = 1) const;
|
||||
|
||||
public:
|
||||
INLINE void clear();
|
||||
bool add_range(Number min, Number max);
|
||||
INLINE bool add_range(Number min, Number max);
|
||||
|
||||
INLINE bool is_empty() const;
|
||||
INLINE int get_num_ranges() const;
|
||||
|
@ -5219,7 +5219,7 @@ if (PkgSkip("DIRECT")==0):
|
||||
#
|
||||
|
||||
if (PkgSkip("DIRECT")==0):
|
||||
OPTS=['DIR:direct/src/dcparser', 'WITHINPANDA', 'BISONPREFIX_dcyy', 'PYTHON']
|
||||
OPTS=['DIR:direct/src/dcparser', 'BUILDING:DIRECT_DCPARSER', 'WITHINPANDA', 'BISONPREFIX_dcyy', 'PYTHON']
|
||||
CreateFile(GetOutputDir()+"/include/dcParser.h")
|
||||
TargetAdd('p3dcparser_dcParser.obj', opts=OPTS, input='dcParser.yxx')
|
||||
TargetAdd('dcParser.h', input='p3dcparser_dcParser.obj', opts=['DEPENDENCYONLY'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user