summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-02-14 15:44:24 +0100
committergregory guy <[email protected]>2019-02-14 15:44:24 +0100
commit7a10077e8260148faa37d5a91e76135e1341e4c1 (patch)
tree6bfabbcd9017c63c91a5ee7e2434e917906b3f55 /ConfigureChecks.cmake
parentd165ef2d365fc582b966fbcb0bbac5223c7b02cc (diff)
downloadkatapult-7a10077e8260148faa37d5a91e76135e1341e4c1.tar.gz
katapult-7a10077e8260148faa37d5a91e76135e1341e4c1.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
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 )