Tasking compiler uses incorrect suffixes for target filenames
OS: Windows Server 2019 Standard
CMake version: 3.25.2
Compiler: TASKING VX-toolset for TriCore: control program v6.3r1 Build 19041558
**Current behaviour:**
CMake build generates .lib for static library targets and .exe for executable targets.
This causes linking to fail because the .lib
extension is not recognised by the cctc control program.
"[0/2/301] "Linking C static library src\libName\libName.lib
artc.exe I800: creating archive src\libName\libName.lib
"[0/1/302] "Linking C executable projectName.exe
FAILED: projectName.exe
cmd.exe /C "cd . && C:\PROGRA~1\TASKING\TRICOR~1.3R1\ctc\bin\cctc.exe --map-file -OcLtXY --lsl-file=C:/path/to/linkerScript.lsl -Wl --output=projectName.srec:SREC -Wl --output=projectName.hex:IHEX -f CMakeFiles\projectName.rsp -o projectName.exe && cd ."
ltc F002: unrecognized file format: "src\libName\libName.lib"
ltc F019: unrecoverable error: fatal initialization error
**Expected behaviour:**
CMake build generates .a for static library targets and .elf for executable targets.