I am building a C++ library on Windows and Linux, and would like to verify that the Version is being set correctly. I have added the following to the CMakeLists.txt
file:
project ("TestProject" VERSION 999.999.999 LANGUAGES C CXX)
add_subdirectory ("TestProject")
set_target_properties("TestProject" PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
When I build on Linux, I can see that the version is appended to the end of the .so
file. But on Windows, all I see is the .dll
file.
Is there any way for me to validate the version of the .so
and .dll
files?