Skip to content

Commit

Permalink
Windows: Moved platform-specific sources under "windows"
Browse files Browse the repository at this point in the history
Consolidating sources under one folder.
  • Loading branch information
skyjake committed Nov 13, 2012
1 parent ffca4da commit b787a38
Show file tree
Hide file tree
Showing 18 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions doomsday/config.pri
Expand Up @@ -38,11 +38,11 @@ CONFIG *= thread

# Directories ----------------------------------------------------------------

DENG_API_DIR = $$PWD/engine/api
DENG_INCLUDE_DIR = $$PWD/engine/include
DENG_UNIX_INCLUDE_DIR = $$PWD/engine/include/unix
DENG_MAC_INCLUDE_DIR = $$PWD/engine/include/macx
DENG_WIN_INCLUDE_DIR = $$PWD/engine/win32/include
DENG_API_DIR = $$PWD/engine/api
DENG_INCLUDE_DIR = $$PWD/engine/include
DENG_UNIX_INCLUDE_DIR = $$DENG_INCLUDE_DIR/unix
DENG_MAC_INCLUDE_DIR = $$DENG_INCLUDE_DIR/macx
DENG_WIN_INCLUDE_DIR = $$DENG_INCLUDE_DIR/windows

# Binaries and generated files are placed here.
DENG_WIN_PRODUCTS_DIR = $$PWD/../distrib/products
Expand Down
20 changes: 10 additions & 10 deletions doomsday/engine/engine.pro
Expand Up @@ -39,7 +39,7 @@ DEFINES += __DOOMSDAY__
}

win32 {
RC_FILE = win32/res/doomsday.rc
RC_FILE = res/windows/doomsday.rc
OTHER_FILES += api/doomsday.def
}
else:macx {
Expand Down Expand Up @@ -381,14 +381,14 @@ win32 {
INCLUDEPATH += $$DENG_WIN_INCLUDE_DIR

SOURCES += \
win32/src/dd_winit.c \
win32/src/directinput.cpp \
win32/src/sys_console.c \
win32/src/sys_findfile.c \
win32/src/joystick_win32.cpp \
win32/src/mouse_win32.cpp

!deng_nodisplaymode: SOURCES += win32/src/displaymode_win32.cpp
src/windows/dd_winit.c \
src/windows/directinput.cpp \
src/windows/sys_console.c \
src/windows/sys_findfile.c \
src/windows/joystick_win32.cpp \
src/windows/mouse_win32.cpp

!deng_nodisplaymode: SOURCES += src/windows/displaymode_win32.cpp
}
else:unix {
# Common Unix (including Mac OS X).
Expand Down Expand Up @@ -754,7 +754,7 @@ macx {
license.files = doc/LICENSE
license.path = $$DENG_DOCS_DIR

icon.files = win32/res/doomsday.ico
icon.files = res/windows/doomsday.ico
icon.path = $$DENG_DATA_DIR/graphics
}
else {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b787a38

Please sign in to comment.