view build/windows.makefile @ 114:547cd31fa12a

CMake: improve of the windows support for ldc.
author SokoL_SD
date Wed, 03 Jun 2009 15:53:24 +0000
parents e78566595089
children 76e5e8597a83
line wrap: on
line source
SYSTEM = windows
ifndef QTDIR
QTDIR = J:\Qt\2009.02\qt
endif
IMPLIB = implib /system /PAGESIZE:32
LIB_EXT = lib
DYN_LIB_EXT = dll
D_OBJ_EXT = obj
LIB_NAME_PREFIX =
LIB_LINK = mingw32 qtmain
BIN_EXT = .exe
GEN = release\generator$(BIN_EXT)
MKDIR = build\mkdir.bat
RM = build\rm.exe
SL = \\

CC_LFLAGS += -Wl -Wl,-subsystem,windows

ifndef QTDIR_INC
QTDIR_INC = $(QTDIR)\include
endif

ifndef QTDIR_LIB
QTDIR_LIB = $(QTDIR)\lib
endif

## Force CPP_SHARED on windows
ifeq ($(SYSTEM), windows)
CPP_SHARED = true
endif
QT_LIB_POSTFIX = 4