grantila / q

A platform-independent promise library for C++, implementing asynchronous continuations.
http://libq.io
Apache License 2.0
193 stars 24 forks source link

visual studio building entire solution does not work #6

Open rogierschouten opened 7 years ago

rogierschouten commented 7 years ago

Building the entire solution from scratch in visual studio 2015 seems to result in multiple projects trying to write the same .obj files at the same time. Building just the q project works.

grantila commented 7 years ago

Interesting, this hasn't happened to me, but Visual Studio is notoriously buggy when it comes to parallel compilations. Perhaps some other compiler flags by default could help.

Are you building to multiple targets in one go (x86 and x64 e.g.)?

rogierschouten commented 7 years ago

No I was just building the x64 release target. Can it be that some projects have .cpp files with the same name and they all have the same directory to store .obj files in?

grantila commented 7 years ago

Alright, they shouldn't end up in the same build directory if they are in different projects... I'll have a look at this in the weekend after having closed more generic CMake build changes.