Skip to content

Commit

Permalink
Build the installer in src/out.
Browse files Browse the repository at this point in the history
The previous layout is obsolete now that Visual Studio outputs build
artefacts in out/ instead of CMakeBuilds.
  • Loading branch information
dechamps committed Sep 4, 2020
1 parent a1cf515 commit 0e92005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ string(REGEX REPLACE "^flexasio-" "" FLEXASIO_VERSION "${DECHAMPS_CMAKEUTILS_GIT
string(TIMESTAMP FLEXASIO_BUILD_TIMESTAMP "%Y-%m-%dT%H%M%SZ" UTC)
string(RANDOM FLEXASIO_BUILD_ID)
if (NOT DEFINED FLEXASIO_BUILD_ROOT_DIR)
set(FLEXASIO_BUILD_ROOT_DIR "$ENV{USERPROFILE}/CMakeBuilds/FlexASIO-${FLEXASIO_BUILD_TIMESTAMP}-${FLEXASIO_BUILD_ID}")
set(FLEXASIO_BUILD_ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}/out/installer/${FLEXASIO_BUILD_TIMESTAMP}-${FLEXASIO_BUILD_ID}")
endif()
message(STATUS "FlexASIO build root directory: ${FLEXASIO_BUILD_ROOT_DIR}")

Expand Down

0 comments on commit 0e92005

Please sign in to comment.