File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ IF(WIN32)
7575 add_custom_command (
7676 TARGET _toolkit POST_BUILD
7777 COMMAND ${CMAKE_COMMAND} -E copy
78- ${CMAKE_CURRENT_BINARY_DIR} /lib /Release/epanet2.lib
79- ${CMAKE_CURRENT_BINARY_DIR} /../../../packages/epanet/epanet2.lib )
78+ ${CMAKE_CURRENT_BINARY_DIR} /bin /Release/epanet2.dll
79+ ${CMAKE_CURRENT_BINARY_DIR} /../../../packages/epanet/epanet2.dll )
8080ELSE (True )
8181 add_custom_command (
8282 TARGET _toolkit POST_BUILD
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ SET COMPILE_PATH=%Build_PATH%\build\
66
77MKDIR " %COMPILE_PATH% "
88CD " %COMPILE_PATH% "
9+ rem Building 64-bit toolkit for 64-bit python.
10+ rem If 32-bit toolkit is required ensure 32-bit python is located
11+ rem by cmake (check CmakeList.txt) and replace '%CMAKE_PATH% ../ -A x64'
12+ rem with '%CMAKE_PATH% ../ -A Win32'."
913%CMAKE_PATH% ../ -A x64
1014%CMAKE_PATH% --build . --config Release
1115
You can’t perform that action at this time.
0 commit comments