Skip to content

Commit

Permalink
CMake: Inform when a custom command is being executed
Browse files Browse the repository at this point in the history
This improves the build waiting time feeling to know what is going on instead of waiting for CMake to just finish after compilation
  • Loading branch information
julianxhokaxhiu committed Oct 30, 2022
1 parent 3afdaed commit 0289ca9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ foreach(FFNX_SHADER IN LISTS FFNX_SHADERS)
add_custom_command(
TARGET ${RELEASE_NAME}
POST_BUILD
COMMAND echo Building ${FFNX_SHADER}.${BGFX_VARYING} vert/frag shaders...
# ensure bin directory exists
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/bin/shaders
# OpenGL
Expand Down Expand Up @@ -221,6 +222,7 @@ endforeach()
add_custom_command(
TARGET ${RELEASE_NAME}
POST_BUILD
COMMAND echo Preparing ${RELEASE_NAME} ${_DLL_VERSION} release...
# ensure bin directory exists
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/bin
# License
Expand Down

0 comments on commit 0289ca9

Please sign in to comment.