Skip to content

Commit

Permalink
Update CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
ElTh0r0 committed Mar 30, 2024
1 parent 9193e8d commit 36ba0ee
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions application/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set(CMAKE_AUTORCC ON)

add_executable(inyokaedit)

target_compile_features(inyokaedit PUBLIC cxx_std_11)
target_compile_features(inyokaedit PUBLIC cxx_std_17)
target_compile_definitions(inyokaedit
PRIVATE
APP_NAME="${PROJECT_NAME}"
Expand All @@ -35,7 +35,7 @@ target_compile_definitions(inyokaedit
)
target_compile_options(inyokaedit
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(inyokaedit
Expand Down
6 changes: 3 additions & 3 deletions plugins/highlighter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with InyokaEdit. If not, see <https://www.gnu.org/licenses/>.

project(highlighter
VERSION 1.3.1
VERSION 1.4.2
DESCRIPTION "Syntax highlighter plugin for InyokaEdit"
HOMEPAGE_URL "https://github.com/inyokaproject/inyokaedit"
)
Expand All @@ -31,7 +31,7 @@ find_package(${QT_MAIN_VERSION} ${QT_MINIMUM_VERSION}

add_library(highlighter SHARED)

target_compile_features(highlighter PUBLIC cxx_std_11)
target_compile_features(highlighter PUBLIC cxx_std_17)
target_compile_definitions(highlighter
PRIVATE
PLUGIN_NAME="${PROJECT_NAME}"
Expand All @@ -41,7 +41,7 @@ target_compile_definitions(highlighter
)
target_compile_options(highlighter
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(highlighter
Expand Down
6 changes: 3 additions & 3 deletions plugins/hotkey/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with InyokaEdit. If not, see <https://www.gnu.org/licenses/>.

project(hotkey
VERSION 1.2.5
VERSION 1.3.0
DESCRIPTION "Hotkey plugin for InyokaEdit"
HOMEPAGE_URL "https://github.com/inyokaproject/inyokaedit"
)
Expand All @@ -31,7 +31,7 @@ find_package(${QT_MAIN_VERSION} ${QT_MINIMUM_VERSION}

add_library(hotkey SHARED)

target_compile_features(hotkey PUBLIC cxx_std_11)
target_compile_features(hotkey PUBLIC cxx_std_17)
target_compile_definitions(hotkey
PRIVATE
PLUGIN_NAME="${PROJECT_NAME}"
Expand All @@ -41,7 +41,7 @@ target_compile_definitions(hotkey
)
target_compile_options(hotkey
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(hotkey
Expand Down
6 changes: 3 additions & 3 deletions plugins/spellchecker-hunspell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with InyokaEdit. If not, see <https://www.gnu.org/licenses/>.

project(spellchecker-hunspell
VERSION 1.3.0
VERSION 1.4.0
DESCRIPTION "Hunspell based spell checker plugin for InyokaEdit"
HOMEPAGE_URL "https://github.com/inyokaproject/inyokaedit"
)
Expand All @@ -32,7 +32,7 @@ find_package(HUNSPELL REQUIRED)

add_library(spellchecker-hunspell SHARED)

target_compile_features(spellchecker-hunspell PUBLIC cxx_std_11)
target_compile_features(spellchecker-hunspell PUBLIC cxx_std_17)
target_compile_definitions(spellchecker-hunspell
PRIVATE
PLUGIN_NAME="${PROJECT_NAME}"
Expand All @@ -42,7 +42,7 @@ target_compile_definitions(spellchecker-hunspell
)
target_compile_options(spellchecker-hunspell
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(spellchecker-hunspell
Expand Down
4 changes: 2 additions & 2 deletions plugins/spellchecker-nuspell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with InyokaEdit. If not, see <https://www.gnu.org/licenses/>.

project(spellchecker-nuspell
VERSION 1.0.0
VERSION 1.1.0
DESCRIPTION "Nuspell based spell checker plugin for InyokaEdit"
HOMEPAGE_URL "https://github.com/inyokaproject/inyokaedit"
)
Expand All @@ -42,7 +42,7 @@ target_compile_definitions(spellchecker-nuspell
)
target_compile_options(spellchecker-nuspell
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(spellchecker-nuspell
Expand Down
6 changes: 3 additions & 3 deletions plugins/uu_knowledgebox/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with InyokaEdit. If not, see <https://www.gnu.org/licenses/>.

project(uu_knowledgebox
VERSION 1.1.4
VERSION 1.3.0
DESCRIPTION "ubuntuusers.de knowledge box selection plugin for InyokaEdit"
HOMEPAGE_URL "https://github.com/inyokaproject/inyokaedit"
)
Expand All @@ -31,7 +31,7 @@ find_package(${QT_MAIN_VERSION} ${QT_MINIMUM_VERSION}

add_library(uu_knowledgebox SHARED)

target_compile_features(uu_knowledgebox PUBLIC cxx_std_11)
target_compile_features(uu_knowledgebox PUBLIC cxx_std_17)
target_compile_definitions(uu_knowledgebox
PRIVATE
PLUGIN_NAME="${PROJECT_NAME}"
Expand All @@ -41,7 +41,7 @@ target_compile_definitions(uu_knowledgebox
)
target_compile_options(uu_knowledgebox
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(uu_knowledgebox
Expand Down
6 changes: 3 additions & 3 deletions plugins/uu_tabletemplate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# along with InyokaEdit. If not, see <https://www.gnu.org/licenses/>.

project(uu_tabletemplate
VERSION 1.4.1
VERSION 1.5.0
DESCRIPTION "ubuntuusers.de table template plugin for InyokaEdit"
HOMEPAGE_URL "https://github.com/inyokaproject/inyokaedit"
)
Expand All @@ -31,7 +31,7 @@ find_package(${QT_MAIN_VERSION} ${QT_MINIMUM_VERSION}

add_library(uu_tabletemplate SHARED)

target_compile_features(uu_tabletemplate PUBLIC cxx_std_11)
target_compile_features(uu_tabletemplate PUBLIC cxx_std_17)
target_compile_definitions(uu_tabletemplate
PRIVATE
PLUGIN_NAME="${PROJECT_NAME}"
Expand All @@ -41,7 +41,7 @@ target_compile_definitions(uu_tabletemplate
)
target_compile_options(uu_tabletemplate
PRIVATE
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000>
$<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060600>
-fno-sized-deallocation
)
target_link_libraries(uu_tabletemplate
Expand Down

0 comments on commit 36ba0ee

Please sign in to comment.