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
replaced MSVC variable with WIN32 #1773
Conversation
@@ -52,7 +52,7 @@ set(HPX_LIBRARY_VERSION "${HPX_VERSION}") | |||
set(HPX_SOVERSION ${HPX_MAJOR_VERSION}) | |||
set(HPX_PACKAGE_NAME HPX) | |||
|
|||
if(MSVC) | |||
if(WIN32) |
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.
This is only needed when generating solutions for visual studio. Is this the case?
I just realized the tests are not compiled in this configuration. I am currently trying with pseudo targets and pseudo dependencies ON, because it seems mandatory to compile all the tests. Please don't merge the current version of the pull request |
In order to run the tests you'll have to explicitly request building them:
|
Yes, but the "tests" target does not exist if HPX_WITH_PSEUDO_DEPENDENCIES is OFF
I tried to run make from the folder tests\performance, test\regressions and tests\units, but i got only 'Nothing to be done for tests/XXXX/all', because these target did not have any dependency |
You're right, we disable pseudo dependencies for MSVC by default. This has to be fixed in the cmake files (see https://github.com/STEllAR-GROUP/hpx/blob/master/CMakeLists.txt#L154). |
yes, I already made this change (not pushed yet), but I have now some errors in tests cmakefiles. I have no more time today,i will correct it tomorrow |
just for information, I am compiling with the following options: with Boost version: 1.58.0 |
replaced MSVC variable with WIN32
@ericLemanissier What's the state of this PR? Can we go ahead and consider merging it now? |
except for #1802 it seems to be ok in the configuration I tested ( i686-5.1.0-posix-dwarf-rt_v4-rev0 and x86_64-5.1.0-posix-seh-rt_v4-rev with boost 1.58 and hwloc 1.11.0). According to me It can be merged |
Thanks! LGTM. |
solves #1756