Skip to content

Commit

Permalink
Update for OBCMake Library changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Aug 7, 2024
1 parent 1b0c098 commit 06c1ffe
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ project(Qx

# Get helper scripts
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/FetchOBCMake.cmake)
fetch_ob_cmake("v0.3.5")
fetch_ob_cmake("96031c2fb046880cc09cb0334d117bf18ab01028")

# Initialize project according to standard rules
include(OB/Project)
Expand Down
3 changes: 0 additions & 3 deletions cmake/module/Qx/ComponentHelper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ function(qx_add_component COMPONENT_NAME)
)

set(multiValueArgs
HEADERS_PRIVATE
HEADERS_API
IMPLEMENTATION
DOC_ONLY
Expand Down Expand Up @@ -136,8 +135,6 @@ function(qx_add_component COMPONENT_NAME)
TYPE "${COMPONENT_TYPE}"
EXPORT_HEADER
PATH "${PROJECT_NAMESPACE_LC}/${COMPONENT_NAME_LC}/${PROJECT_NAMESPACE_LC}_${COMPONENT_NAME_LC}_export.h"
HEADERS_PRIVATE
${COMPONENT_HEADERS_PRIVATE}
HEADERS_API
COMMON "${PROJECT_NAMESPACE_LC}/${COMPONENT_NAME_LC}"
FILES ${COMPONENT_HEADERS_API}
Expand Down
16 changes: 7 additions & 9 deletions lib/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#================= Add Component ==========================
qx_add_component("Core"
HEADERS_PRIVATE
qx-json_p.h
qx-processbider_p.h
qx-system_p.h
__private/qx-processwaiter.h
__private/qx-processwaiter_win.h
__private/qx-processwaiter_linux.h
qx_add_component("Core"
HEADERS_API
qx-abstracterror.h
qx-algorithm.h
Expand Down Expand Up @@ -57,23 +50,28 @@ qx_add_component("Core"
qx-iostream_linux.cpp
qx-iostream_win.cpp
qx-json.cpp
qx-json_p.h
qx-json_p.cpp
qx-processbider.cpp
qx-processbider_p.h
qx-progressgroup.cpp
qx-versionnumber.cpp
qx-string.cpp
qx-system.cpp
qx-system_linux.cpp
qx-system_win.cpp
qx-system_p.h
qx-system_p_win.cpp
qx-system_p_linux.cpp
qx-systemerror.cpp
qx-systemerror_linux.cpp
qx-systemerror_win.cpp
__private/qx-internalerror.cpp
__private/qx-processwaiter.cpp
__private/qx-processwaiter.h
__private/qx-processwaiter.cpp
__private/qx-processwaiter_win.h
__private/qx-processwaiter_win.cpp
__private/qx-processwaiter_linux.h
__private/qx-processwaiter_linux.cpp
DOC_ONLY
qx-regularexpression.dox
Expand Down
3 changes: 1 addition & 2 deletions lib/io/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#================= Add Component ==========================
qx_add_component("Io"
HEADERS_PRIVATE
qx-common-io_p.h
HEADERS_API
qx-applicationlogger.h
qx-common-io.h
Expand All @@ -16,6 +14,7 @@ qx_add_component("Io"
IMPLEMENTATION
qx-applicationlogger.cpp
qx-common-io.cpp
qx-common-io_p.h
qx-common-io_p.cpp
qx-filestreamreader.cpp
qx-filestreamwriter.cpp
Expand Down
5 changes: 2 additions & 3 deletions lib/widgets/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#================= Add Component ==========================
qx_add_component("Widgets"
HEADERS_PRIVATE
qx-common-widgets_p.h
qx_add_component("Widgets"
HEADERS_API
qx-common-widgets.h
qx-logindialog.h
qx-standarditemmodel.h
qx-treeinputdialog.h
IMPLEMENTATION
qx-common-widgets.cpp
qx-common-widgets_p.h
qx-common-widgets_p.cpp
qx-logindialog.cpp
qx-standarditemmodel.cpp
Expand Down
5 changes: 2 additions & 3 deletions lib/windows-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#================= Add Component ==========================
qx_add_component("Windows-gui"
HEADERS_PRIVATE
qx-winguieventfilter_p.h
qx_add_component("Windows-gui"
HEADERS_API
qx-taskbarbutton.h
qx-winguievent.h
IMPLEMENTATION
qx-taskbarbutton.cpp
qx-winguievent.cpp
qx-winguieventfilter_p.h
qx-winguieventfilter.cpp
LINKS
PRIVATE
Expand Down

0 comments on commit 06c1ffe

Please sign in to comment.