Skip to content

Commit 6d96a69

Browse files
authored
Merge pull request #233 from jwillemsen/jwi-bcc64xpdbl
Add separate flag for creating pdb files with bcc64x, enable this by …
2 parents b061a4b + 700de10 commit 6d96a69

File tree

6 files changed

+14
-1
lines changed

6 files changed

+14
-1
lines changed

docs/templates/bmake.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ exeflags = Linker flags that are required to create an executable.
2222
libflags = Flags that are required to create a static library.
2323
link = The name of the tool used to create dynamic libraries and executables.
2424
obj_ext = The extension given to object files.
25+
pdbl = If this boolean template variable is set, the Linker Debugging property "Generate Program Database File" will be set according to the project target.
2526
rc = The name of the resource compiler.
2627
rcdir = The list of directories to be searched when locating resource files. This is determined by the BMakeProjectCreator.
2728
startup_letter = The text used during the creation of the startup object file.

templates/bmake.mpd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DEBUG_EXT = <%debug_ext%>
5353
<%foreach(configurations)%>
5454
!ifdef <%normalize(uc(configuration))%>
5555
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%>
56-
LFLAGS =<%if(debug_prj)%> $(PDB_FLAGS)<%endif%>
56+
LFLAGS =<%if(pdbl)%> $(PDB_FLAGS)<%endif%>
5757
CFG_DIR = <%intermediate_dir%>\\
5858
LIBMODIFIER = <%if(use_lib_modifier)%><%lib_modifier%><%endif%>
5959
EXEMODIFIER = <%if(use_exe_modifier)%><%lib_modifier%><%endif%>

templates/bmakedll.mpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Release {
99
defines = NDEBUG
1010
intermediate_dir = Release
1111
lib_modifier = _br
12+
pdbl = 1
1213
}
1314

1415
Debug {
@@ -17,6 +18,7 @@ Debug {
1718
defines = _DEBUG
1819
intermediate_dir = Debug
1920
lib_modifier = _bd
21+
pdbl = 1
2022
}
2123

2224
Static Release {
@@ -26,6 +28,7 @@ Static Release {
2628
intermediate_dir = Static_Release
2729
lib_modifier = _bsr
2830
type_is_static = 1
31+
pdbl = 1
2932
}
3033

3134
Static Debug {
@@ -36,6 +39,7 @@ Static Debug {
3639
intermediate_dir = Static_Debug
3740
lib_modifier = _bsd
3841
type_is_static = 1
42+
pdbl = 1
3943
}
4044

4145
conditional_include "user_bmakedll"

templates/bmakedllexe.mpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Release {
1010
output_dir = Release
1111
intermediate_dir = Release
1212
lib_modifier = _br
13+
pdbl = 1
1314
}
1415

1516
Debug {
@@ -18,6 +19,7 @@ Debug {
1819
defines = _DEBUG
1920
intermediate_dir = Debug
2021
lib_modifier = _bd
22+
pdbl = 1
2123
}
2224

2325
Static Release {
@@ -27,6 +29,7 @@ Static Release {
2729
intermediate_dir = Static_Release
2830
lib_modifier = _bsr
2931
type_is_static = 1
32+
pdbl = 1
3033
}
3134

3235
Static Debug {
@@ -37,6 +40,7 @@ Static Debug {
3740
intermediate_dir = Static_Debug
3841
lib_modifier = _bsd
3942
type_is_static = 1
43+
pdbl = 1
4044
}
4145

4246
conditional_include "user_bmakedllexe"

templates/bmakelib.mpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release {
66
defines = NDEBUG
77
intermediate_dir = Static_Release
88
lib_modifier = _bsr
9+
pdbl = 1
910
}
1011

1112
Debug {
@@ -14,6 +15,7 @@ Debug {
1415
defines = _DEBUG
1516
intermediate_dir = Static_Debug
1617
lib_modifier = _bsd
18+
pdbl = 1
1719
}
1820

1921
conditional_include "user_bmakelib"

templates/bmakelibexe.mpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Release {
99
output_dir = Static_Release
1010
intermediate_dir = Static_Release
1111
lib_modifier = _bsr
12+
pdbl = 1
1213
}
1314

1415
Debug {
@@ -18,6 +19,7 @@ Debug {
1819
output_dir = Static_Debug
1920
intermediate_dir = Static_Debug
2021
lib_modifier = _bsd
22+
pdbl = 1
2123
}
2224

2325
conditional_include "user_bmakelibexe"

0 commit comments

Comments
 (0)