[CMake] --config Parameter position relevant?

Dennis Luehring dl.soluz at gmx.net
Wed Sep 19 07:38:40 EDT 2018


build environment:

Win7 x64
VStudio 2017 Community Edition 15.8.4 (latest)
CMake 3.12.1 (x86)
git 2.19.0 (latest, x64)
Python 2.7.2 (x86)

directory structure:

D:/projects/fun/jit_tests/clang_from_src/
   llvm <-- git clone https://github.com/llvm-mirror/llvm
     tools
       clang <-- git clone https://github.com/llvm-mirror/clang
   llvm_build

build instructions:

cd llvm-build
cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" 
-DLLVM_TARGETS_TO_BUILD=host ..\llvm_project\llvm

cmake --config Release --build .

ends after a few seconds without errors with this message last

Build files have been written to: 
D:/projects/fun/jit_tests/clang_from_src/llvm-build

cmake --build . --config Release

do work and the build is running - is it intended that the position of 
the --config parameter is that relevant?




More information about the CMake mailing list