Skip to content

Commit 542123c

Browse files
committed
changed .lib to .dll
1 parent 23718e9 commit 542123c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

owa-epanet/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)
8080
ELSE(True)
8181
add_custom_command(
8282
TARGET _toolkit POST_BUILD

owa-epanet/build_owa-epanet.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ SET COMPILE_PATH=%Build_PATH%\build\
66

77
MKDIR "%COMPILE_PATH%"
88
CD "%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

0 commit comments

Comments
 (0)