summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2022-10-15 19:30:27 +0300
committerMavridis Philippe <mavridisf@gmail.com>2022-10-15 19:31:09 +0300
commitdf9b0a7fbed59095a30af1dde46c45ae95290361 (patch)
tree272af52510280fbbe20e7d082edb2c0af71c9575 /ConfigureChecks.cmake
parentff500937b0223a487c753d2ec109fb6b3782ae54 (diff)
downloadtwin-style-machbunt-df9b0a7fbed59095a30af1dde46c45ae95290361.tar.gz
twin-style-machbunt-df9b0a7fbed59095a30af1dde46c45ae95290361.zip
Port to CMake build system
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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 )