Skip to content

Commit

Permalink
updated TargetCmake.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
treefrogframework committed Oct 31, 2022
1 parent f43ec93 commit 4825069
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions defaults/TargetCmake.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Cutom target - cmake
add_custom_target(cmake
COMMAND ${CMAKE_COMMAND} -P ${PROJECT_SOURCE_DIR}/cmake/CacheClean.cmake
COMMAND echo "Command: ${CMAKE_COMMAND} -G \"${CMAKE_GENERATOR}\" -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ${PROJECT_SOURCE_DIR}"
COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ${PROJECT_SOURCE_DIR}
COMMAND echo "Command: ${CMAKE_COMMAND} -S ${PROJECT_SOURCE_DIR} -G \"${CMAKE_GENERATOR}\" -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
COMMAND ${CMAKE_COMMAND} -S ${PROJECT_SOURCE_DIR} -G "${CMAKE_GENERATOR}" -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
)

message(STATUS "Added a custom target for build: 'cmake'")
2 changes: 1 addition & 1 deletion src/tglobal.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once
constexpr auto TF_VERSION_STR = "2.5.0";
constexpr auto TF_VERSION_NUMBER = 0x020500;
constexpr auto TF_SRC_REVISION = 2660;
constexpr auto TF_SRC_REVISION = 2676;

#include <QMetaType>
#include <QIODevice>
Expand Down
2 changes: 1 addition & 1 deletion tools/test/releasetest/releasetest.bat
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if ERRORLEVEL 1 (
call :CleanUp
exit /B 1
)
cmake --build build --config %1 --clean-first -j
cmake --build build --config %1 --clean-first
if ERRORLEVEL 1 (
echo;
echo Build Error!
Expand Down

0 comments on commit 4825069

Please sign in to comment.