This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
1f6bd8a93f
CMake
/
Tests
/
RunCMake
/
CommandLine
/
BuildDir.cmake
2 lines
27 B
CMake
Raw
Normal View
History
Unescape
Escape
cmake: Fix --build <relative-dir> for VS generators (#15609) The VS >= 10 generators need to parse the .sln file from the build directory to locate targets in subdirectories. This occurs after we change the working directory to the build tree. If a relative directory other than "." was given then we would change to it and also refer to the .sln file location with it. Fix this by converting the build tree to a full path always. This will also give a more informative error message when the directory does not exist.
2015-06-11 22:01:12 +03:00
add_subdirectory
(
BuildDir
)