mirror of
https://github.com/MorizzG/ray-tracer.git
synced 2025-12-06 04:22:42 +00:00
added Philox random gen
This commit is contained in:
parent
dabddf8e12
commit
ec40eb11c1
6 changed files with 58 additions and 44 deletions
|
|
@ -3,7 +3,7 @@ project('ray-tracer', 'cpp', default_options : [
|
|||
'werror=true',
|
||||
'cpp_std=c++23',
|
||||
'b_lto=true',
|
||||
'b_lto_mode=thin',
|
||||
# 'b_lto_mode=thin',
|
||||
])
|
||||
|
||||
add_project_arguments(
|
||||
|
|
@ -12,9 +12,14 @@ add_project_arguments(
|
|||
language : 'cpp'
|
||||
)
|
||||
|
||||
|
||||
philox_proj = subproject('philox', default_options : ['warning_level=0', 'werror=false'])
|
||||
philox_dep = philox_proj.get_variable('philox_dep')
|
||||
|
||||
|
||||
sources = []
|
||||
subdir('src')
|
||||
|
||||
inc = include_directories('src')
|
||||
|
||||
executable('ray-tracer', sources, include_directories : inc)
|
||||
executable('ray-tracer', sources, include_directories : inc, dependencies : [philox_dep])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue