Difference between pages "r7.1.1:Define BENCHMARK PAL OS STRING" and "r7.1.1:Define LIBBENCHMARK PAL OS STRING"

From liblfds.org
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
{{DISPLAYTITLE:define BENCHMARK_PAL_OS_STRING}}
{{DISPLAYTITLE:define LIBBENCHMARK_PAL_OS_STRING}}
==Source File==
==Source File==
  └───test_and_benchmark
  └───test_and_benchmark
     └───benchmark
     └───libbenchmark
         └───src
         └───inc
             └───libbenchmark_porting_abstraction_layer_operating_system.h
             └───libbenchmark
                    libbenchmark_porting_abstraction_layer_operating_system.h


==Define==
==Define==
  #define BENCHMARK_PAL_OS_STRING [compiler name, in double quotes]
  #define LIBBENCHMARK_PAL_OS_STRING [compiler name, in double quotes]


==Example==
==Example==
  #define BENCHMARK_PAL_OS_STRING "Windows"
  #define LIBBENCHMARK_PAL_OS_STRING "Windows"


==Optionality==
==Optionality==
This define is mandatory and the programme cannot compile if it is not set.
This define is mandatory and the library cannot compile if it is not set.


==Notes==
==Notes==
This define is used internally to form up the version string.
This define is used internally to form up library version string.


==See Also==
==See Also==
* [[r7.1.1:Porting Guide (benchmark)|Porting Guide (benchmark)]]
* [[r7.1.1:Porting Guide (libbenchmark)|Porting Guide (libbenchmark)]]

Latest revision as of 20:16, 17 February 2017

Source File

└───test_and_benchmark
    └───libbenchmark
        └───inc
            └───libbenchmark
                    libbenchmark_porting_abstraction_layer_operating_system.h

Define

#define LIBBENCHMARK_PAL_OS_STRING  [compiler name, in double quotes]

Example

#define LIBBENCHMARK_PAL_OS_STRING  "Windows"

Optionality

This define is mandatory and the library cannot compile if it is not set.

Notes

This define is used internally to form up library version string.

See Also