Skip to content

Commit

Permalink
fix meson build script breaking with meson 0.60.0 (fixes #121)
Browse files Browse the repository at this point in the history
  • Loading branch information
marzer committed Oct 25, 2021
1 parent ca76e5d commit 47216c8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ project(
#######################################################################################################################

compiler = meson.get_compiler('cpp')
message(['target cpu_family', host_machine.cpu_family()])
message(['target cpu', host_machine.cpu()])
message(['target system', host_machine.system()])
message(['target endian', host_machine.endian()])
message('target cpu_family: @0@'.format(host_machine.cpu_family()))
message('target cpu: @0@'.format(host_machine.cpu()))
message('target system: @0@'.format(host_machine.system()))
message('target endian: @0@'.format(host_machine.endian()))

is_gcc = compiler.get_id() == 'gcc'
is_clang = compiler.get_id() == 'clang'
Expand All @@ -46,10 +46,10 @@ include_dirs = include_directories('include', 'external')
overrides = []
additional_arguments = []

message(['is_release', is_release])
message(['is_windows', is_windows])
message(['is_x64', is_x64])
message(['has_exceptions', has_exceptions])
message('is_release: @0@'.format(is_release))
message('is_windows: @0@'.format(is_windows))
message('is_x64: @0@'.format(is_x64))
message('has_exceptions: @0@'.format(has_exceptions))

# compiler argument references:
# msvc: https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=vs-2019
Expand Down

0 comments on commit 47216c8

Please sign in to comment.