Skip to content
Snippets Groups Projects
Select Git revision
  • 05d019c61b78049be95bee50cd6bca2c65d17096
  • master default protected
2 results

compileTimeOptions.h

Blame
  • compileTimeOptions.h 692 B
    #ifndef __COMPILE_TIME_OPTIONS_H__
    #define __COMPILE_TIME_OPTIONS_H__
    
    // bool; use vector<bool> instead of vector<size_t> for classes
    #ifndef SAVE_MEMORY
    #define SAVE_MEMORY 1
    #endif
    #if SAVE_MEMORY
    #pragma message "SAVE_MEMORY ON"
    #else
    #pragma message "SAVE_MEMORY off"
    #endif
    
    
    #ifndef OPTIMIZED_MAPPINGS
    #define OPTIMIZED_MAPPINGS 1
    #endif
    #if OPTIMIZED_MAPPINGS
    #pragma message "OPTIMIZED_MAPPINGS ON"
    #else
    #pragma message "OPTIMIZED_MAPPINGS off"
    #endif
    
    
    #ifndef OPTIMIZE_COMBINE
    #define OPTIMIZE_COMBINE 0
    #endif
    #if OPTIMIZE_COMBINE
    #pragma message "OPTIMIZE_COMBINE ON"
    #else
    #pragma message "OPTIMIZE_COMBINE off"
    #endif
    
    
    
    #ifndef MAX_EDGES
    #define MAX_EDGES 48
    #endif
    
    #endif