roo_e/roo-e/roo-e.pro
2022-10-02 15:52:21 -05:00

105 lines
2.3 KiB
Prolog

#
# Roo/E, the Kangaroo Punch Portable GUI Toolkit
# Copyright (C) 2022 Scott Duensing
#
# http://kangaroopunch.com
#
#
# This file is part of Roo/E.
#
# Roo/E is free software: you can redistribute it and/or modify it under the
# terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# Roo/E is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with Roo/E. If not, see <https://www.gnu.org/licenses/>.
#
TEMPLATE = lib
CONFIG -= \
app_bundle \
qt
CONFIG += \
console \
c99 \
staticlib
CONFIG += BACKEND_SDL2
#CONFIG += BACKEND_DJGPP
SHARED = $$PWD/../shared
DESTDIR = $$OUT_PWD/bin
INCLUDEPATH += \
$$PWD/src \
$$SHARED
HEADERS += \
$$SHARED/macros.h \
$$SHARED/array.h \
$$SHARED/memory.h \
$$SHARED/stddclmr.h \
$$SHARED/thirdparty/memwatch/memwatch.h \
$$SHARED/thirdparty/stb_ds.h \
$$SHARED/log.h \
$$SHARED/util.h \
src/gui/font.h \
src/gui/gui-all.h \
src/gui/gui.h \
src/gui/image.h \
src/gui/surface.h \
src/gui/widgets/button.h \
src/gui/widgets/checkbox.h \
src/gui/widgets/frame.h \
src/gui/widgets/label.h \
src/gui/widgets/picture.h \
src/gui/widgets/radio.h \
src/gui/widgets/hscroll.h \
src/gui/widgets/scroll.h \
src/gui/widgets/vscroll.h \
src/gui/wmwindow.h \
src/os.h \
src/platform/platform.h \
src/thirdparty/stb_image.h
SOURCES += \
$$SHARED/array.c \
$$SHARED/memory.c \
$$SHARED/thirdparty/memwatch/memwatch.c \
$$SHARED/log.c \
$$SHARED/util.c \
src/gui/font.c \
src/gui/gui.c \
src/gui/image.c \
src/gui/surface.c \
src/gui/widgets/button.c \
src/gui/widgets/checkbox.c \
src/gui/widgets/frame.c \
src/gui/widgets/label.c \
src/gui/widgets/picture.c \
src/gui/widgets/radio.c \
src/gui/widgets/hscroll.c \
src/gui/widgets/scroll.c \
src/gui/widgets/vscroll.c \
src/gui/wmwindow.c \
src/platform/djgpp.c \
src/platform/sdl2.c
BACKEND_SDL2 {
DEFINES += BACKEND_SDL2
LIBS += \
-lSDL2
}
BACKEND_DJGPP {
DEFINES += BACKEND_DJGPP
}