summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-10-03 20:50:43 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-10-03 20:50:43 +0300
commitd7d77db04372685ebb6e7acaf9185566b13cbf1b (patch)
treee697db3842a38b0e8bf70647300a643735abaec2 /ConfigureChecks.cmake
parent0c35ccad36b9f8b8763787c48138710fdf539977 (diff)
downloadtwin-style-mallory-d7d77db04372685ebb6e7acaf9185566b13cbf1b.tar.gz
twin-style-mallory-d7d77db04372685ebb6e7acaf9185566b13cbf1b.zip
Port to CMake, drop Autotools
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..2bc0c0c
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,21 @@
+################################################################################
+# twin-style-mallory #
+# ------------------ #
+# This file is licensed under the terms of GNU GPL v3 or later. #
+# Improvements and feedback are welcome. #
+################################################################################
+
+### TQt/TDE ####################################################################
+find_package(TQt)
+find_package(TDE)
+tde_setup_architecture_flags()
+tde_setup_largefiles()
+
+### Big Endian #################################################################
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+### GCC visibility #############################################################
+if (WITH_GCC_VISIBILITY)
+ tde_setup_gcc_visibility()
+endif() \ No newline at end of file