MantisBT - Zandronum
View Issue Details
0002938Zandronum[All Projects] Bugpublic2016-11-30 16:392018-09-30 21:49
Zalewa 
Edward-san 
normalmajoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.03.0 
0002938: /MP compilation not supported for Debug builds in Visual Studio 2015
Multi-process compilation is not supported in Visual Studio 2015. This is the warning message that is printed out when compiling:

cl : Command line warning D9030: '/Gm' is incompatible with multiprocessing; ignoring /MP switch [N:\dev\zandronum\vs2015\src\zdoom.vcxproj]

ZDoom doesn't have this problem. Tested with ZDoom commit 0488b18f8f1d381e49105256727d02abe7ed2c4e.
1. Configure Visual Studio 2015 project with CMake (I'm using 3.7.0-rc1).
2. Use v140_xp toolset.
3. Configure ZLib, FMOD, SSL libs, NASM path.
4. Add /MP switch to CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
5. Open cmd.exe and `cd` to the directory where the Visual Studio 2015 solution was created.
6. Run command `cmake --build . --config Debug`
No tags attached.
Issue History
2016-11-30 16:39ZalewaNew Issue
2016-11-30 17:30Edward-sanNote Added: 0016397
2016-11-30 17:30Edward-sanAssigned To => Edward-san
2016-11-30 17:30Edward-sanStatusnew => needs review
2016-11-30 17:37Edward-sanNote Edited: 0016397bug_revision_view_page.php?bugnote_id=16397#r9949
2016-12-18 19:26ZalewaNote Added: 0016529
2016-12-18 20:15Torr SamahoNote Added: 0016530
2016-12-18 20:16Torr SamahoStatusneeds review => needs testing
2016-12-18 20:16ZalewaNote Added: 0016531
2016-12-18 20:16Torr SamahoProduct Version => 3.0-beta
2016-12-18 20:16Torr SamahoTarget Version => 3.0
2017-02-06 19:21DuskStatusneeds testing => resolved
2017-02-06 19:21DuskFixed in Version => 3.0
2017-02-06 19:21DuskResolutionopen => fixed
2018-09-30 21:49Blzut3Statusresolved => closed

Notes
(0016397)
Edward-san   
2016-11-30 17:30   
(edited on: 2016-11-30 17:37)
I suppose it's a merge error when there was the 3.0 code upgrade. Should be fixed with this changeset:'https://bitbucket.org/zandronum/zandronum-sandbox/commits/6b711f117081b37fd4ca270c38058087459077c0 [^]' .

[edit] Whoops forgot to write `(fixes 2938)` in the commit and I don't want to redo the same commit unless I could strip the old change.

(0016529)
Zalewa   
2016-12-18 19:26   
Is there any reason why the fix isn't merged with the main repo yet? I keep shuffling my CMakeLists.txt between the working directory and the shelve.
(0016530)
Torr Samaho   
2016-12-18 20:15   
Quote from Zalewa
Is there any reason why the fix isn't merged with the main repo yet?

Since there was no pull request, I didn't notice this till now. Added.
(0016531)
Zalewa   
2016-12-18 20:16   
Thanks.