Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/templates/bmake.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ exeflags = Linker flags that are required to create an executable.
libflags = Flags that are required to create a static library.
link = The name of the tool used to create dynamic libraries and executables.
obj_ext = The extension given to object files.
pdbl = If this boolean template variable is set, the Linker Debugging property "Generate Program Database File" will be set according to the project target.
rc = The name of the resource compiler.
rcdir = The list of directories to be searched when locating resource files. This is determined by the BMakeProjectCreator.
startup_letter = The text used during the creation of the startup object file.
Expand Down
2 changes: 1 addition & 1 deletion templates/bmake.mpd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ DEBUG_EXT = <%debug_ext%>
<%foreach(configurations)%>
!ifdef <%normalize(uc(configuration))%>
OCFLAGS = <%if(optimize)%>$(OPTIMIZE_CFLAGS) <%else%><%if(debug_prj)%>$(DEBUG_CFLAGS)<%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%><%if(!debug_prj)%> $(RELEASE_CFLAGS)<%endif%>
LFLAGS =<%if(debug_prj)%> $(PDB_FLAGS)<%endif%>
LFLAGS =<%if(pdbl)%> $(PDB_FLAGS)<%endif%>
CFG_DIR = <%intermediate_dir%>\\
LIBMODIFIER = <%if(use_lib_modifier)%><%lib_modifier%><%endif%>
EXEMODIFIER = <%if(use_exe_modifier)%><%lib_modifier%><%endif%>
Expand Down
4 changes: 4 additions & 0 deletions templates/bmakedll.mpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Release {
defines = NDEBUG
intermediate_dir = Release
lib_modifier = _br
pdbl = 1
}

Debug {
Expand All @@ -17,6 +18,7 @@ Debug {
defines = _DEBUG
intermediate_dir = Debug
lib_modifier = _bd
pdbl = 1
}

Static Release {
Expand All @@ -26,6 +28,7 @@ Static Release {
intermediate_dir = Static_Release
lib_modifier = _bsr
type_is_static = 1
pdbl = 1
}

Static Debug {
Expand All @@ -36,6 +39,7 @@ Static Debug {
intermediate_dir = Static_Debug
lib_modifier = _bsd
type_is_static = 1
pdbl = 1
}

conditional_include "user_bmakedll"
4 changes: 4 additions & 0 deletions templates/bmakedllexe.mpt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Release {
output_dir = Release
intermediate_dir = Release
lib_modifier = _br
pdbl = 1
}

Debug {
Expand All @@ -18,6 +19,7 @@ Debug {
defines = _DEBUG
intermediate_dir = Debug
lib_modifier = _bd
pdbl = 1
}

Static Release {
Expand All @@ -27,6 +29,7 @@ Static Release {
intermediate_dir = Static_Release
lib_modifier = _bsr
type_is_static = 1
pdbl = 1
}

Static Debug {
Expand All @@ -37,6 +40,7 @@ Static Debug {
intermediate_dir = Static_Debug
lib_modifier = _bsd
type_is_static = 1
pdbl = 1
}

conditional_include "user_bmakedllexe"
2 changes: 2 additions & 0 deletions templates/bmakelib.mpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release {
defines = NDEBUG
intermediate_dir = Static_Release
lib_modifier = _bsr
pdbl = 1
}

Debug {
Expand All @@ -14,6 +15,7 @@ Debug {
defines = _DEBUG
intermediate_dir = Static_Debug
lib_modifier = _bsd
pdbl = 1
}

conditional_include "user_bmakelib"
2 changes: 2 additions & 0 deletions templates/bmakelibexe.mpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Release {
output_dir = Static_Release
intermediate_dir = Static_Release
lib_modifier = _bsr
pdbl = 1
}

Debug {
Expand All @@ -18,6 +19,7 @@ Debug {
output_dir = Static_Debug
intermediate_dir = Static_Debug
lib_modifier = _bsd
pdbl = 1
}

conditional_include "user_bmakelibexe"