Astc: Compile library with -O3 even in debug builds.
This commit is contained in:
parent
adc21f8e29
commit
9a727c566e
1 changed files with 22 additions and 22 deletions
|
@ -2,28 +2,28 @@
|
|||
# We need this for the extern "C", not for exposing symbols
|
||||
{.passC:"-DASTCENC_DYNAMIC_LIBRARY".}
|
||||
|
||||
{.compile:"astc-encoder/Source/astcenc_averages_and_directions.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_block_sizes.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_color_quantize.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_color_unquantize.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_compress_symbolic.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_compute_variance.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_decompress_symbolic.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_diagnostic_trace.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_entry.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_find_best_partitioning.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_ideal_endpoints_and_weights.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_image.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_integer_sequence.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_mathlib.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_mathlib_softfloat.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_partition_tables.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_percentile_tables.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_pick_best_endpoint_format.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_quantization.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_symbolic_physical.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_weight_align.cpp",
|
||||
compile:"astc-encoder/Source/astcenc_weight_quant_xfer_tables.cpp".}
|
||||
{.compile("astc-encoder/Source/astcenc_averages_and_directions.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_block_sizes.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_color_quantize.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_color_unquantize.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_compress_symbolic.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_compute_variance.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_decompress_symbolic.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_diagnostic_trace.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_entry.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_find_best_partitioning.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_ideal_endpoints_and_weights.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_image.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_integer_sequence.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_mathlib.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_mathlib_softfloat.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_partition_tables.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_percentile_tables.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_pick_best_endpoint_format.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_quantization.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_symbolic_physical.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_weight_align.cpp","-O3"),
|
||||
compile("astc-encoder/Source/astcenc_weight_quant_xfer_tables.cpp","-O3").}
|
||||
|
||||
type AstcencContext* = object
|
||||
|
||||
|
|
Loading…
Reference in a new issue