Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
CMake: When outputting the version during CMake configuration, output…
Browse files Browse the repository at this point in the history
… it as a

status message so that it goes to stdout instead of stderr.
  • Loading branch information
brycelelbach authored and amirmasoudabdol committed Aug 13, 2021
1 parent 52b9683 commit 3efd22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DoxybookCli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)

# Get the version string based on the git tags
execute_process(
COMMAND git describe --always
COMMAND git describe --always
OUTPUT_VARIABLE VERSION
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE
)
message("-- Setting Doxybook version to: ${VERSION}")
message(STATUS "-- Setting Doxybook version to: ${VERSION}")

# Add the project source files
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
Expand Down

0 comments on commit 3efd22f

Please # to comment.