diff options
author | rmistry <rmistry@google.com> | 2016-04-25 06:29:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-25 06:29:21 -0700 |
commit | 5d36360c47ed48c93e6928cc5de1a5ebd65b6eea (patch) | |
tree | 3f361b3092d866511fa8e3345c6c076bc3bedac5 /cmake | |
parent | 6c3c0c69e80b6387655c9aeda202aa358aa0b8ed (diff) |
Use BUILD_TYPE in cmake_build.
Build files were directly written to the out directory. This change makes them go to the expected out/{Release, Debug} directory.
BUG=skia:5160
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1916773002
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot
Review URL: https://codereview.chromium.org/1916773002
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/cmake_build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/cmake_build b/cmake/cmake_build index 861453e434..f2cb9bf1bf 100755 --- a/cmake/cmake_build +++ b/cmake/cmake_build @@ -26,8 +26,8 @@ make -j $cores cmake popd echo "Building with bootstrapped CMake" -mkdir -p $SKIA_OUT -pushd $SKIA_OUT +mkdir -p $SKIA_OUT/$BUILDTYPE +pushd $SKIA_OUT/$BUILDTYPE $here/../third_party/externals/cmake/bin/cmake -DCMAKE_BUILD_TYPE=$BUILDTYPE $here -G Ninja ninja popd |