summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-04 18:02:23 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-05 00:48:32 +0100
commitbb9ea88afc543cba3c07805fc6491c517ec38f83 (patch)
tree9ab6fba2d8d53ec070710edcb0ee14df805c0b81 /ConfigureChecks.cmake
parent9335908d3888af039412d9d223522fcbd71704d3 (diff)
downloadkile-bb9ea88afc543cba3c07805fc6491c517ec38f83.tar.gz
kile-bb9ea88afc543cba3c07805fc6491c517ec38f83.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 <slavek.banko@axis.cz>
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( )