Generate verstub.cpp through raw cmake.
There is no need for an extra program. As a bonus, generate a consistent windows vdi file. There is still an issue with actually *reading* the vdi, but that's for someone else to tackle.
This commit is contained in:
@@ -419,6 +419,7 @@ elseif(LINUX)
|
||||
endif()
|
||||
|
||||
configure_file("${SM_SRC_DIR}/config.in.hpp" "${SM_SRC_DIR}/generated/config.hpp")
|
||||
configure_file("${SM_SRC_DIR}/verstub.in.cpp" "${SM_SRC_DIR}/generated/verstub.cpp")
|
||||
|
||||
# Define installer based items for cpack.
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/CMake/CPackSetup.cmake")
|
||||
|
||||
Reference in New Issue
Block a user