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

Birleştirildi
SlavekB 5 yıl önce feat/cmakeCommonTests içindeki 1 işlemeyi master ile birleştirdi
SlavekB 5 yıl önce yorum yaptı
Sahibi

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 yıl önce değişiklik isteğini kapattı
SlavekB feat/cmakeCommonTests dalı silindi 5 yıl önce
SlavekB 5 yıl önce R14.0.6 release kilometre taşına ekledi
Değişiklik isteği 68b71ec34c olarak birleştirildi.
Bu konuşmaya katılmak için oturum aç.
Değerlendirici yok
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Bildirimler
Bitiş Tarihi

Bitiş tarihi atanmadı.

Bağımlılıklar

Bağımlılık yok.

Referans: TDE/akode#1
Yükleniyor…
Henüz bir içerik yok.