summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-05-19 19:22:18 +0200
committergregory guy <g-gregory@gmx.fr>2019-05-19 19:22:18 +0200
commit14bb845a29befcb8b11e2b55a43c58684d9acac0 (patch)
treea16035ab2089d9313ec91502cabe161e5d31e1f3 /ConfigureChecks.cmake
parent2663b431fc4f6e40655367b67ae6345f4f839ccf (diff)
downloadkeep-14bb845a29befcb8b11e2b55a43c58684d9acac0.tar.gz
keep-14bb845a29befcb8b11e2b55a43c58684d9acac0.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..d1e3778
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,25 @@
+###########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+###########################################
+
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+
+##### check for gcc visibility support
+
+if( WITH_GCC_VISIBILITY )
+ tde_setup_gcc_visibility( )
+endif( WITH_GCC_VISIBILITY )