summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-02-16 13:34:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-03-02 11:41:03 +0100
commitf9440f0f509ffa5046a0c48f97d1f847577e06df (patch)
treee35ced7099406afbedf65779fcb0c6856754b83d /ConfigureChecks.cmake
parent3994ab2ba95d09f73ae5af223f8b2bcdc2f04cfd (diff)
downloadkooldock-f9440f0f509ffa5046a0c48f97d1f847577e06df.tar.gz
kooldock-f9440f0f509ffa5046a0c48f97d1f847577e06df.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.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..889db5c
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,26 @@
+###########################################
+# #
+# 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 )