Fix GCC visibility, use common tests in CMake rules #1

已合併
SlavekB 將 1 次提交從 feat/cmakeCommonTests 合併至 master 5 年前
擁有者

In Akode I added the usual option WITH_GCC_VISIBILITY and the new common test tde_setup_gcc_visibility. The previous code only set __KDE_HAVE_GCC_VISIBILITY but did not set the compiler options at all. GCC visibility has therefore not been used properly. That's why I checked and added the use of AKODE_EXPORT to the exported functions in each plug-in.

Please test it.

Note: For test you need to build with WITH_ALL_OPTIONS or WITH_GCC_VISIBILITY.

In Akode I added the usual option WITH_GCC_VISIBILITY and the new common test tde_setup_gcc_visibility. The previous code only set __KDE_HAVE_GCC_VISIBILITY but did not set the compiler options at all. GCC visibility has therefore not been used properly. That's why I checked and added the use of AKODE_EXPORT to the exported functions in each plug-in. Please test it. Note: For test you need to build with WITH_ALL_OPTIONS or WITH_GCC_VISIBILITY.
SlavekB 關閉了這個合併請求 5 年前
SlavekB 刪除分支 feat/cmakeCommonTests 5 年前
SlavekB 新增到 R14.0.6 release 里程碑 5 年前
此合併請求已被合併為 68b71ec34c
登入 才能加入這對話。
沒有審核者
未選擇里程碑
沒有負責人
1 參與者
通知
截止日期

未設定截止日期。

先決條件

未設定先決條件。

參考: TDE/akode#1
載入中…
尚未有任何內容