summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-02-07 12:47:51 +0100
committergregory guy <g-gregory@gmx.fr>2019-02-08 14:04:57 +0100
commit756f6fd2f58c31e21c2f726dbb99e085ec97cfd4 (patch)
treec5b284eb1696941a42f4fce6891fd9540163bf23 /ConfigureChecks.cmake
parenta77e36408cd1eaeb2d64a02b766b1cd875a4897c (diff)
downloadtde-style-ia-ora-756f6fd2f58c31e21c2f726dbb99e085ec97cfd4.tar.gz
tde-style-ia-ora-756f6fd2f58c31e21c2f726dbb99e085ec97cfd4.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 )