aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/hunspell/3rdparty/hunspell/CMakeLists.txt51
-rw-r--r--src/plugins/hunspell/CMakeLists.txt4
2 files changed, 22 insertions, 33 deletions
diff --git a/src/plugins/hunspell/3rdparty/hunspell/CMakeLists.txt b/src/plugins/hunspell/3rdparty/hunspell/CMakeLists.txt
index a954d3f4..aa97f346 100644
--- a/src/plugins/hunspell/3rdparty/hunspell/CMakeLists.txt
+++ b/src/plugins/hunspell/3rdparty/hunspell/CMakeLists.txt
@@ -1,5 +1,3 @@
-# Generated from hunspell.pro.
-
#####################################################################
## BundledHunspell Generic Library:
#####################################################################
@@ -8,43 +6,34 @@ qt_internal_add_3rdparty_library(BundledHunspell
QMAKE_LIB_NAME hunspell
STATIC
SOURCES
- config.h
- src/hunspell/affentry.cxx src/hunspell/affentry.hxx
- src/hunspell/affixmgr.cxx src/hunspell/affixmgr.hxx
- src/hunspell/atypes.hxx
- src/hunspell/baseaffix.hxx
- src/hunspell/csutil.cxx src/hunspell/csutil.hxx
- src/hunspell/filemgr.cxx src/hunspell/filemgr.hxx
- src/hunspell/hashmgr.cxx src/hunspell/hashmgr.hxx
- src/hunspell/htypes.hxx
- src/hunspell/hunspell.cxx src/hunspell/hunspell.h src/hunspell/hunspell.hxx
- src/hunspell/hunvisapi.h
- src/hunspell/hunzip.cxx src/hunspell/hunzip.hxx
- src/hunspell/langnum.hxx
- src/hunspell/phonet.cxx src/hunspell/phonet.hxx
- src/hunspell/replist.cxx src/hunspell/replist.hxx
- src/hunspell/suggestmgr.cxx src/hunspell/suggestmgr.hxx
- src/hunspell/w_char.hxx
+ hunspell/config.h
+ hunspell/src/hunspell/affentry.cxx hunspell/src/hunspell/affentry.hxx
+ hunspell/src/hunspell/affixmgr.cxx hunspell/src/hunspell/affixmgr.hxx
+ hunspell/src/hunspell/atypes.hxx
+ hunspell/src/hunspell/baseaffix.hxx
+ hunspell/src/hunspell/csutil.cxx hunspell/src/hunspell/csutil.hxx
+ hunspell/src/hunspell/filemgr.cxx hunspell/src/hunspell/filemgr.hxx
+ hunspell/src/hunspell/hashmgr.cxx hunspell/src/hunspell/hashmgr.hxx
+ hunspell/src/hunspell/htypes.hxx
+ hunspell/src/hunspell/hunspell.cxx hunspell/src/hunspell/hunspell.h hunspell/src/hunspell/hunspell.hxx
+ hunspell/src/hunspell/hunvisapi.h
+ hunspell/src/hunspell/hunzip.cxx hunspell/src/hunspell/hunzip.hxx
+ hunspell/src/hunspell/langnum.hxx
+ hunspell/src/hunspell/phonet.cxx hunspell/src/hunspell/phonet.hxx
+ hunspell/src/hunspell/replist.cxx hunspell/src/hunspell/replist.hxx
+ hunspell/src/hunspell/suggestmgr.cxx hunspell/src/hunspell/suggestmgr.hxx
+ hunspell/src/hunspell/w_char.hxx
PUBLIC_DEFINES
HUNSPELL_STATIC
PUBLIC_INCLUDE_DIRECTORIES
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/hunspell/src>
)
qt_disable_warnings(BundledHunspell)
-# special case begin
-file(READ ChangeLog HUNSPELL_VERSION LIMIT 10)
+file(READ hunspell/ChangeLog HUNSPELL_VERSION LIMIT 10)
string(STRIP ${HUNSPELL_VERSION} HUNSPELL_VERSION)
-configure_file(config.h.cmake.in config.h)
-# special case end
-
-#### Keys ignored in scope 1:.:.:hunspell.pro:<TRUE>:
-# OTHER_FILES = "src/hunspell/license.hunspell" "src/hunspell/license.myspell" "src/hunspell/utf_info.cxx"
-# config_file = "/* Version number of package */" "$${LITERAL_HASH}define VERSION "$$VERSION""
-
-## Scopes:
-#####################################################################
+configure_file(config.h.cmake.in hunspell/config.h)
qt_internal_extend_target(BundledHunspell CONDITION CMAKE_BUILD_TYPE STREQUAL Debug
DEFINES
diff --git a/src/plugins/hunspell/CMakeLists.txt b/src/plugins/hunspell/CMakeLists.txt
index 3ebc3efa..df705c47 100644
--- a/src/plugins/hunspell/CMakeLists.txt
+++ b/src/plugins/hunspell/CMakeLists.txt
@@ -1,7 +1,7 @@
# Generated from hunspell.pro.
-add_subdirectory(hunspellinputmethod)
-add_subdirectory(plugin)
if(QT_FEATURE_3rdparty_hunspell)
add_subdirectory(3rdparty/hunspell)
endif()
+add_subdirectory(hunspellinputmethod)
+add_subdirectory(plugin)