Finally resolved the issue. The problem was that RC.exe was not in my
%PATH%.
Thanks all for assistance!
--------------------------------------------------- CMake output:
-- The C compiler identification is Clang 3.7.1
-- The CXX compiler identification is Clang 3.7.1
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- broken
CMake Error at C:/Program
Files/CMake/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "D:/-Work-/LLVM_3.7.1_win64/msbuild-bin/cl.exe" is
not able
to compile a simple test program.
It fails with the following output:
Change Dir:
D:/-Work-/llvm-3.7.1.src/-CLANG-/ProjectDir/CMakeFiles/CMakeTmp
Run Build Command:"C:/PROGRA~1/ninja/ninja.exe" "cmTC_6d431"
[1/2] Building C object CMakeFiles\cmTC_6d431.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_6d431.exe
FAILED: cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E
vs_link_exe --intdir=CMakeFiles\cmTC_6d431.dir --manifests --
C:\PROGRA~1\MICROS~2.0\VC\bin\link.exe /nologo
CMakeFiles\cmTC_6d431.dir\testCCompiler.c.obj /out:cmTC_6d431.exe
/implib:cmTC_6d431.lib /pdb:cmTC_6d431.pdb /version:0.0 /machine:x64
/debug
/INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib && cd ."
RC Pass 1 failed to run.
--
Anton
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake