Skip to content
Snippets Groups Projects
  • NAKAMURA Takumi's avatar
    98426e8f
    [CMake][VS][XCode] Restruct the output directory layout more comfortable,... · 98426e8f
    NAKAMURA Takumi authored
    [CMake][VS][XCode] Restruct the output directory layout more comfortable, ${BINARY_DIR}/${BUILD_MODE}/(bin|lib)
    
    We have been seeing nasty directory layout with CMake multiconfig, such as,
      bin/Release/clang.exe
      lib/clang/3.x/...
      lib/Release/clang/3.x/.. (duplicated)
    
    Move the layout similar to autoconf's;
      Release/bin/clang.exe
      Release/lib/clang/3.x/...
    
    Checked on Visual Studio 10. Could you guys please confirm my change on XCode(and other multiconfig builders)?
    
    Note: Don't set variables CMAKE_*_OUTPUT_DIRECTORY any more, or a certain builder, for eaxample, msbuild.exe, would be confused.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198205 91177308-0d34-0410-b5e6-96231b3b80d8
    98426e8f
    History
    [CMake][VS][XCode] Restruct the output directory layout more comfortable,...
    NAKAMURA Takumi authored
    [CMake][VS][XCode] Restruct the output directory layout more comfortable, ${BINARY_DIR}/${BUILD_MODE}/(bin|lib)
    
    We have been seeing nasty directory layout with CMake multiconfig, such as,
      bin/Release/clang.exe
      lib/clang/3.x/...
      lib/Release/clang/3.x/.. (duplicated)
    
    Move the layout similar to autoconf's;
      Release/bin/clang.exe
      Release/lib/clang/3.x/...
    
    Checked on Visual Studio 10. Could you guys please confirm my change on XCode(and other multiconfig builders)?
    
    Note: Don't set variables CMAKE_*_OUTPUT_DIRECTORY any more, or a certain builder, for eaxample, msbuild.exe, would be confused.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198205 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.