Conversation
|
Sorry why is this needed? When I was using windows in the 1990s, the MSVC approach was two distinct build directories, ./Release and ./Debug which contained the corresponding outputs, without any chance of conflict. CMake is very much on board with this, since the official way to build lws is to build to a subdir, eg, |
|
Yeah I should have clarified. This doesn't relate so much to the build process as the installed layout: so that they can live alongside each other within a common installed directory. Since on windows you can only link "debug" executables with "debug" libraries, if you are switching back and forth between building the application in Debug and Release modes, then it's extremely convenient to have both Debug and Release modes of the libraries already compiled and installed somewhere. |
3742e46 to
028931a
Compare
now has appropriate rules for shared and static targets
aca2548 to
20263de
Compare
e028532 to
5867044
Compare
36ef2d6 to
c9bf70c
Compare
e50f2bd to
10d3ba4
Compare
0f65cc9 to
c5ef352
Compare
LWS_APPEND_DEBUG_SUFFIX_Dto allow user to indicate that Debug compile version should have a name with adsuffix, thereby enabling the release-mode version to live alongside it.