• R/O
  • SSH

libcpptools: Commit

This library contains code that extends and simplifies different operations
for C++ language based programs


Commit MetaInfo

Revision495b77e324b0f2a8aac5c692e82c10b9198e501b (tree)
Zeit2023-02-26 06:36:37
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

Fixed embedding of version info into dll

Ändern Zusammenfassung

Diff

diff -r c2fd1130d9aa -r 495b77e324b0 .hgsubstate
--- a/.hgsubstate Sat Feb 25 23:41:44 2023 +0300
+++ b/.hgsubstate Sun Feb 26 00:36:37 2023 +0300
@@ -1,3 +1,3 @@
1-fe25dfe092b6163c32c127faf4aa24ebb7ae4b53 libctools
1+36a7a4e8ba2cffbbc02b484001d8b03dbbb8d442 libctools
22 c99ed6de035765057f05a5b8a3bcd23d47256b0c pyrepo
33 2fe3bd994b3189899d93f1d5a881e725e046fdc2 tests/googletest
diff -r c2fd1130d9aa -r 495b77e324b0 CMakeLists.txt
--- a/CMakeLists.txt Sat Feb 25 23:41:44 2023 +0300
+++ b/CMakeLists.txt Sun Feb 26 00:36:37 2023 +0300
@@ -11,14 +11,15 @@
1111 include(${CMAKE_CURRENT_SOURCE_DIR}/libctools/cmake/cmake_tools/tools/python_binary.cmake)
1212
1313 if (WIN32)
14- set(RC_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/build_info")
15- set(RC_FILES "${RC_INCLUDE}/file_property.rc")
14+ set(RC_INCLUDE1 "${CMAKE_CURRENT_SOURCE_DIR}/build_info")
15+ set(RC_INCLUDE2 "${RC_INCLUDE1}/include/cpptools")
16+ set(RC_FILES "${RC_INCLUDE1}/file_property.rc")
1617
17- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/libctools/build_info/file_property.rc.template DESTINATION ${RC_INCLUDE})
18+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/libctools/build_info/file_property.rc.template DESTINATION ${RC_INCLUDE1})
1819
1920 # windres.exe for mingw, rc.exe for ms vc++
2021 # 65001 == utf8
21- set(CMAKE_RC_FLAGS "-v -c 65001 -I${RC_INCLUDE} -Iinclude\cpptools")
22+ set(CMAKE_RC_FLAGS "-v -c 65001 -I${RC_INCLUDE1} -I${RC_INCLUDE2}")
2223 else()
2324 set(RC_FILES)
2425 endif()
Show on old repository browser