Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename src/corelib to src/cpp #47767

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ vendor
/Makefile
/src/config.h
/src/Makefile
/src/corelib/Makefile
/src/corelib/corelib/Makefile
/src/corelib/libpushpin-core.a
/src/corelib/tests/Makefile
/src/corelib/tests/*test/Makefile
/src/corelib/tests/*test/*test
/src/cpp/Makefile
/src/cpp/cpp/Makefile
/src/cpp/libpushpin-cpp.a
/src/cpp/tests/Makefile
/src/cpp/tests/*test/Makefile
/src/cpp/tests/*test/*test
/src/m2adapter/Makefile
/src/proxy/Makefile
/src/proxy/libpushpin-proxy/Makefile
Expand Down
1 change: 0 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ DESTDIR=build/pushpin-$VERSION
mkdir -p $DESTDIR

cp -a .gitignore build.rs Cargo.lock Cargo.toml CHANGELOG.md configure examples LICENSE pushpin.pro pushpin.qc qcm README.md src tools $DESTDIR
rm -rf $DESTDIR/src/corelib/qzmq/.git $DESTDIR/src/corelib/common/.git

sed -i -e "s/^version = .*/version = \"$VERSION\"/g" $DESTDIR/Cargo.toml

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/corelib/corelib.pro → src/cpp/cpp.pro
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
TEMPLATE = subdirs

corelib.subdir = corelib
cpp.subdir = cpp
tests.subdir = tests
tests.depends = corelib
tests.depends = cpp

tests.CONFIG += no_default_install

SUBDIRS += \
corelib \
cpp \
tests
File renamed without changes.
4 changes: 2 additions & 2 deletions src/corelib/corelib/corelib.pro → src/cpp/cpp/cpp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ CONFIG -= app_bundle
CONFIG += staticlib
QT -= gui
QT += network
TARGET = pushpin-core
TARGET = pushpin-cpp
DESTDIR = ..

MOC_DIR = $$OUT_PWD/_moc
OBJECTS_DIR = $$OUT_PWD/_obj

include($$OUT_PWD/../../rust/lib.pri)
include($$OUT_PWD/../../../conf.pri)
include(corelib.pri)
include(cpp.pri)
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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/corelib/tests/tests.pri → src/cpp/tests/tests.pri
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ SRC_DIR = $$PWD/..
QZMQ_DIR = $$SRC_DIR/qzmq
RUST_DIR = $$SRC_DIR/../rust

LIBS += -L$$SRC_DIR -lpushpin-core
PRE_TARGETDEPS += $$PWD/../libpushpin-core.a
LIBS += -L$$SRC_DIR -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../libpushpin-cpp.a

include($$PWD/../../rust/lib.pri)
include($$PWD/../../../conf.pri)
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.
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.
6 changes: 3 additions & 3 deletions src/handler/libpushpin-handler/libpushpin-handler.pri
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)

SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
QZMQ_DIR = $$CORE_DIR/qzmq
CPP_DIR = $$PWD/../../cpp
QZMQ_DIR = $$CPP_DIR/qzmq

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR

INCLUDEPATH += $$QZMQ_DIR/src

Expand Down
4 changes: 2 additions & 2 deletions src/handler/libpushpin-handler/libpushpin-handler.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ DESTDIR = ..
MOC_DIR = $$OUT_PWD/_moc
OBJECTS_DIR = $$OUT_PWD/_obj

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$OUT_PWD/../../rust/lib.pri)
include($$OUT_PWD/../../../conf.pri)
Expand Down
6 changes: 3 additions & 3 deletions src/handler/pushpin-handler/pushpin-handler.pri
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)

SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
QZMQ_DIR = $$CORE_DIR/qzmq
CPP_DIR = $$PWD/../../cpp
QZMQ_DIR = $$CPP_DIR/qzmq

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR
INCLUDEPATH += $$QZMQ_DIR/src

DEFINES += NO_IRISNET
Expand Down
4 changes: 2 additions & 2 deletions src/handler/pushpin-handler/pushpin-handler.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ OBJECTS_DIR = $$OUT_PWD/_obj
LIBS += -L$$PWD/.. -lpushpin-handler
PRE_TARGETDEPS += $$PWD/../libpushpin-handler.a

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$OUT_PWD/../../rust/lib.pri)
include($$OUT_PWD/../../../conf.pri)
Expand Down
10 changes: 5 additions & 5 deletions src/handler/tests/tests.pri
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ QT *= network testlib

TESTS_DIR = $$PWD
SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
QZMQ_DIR = $$CORE_DIR/qzmq
CPP_DIR = $$PWD/../../cpp
QZMQ_DIR = $$CPP_DIR/qzmq

LIBS += -L$$SRC_DIR -lpushpin-handler
PRE_TARGETDEPS += $$PWD/../libpushpin-handler.a

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$PWD/../../rust/lib.pri)
include($$PWD/../../../conf.pri)

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR
INCLUDEPATH += $$QZMQ_DIR/src

DEFINES += NO_IRISNET
6 changes: 3 additions & 3 deletions src/m2adapter/m2adapter.pri
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CORE_DIR = $$PWD/../corelib
QZMQ_DIR = $$PWD/../corelib/qzmq
CPP_DIR = $$PWD/../cpp
QZMQ_DIR = $$PWD/../cpp/qzmq

INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR

INCLUDEPATH += $$QZMQ_DIR/src

Expand Down
4 changes: 2 additions & 2 deletions src/m2adapter/m2adapter.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ DESTDIR = ../../bin
MOC_DIR = $$OUT_PWD/_moc
OBJECTS_DIR = $$OUT_PWD/_obj

LIBS += -L$$PWD/../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../corelib/libpushpin-core.a
LIBS += -L$$PWD/../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../cpp/libpushpin-cpp.a

include($$OUT_PWD/../rust/lib.pri)
include($$OUT_PWD/../../conf.pri)
Expand Down
6 changes: 3 additions & 3 deletions src/proxy/libpushpin-proxy/libpushpin-proxy.pri
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)

SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
QZMQ_DIR = $$CORE_DIR/qzmq
CPP_DIR = $$PWD/../../cpp
QZMQ_DIR = $$CPP_DIR/qzmq
RUST_DIR = $$SRC_DIR/../rust

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR

INCLUDEPATH += $$QZMQ_DIR/src

Expand Down
4 changes: 2 additions & 2 deletions src/proxy/libpushpin-proxy/libpushpin-proxy.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ DESTDIR = ..
MOC_DIR = $$OUT_PWD/_moc
OBJECTS_DIR = $$OUT_PWD/_obj

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$OUT_PWD/../../rust/lib.pri)
include($$OUT_PWD/../../../conf.pri)
Expand Down
6 changes: 3 additions & 3 deletions src/proxy/pushpin-proxy/pushpin-proxy.pri
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)

SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
QZMQ_DIR = $$CORE_DIR/qzmq
CPP_DIR = $$PWD/../../cpp
QZMQ_DIR = $$CPP_DIR/qzmq
RUST_DIR = $$SRC_DIR/../rust

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR
INCLUDEPATH += $$QZMQ_DIR/src

DEFINES += NO_IRISNET
Expand Down
4 changes: 2 additions & 2 deletions src/proxy/pushpin-proxy/pushpin-proxy.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ OBJECTS_DIR = $$OUT_PWD/_obj
LIBS += -L$$PWD/.. -lpushpin-proxy
PRE_TARGETDEPS += $$PWD/../libpushpin-proxy.a

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$OUT_PWD/../../rust/lib.pri)
include($$OUT_PWD/../../../conf.pri)
Expand Down
10 changes: 5 additions & 5 deletions src/proxy/tests/tests.pri
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ QT *= network testlib

TESTS_DIR = $$PWD
SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
QZMQ_DIR = $$CORE_DIR/qzmq
CPP_DIR = $$PWD/../../cpp
QZMQ_DIR = $$CPP_DIR/qzmq
RUST_DIR = $$SRC_DIR/../rust

LIBS += -L$$SRC_DIR -lpushpin-proxy
PRE_TARGETDEPS += $$PWD/../libpushpin-proxy.a

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$PWD/../../rust/lib.pri)
include($$PWD/../../../conf.pri)

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR
INCLUDEPATH += $$QZMQ_DIR/src

DEFINES += NO_IRISNET
Expand Down
4 changes: 2 additions & 2 deletions src/runner/librunner/librunner.pri
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)

SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
CPP_DIR = $$PWD/../../cpp

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR

DEFINES += NO_IRISNET

Expand Down
4 changes: 2 additions & 2 deletions src/runner/librunner/librunner.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ DESTDIR = ..
MOC_DIR = $$OUT_PWD/_moc
OBJECTS_DIR = $$OUT_PWD/_obj

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$OUT_PWD/../../../conf.pri)
include(librunner.pri)
4 changes: 2 additions & 2 deletions src/runner/runner/runner.pri
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)

SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
CPP_DIR = $$PWD/../../cpp

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR

DEFINES += NO_IRISNET

Expand Down
4 changes: 2 additions & 2 deletions src/runner/runner/runner.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ OBJECTS_DIR = $$OUT_PWD/_obj
LIBS += -L$$PWD/.. -lrunner
PRE_TARGETDEPS += $$PWD/../librunner.a

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$OUT_PWD/../../../conf.pri)
include(runner.pri)
Expand Down
8 changes: 4 additions & 4 deletions src/runner/tests/tests.pri
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ QT *= network testlib

TESTS_DIR = $$PWD
SRC_DIR = $$PWD/..
CORE_DIR = $$PWD/../../corelib
CPP_DIR = $$PWD/../../cpp

LIBS += -L$$SRC_DIR -lrunner
PRE_TARGETDEPS += $$PWD/../librunner.a

LIBS += -L$$PWD/../../corelib -lpushpin-core
PRE_TARGETDEPS += $$PWD/../../corelib/libpushpin-core.a
LIBS += -L$$PWD/../../cpp -lpushpin-cpp
PRE_TARGETDEPS += $$PWD/../../cpp/libpushpin-cpp.a

include($$PWD/../../../conf.pri)

INCLUDEPATH += $$SRC_DIR
INCLUDEPATH += $$CORE_DIR
INCLUDEPATH += $$CPP_DIR

DEFINES += NO_IRISNET
14 changes: 7 additions & 7 deletions src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ include($$OUT_PWD/../conf.pri)

rust.subdir = rust

corelib.subdir = corelib
corelib.depends = rust
cpp.subdir = cpp
cpp.depends = rust

m2adapter.subdir = m2adapter
m2adapter.depends = corelib
m2adapter.depends = cpp

proxy.subdir = proxy
proxy.depends = corelib
proxy.depends = cpp

handler.subdir = handler
handler.depends = corelib
handler.depends = cpp

runner.subdir = runner
runner.depends = corelib
runner.depends = cpp

pushpin.subdir = pushpin

SUBDIRS += \
rust \
corelib \
cpp \
m2adapter \
proxy \
handler \
Expand Down