-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake-based v3.2.1 #25
CMake-based v3.2.1 #25
Conversation
- Added a download link for CoolProp v5.1.1
In case anyone is interested: The binaries produced by https://github.com/jowr/ExternalMedia/actions/runs/465940532 can be found here: |
Dear @casella - could you please share your thoughts on this contribution? It closes a lot of issues and I have the next PR ready to fix the documentation, but this one should be merged first... Let me know if you want anything modified. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully tested that build works with VS2010.
list (APPEND INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/../externals/CoolProp.git/externals/cppformat") | ||
else() | ||
list(REMOVE_ITEM LIB_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/Sources/coolpropsolver.cpp") | ||
endif() | ||
|
||
## We use CMake to handle the dependency since the primary VCS for | ||
## ExternalMedia still is SVN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, this comment is outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I am going to remove it.
@@ -4,68 +4,36 @@ This directory contains the C/C++ source files in the Sources directory | |||
and script files to build the library using different Modelica tools, | |||
operating systems, and C/C++ compilers. | |||
|
|||
Instructions below build the static gcc library and copy it and the | |||
externalmedia.h header files in the Resource directories of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
externalmedia.h header files in the Resource directories of the | |
externalmedia.h header files in the Resources directories of the | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not waste time on the docs. I have a new PR lined up that fixes the docs, but this one has to be merged first.
@@ -4,68 +4,36 @@ This directory contains the C/C++ source files in the Sources directory | |||
and script files to build the library using different Modelica tools, | |||
operating systems, and C/C++ compilers. | |||
|
|||
Instructions below build the static gcc library and copy it and the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instructions below build the static gcc library and copy it and the | |
Instructions below build the static library and copy it and the | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not waste time on the docs. I have a new PR lined up that fixes the docs, but this one has to be merged first.
Instructions below build the static gcc library and copy it and the | ||
externalmedia.h header files in the Resource directories of the | ||
Modelica packages, so it can be used right away by just loading the | ||
package in you Modelica software. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package in you Modelica software. | |
package in your Modelica software. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not waste time on the docs. I have a new PR lined up that fixes the docs, but this one has to be merged first.
pushd "%EXTERNALS%" | ||
set CP_SRC=!CD!\CoolProp.git | ||
popd | ||
|
||
set BUILD_DIR="build" | ||
if not exist "%BUILD_DIR%" (mkdir "%BUILD_DIR%") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If build dir exists and I previously built MSVC for "x64" a subesequent build for "Win32" will use the same build dir and fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we may want to remove the script since the whole installation process now only needs 2 CMake commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I noticed when checking the CI part which is pretty impressive,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jowr, sorry for the delay and thank you for your patience. Now I have this think on the table.
I'll merge this and test it, and then report.
Thank you for the hard work!
@jowr, now that I look closer, I guess this PR was meant to be merged on master, not on v.3.3.0-dev, right? After merging it, v.3.3.0-dev is mostly broken. We probably need to revert it. Can we have a short webmeeting next week to coordinate? Now I finally have time to devote to ExternalMedia, and I can also get help from @fedetft, my local linux guru. I hope you also have some time now, so we can get this through Thanks! |
Changes in this PR:
General comments: