Tasking Toolset should allow CMAKE_SYSTEM_PROCESSOR to be set to core architecture
cmake version 3.25.0-rc3
I would prefer to specify the core architectures (i.e. tc1.3, tc1.3.1, tc1.6, tc1.6.x, tc1.6.2). I am building static libraries for particular architectures, which may later be linked into different devices/boards.
Current implementation allows the following values, which I think is incorrectly composed as it also contains family names such as AUDO
and AURIX
which do not define a single architecture:
CMake Error at C:/CMake/share/cmake-3.25/Modules/Compiler/Tasking.cmake:53 (message):
Invalid processor tc1.6.2 specified.
Supported processors:
userdef13;userdef131;userdef16;userdef16x;userdef162;TC1130;tc1130;AUDO;tc1762;tc1764;tc1766;tc1766b;tc1792;tc1796;tc1796b;TC116x;tc1164;tc1166;AUDO;tc1167;tc1197;tc1736;tc1767;tc1797;AUDO;tc1184;tc1724;tc1728;tc1746;tc1748;tc1782;tc1784;tc1791;tc1793;tc1798;AUDO;tc1337;tc1367;tc1387;tc1768;AURIX;tc21x;tc22x;tc23x;tc23x_adas;tc26x;tc26xb;tc27x;tc27xb;tc27xc;tc27xd;tc29x;tc29xb;AURIX;tc33x;tc33x_ext;tc35x;tc36x;tc37x;tc38x;tc39x;tc39xb
Call Stack (most recent call first):
C:/CMake/share/cmake-3.25/Modules/Compiler/Tasking-C.cmake:2 (__compiler_tasking)
C:/CMake/share/cmake-3.25/Modules/CMakeCInformation.cmake:25 (include)