I am using a custom toolchain file to develop an embedded system. CMAKE_SYSTEM_NAME is set to “Generic”, so variables such as WIN32, UNIX cannot be used to check the operating system of the configu
I am using a custom toolchain file to develop an embedded system. CMAKE_SYSTEM_NAME is set to “Generic”, so variables such as WIN32, UNIX cannot be used to check the operating system of the configu