clcache icon indicating copy to clipboard operation
clcache copied to clipboard

Problems with ASM identification, using clcache on CMAKE

Open netmonitoring opened this issue 5 years ago • 0 comments

There are problems with ASM identification, using clcache.

  • cmake version 3.15.5
  • clcache.py v4.2.0-dev
  • Python 3.8.1

project(${PROJECT_NAME} LANGUAGES C CXX ASM VERSION ${PROJECT_VERSION})

-- The ASM compiler identification is unknown -- Found assembler: C:/Python381/Scripts/clcache.exe -- Warning: Did not find file Compiler/-ASM

The workaround would be:

project(${PROJECT_NAME} LANGUAGES ASM C CXX VERSION ${PROJECT_VERSION})

-- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe

But i am not sure either using clcache the ASM compiler should be found as C:/Python381/Scripts/clcache.exe or C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe

netmonitoring avatar Feb 04 '20 12:02 netmonitoring