mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-25 13:58:02 -05:00
Do not deploy platform-independent C# files; See #392
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -458,11 +458,6 @@ if (COOLPROP_CSHARP_MODULE)
|
||||
COMMAND 7z a "${CMAKE_CURRENT_BINARY_DIR}/platform-independent.7z" "${CMAKE_CURRENT_BINARY_DIR}/*.cs"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
# Install all the generated cs files
|
||||
install(
|
||||
CODE "file( GLOB _GeneratedCsharpSources \"${CMAKE_CURRENT_BINARY_DIR}/*.cs\" )"
|
||||
CODE "file( INSTALL \${_GeneratedCsharpSources} DESTINATION ${CMAKE_INSTALL_PREFIX}/Csharp/platform-independent )"
|
||||
)
|
||||
install (FILES ${CMAKE_SOURCE_DIR}/Web/coolprop/wrappers/Csharp/Example.cs DESTINATION Csharp)
|
||||
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/platform-independent.7z" DESTINATION ${CMAKE_INSTALL_PREFIX}/Csharp)
|
||||
install (TARGETS ${app_name} DESTINATION Csharp/${CMAKE_SYSTEM_NAME}_${BITNESS}bit)
|
||||
@@ -472,7 +467,7 @@ if (COOLPROP_CSHARP_MODULE)
|
||||
# Copy the shared object to the folder with the executable - no idea like java.library.path in C#
|
||||
install (TARGETS ${app_name} DESTINATION ${CMAKE_SOURCE_DIR}/testing_root/Csharp${BITNESS})
|
||||
endif()
|
||||
file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/Csharp/platform-independent/*.cs cp_cs_path)
|
||||
file(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR}/*.cs cp_cs_path)
|
||||
file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/Csharp/Example.cs cp_example_path)
|
||||
if (${BITNESS} EQUAL "32")
|
||||
set(CSHARP_PLAT "-platform:x86")
|
||||
|
||||
Reference in New Issue
Block a user