Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 2c170f8

Browse files
authored
fix: use BUILD_ALWAYS in super build (#192)
Sometimes we want to use a super build for development (or users might use a super build for exploration), without BUILD_ALWAYS the code is not compiled after a change. Also fixed formatting configuration for cmake-format.
1 parent 611245d commit 2c170f8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.cmake-format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"PREFIX": 1,
4242
"URL": 1,
4343
"URL_HASH": 1,
44+
"BUILD_ALWAYS": 1,
4445
}
4546
}
4647
}

super/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ExternalProject_Add(
3939
google-cloud-cpp-project
4040
DEPENDS ${GOOGLE_CLOUD_CPP_DEPENDENCIES_LIST}
4141
EXCLUDE_FROM_ALL OFF
42+
BUILD_ALWAYS 1
4243
PREFIX "${CMAKE_BINARY_DIR}/build/google-cloud-cpp"
4344
INSTALL_DIR
4445
"${GOOGLE_CLOUD_CPP_EXTERNAL_PREFIX}"

0 commit comments

Comments
 (0)