blob: cca1ecfd3890b32b48df95e239a9f6918343dfe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
add_executable(write-f32 main.c)
target_link_libraries(write-f32
wav::wav
$<$<PLATFORM_ID:Linux>:m>
)
target_include_directories(write-f32 PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_compile_features(write-f32 PRIVATE ${wav_compile_features})
target_compile_definitions(write-f32 PRIVATE ${wav_compile_definitions})
target_compile_options(write-f32 PRIVATE
${wav_c_flags}
$<$<CONFIG:RELEASE>:${wav_compile_options_release}>
$<$<CONFIG:RELWITHDEBINFO>:${wav_compile_options_release}>
)
|