cmake_modules/CMakePascalCompiler.cmake.in
author Pekka Ristola <pekkarr@protonmail.com>
Mon, 27 Jan 2025 19:08:05 +0100
changeset 16096 dbdb98dafd80
parent 8859 bead90828a94
permissions -rw-r--r--
Add support for ffmpeg 6.0 - Use the new send_frame/receive_packet API for encoding - Use the new channel layout API for audio - Fix audio recording - Copy codec parameters to the stream parameters - Set correct pts for audio frames - Read audio samples from file directly to the refcounted AVFrame buffer instead of the `g_pSamples` buffer - Use global AVPackets allocated with `av_packet_alloc` - Stop trying to write more audio frames when `WriteAudioFrame` fails with a negative error code - Fix segfault with `g_pContainer->url`. The field has to be allocated with `av_malloc` before writing to it. It's set to `NULL` by default. - Properly free allocations with `avcodec_free_context` and `avformat_free_context`
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8859
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     1
set(CMAKE_Pascal_COMPILER "@CMAKE_Pascal_COMPILER@")
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     2
set(CMAKE_Pascal_COMPILER_ARG1 "@CMAKE_Pascal_COMPILER_ARG1@")
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     3
set(CMAKE_Pascal_COMPILER_LOADED 1)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     4
set(CMAKE_Pascal_COMPILER_VERSION "@CMAKE_Pascal_COMPILER_VERSION@")
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     5
8859
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     6
set(CMAKE_Pascal_COMPILER_ENV_VAR "FPC")
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     7
8859
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     8
set(CMAKE_Pascal_SOURCE_FILE_EXTENSIONS "pas" "pp")
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     9
set(CMAKE_Pascal_IGNORE_EXTENSIONS ppu;PPU;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
    10
set(CMAKE_Pascal_LINKER_PREFERENCE Prefered)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
    11
set(CMAKE_Pascal_OUTPUT_EXTENSION_REPLACE 1)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
    12
set(CMAKE_Pascal_OUTPUT_EXTENSION ".o")