#
# Hints for Windows platforms.
#
use Config;
if ( $Config{cc} =~ /gcc\.exe/i ) {
# With MinGW we require the following
$self->{CCFLAGS} .= " -x c++";
} else {
# Ensure we're using /TP
$self->{DEFINE} .= " /TP";
}
# Make sure we're not linking with -debug on Windows as the linker chokes
# (the Perforce API is assumed to not be a debug build).
$self->{LDDLFLAGS} = $Config{ 'lddlflags' };
$self->{LDDLFLAGS} =~ s/ -debug//g;
#
# Hint that our OS name is 'NT' rather than anything else
#
$self->{P4PERL_OS_HINT} = "NT";
$self->{P4PERL_OSVER_HINT} = "";
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 19582 | jmash | Initial fork of P4Perl. | ||
| //guest/perforce_software/p4perl/main/hints/mswin32.pl | |||||
| #1 | 15920 | Matt Attaway | Move p4perl files into the main directory | ||
| //guest/perforce_software/p4perl/hints/mswin32.pl | |||||
| #2 | 11926 | Robert Cowham |
Updated P4Perl to use MinGW. Tested with ActiveState 5.20 and P4API 14.1 #review @pallen |
||
| #1 | 8486 | Paul Allen |
Initial population of P4PERL from: //depot/main/p4-perl/...@565514 //depot/main/p4-doc/user/p4perlnotes.txt@565514 |
||