summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-10-18 13:32:54 +0900
committerMichele Calgaro <[email protected]>2023-10-18 13:32:54 +0900
commit3031fcead54a66aa68b0653e35ef59fbae9e442f (patch)
tree4593183ce2c50ebd1320293a03e0bfd797e9f1f4 /ConfigureChecks.cmake
parente952c17a7ce96d686b0ad54cb8d693bf137d6759 (diff)
downloadtwin-style-fahrenheit-3031fcead54a66aa68b0653e35ef59fbae9e442f.tar.gz
twin-style-fahrenheit-3031fcead54a66aa68b0653e35ef59fbae9e442f.zip
Add cmake building files
Signed-off-by: Michele Calgaro <[email protected]>
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 )