summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-01-04 18:02:23 +0100
committerSlávek Banko <[email protected]>2022-01-05 16:17:12 +0100
commit3633ea2876a175c16b5421887ec2eac4b2eef263 (patch)
treee0e79cf43576f8f6949be6464327c49568bb7020 /ConfigureChecks.cmake
parent71958c0f5d64e249f0b63c3e981152e376b05a97 (diff)
downloadkile-3633ea2876a175c16b5421887ec2eac4b2eef263.tar.gz
kile-3633ea2876a175c16b5421887ec2eac4b2eef263.zip
Update CMake rules accorting to TDE style.
Copy translations to a new directory layout. Move documentation to a new directory layout. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit bb9ea88afc543cba3c07805fc6491c517ec38f83)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake27
1 files changed, 27 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..116924c
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,27 @@
+###########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+###########################################
+
+
+# required stuff
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+find_package( TQt )
+find_package( TDE )
+
+
+##### check for gcc visibility support #########
+
+if( WITH_GCC_VISIBILITY )
+ tde_setup_gcc_visibility( )
+endif( )