summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-07-16 16:20:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-16 16:20:24 +0900
commitd833de5bbe40d780fe02dc95d1c981a4b1007108 (patch)
treef9984fb88d2b8527be0ecfb9154ab7b83d809579 /ConfigureChecks.cmake
parenta30a266067d9d952edc91305bef757557c03717e (diff)
downloaduniversal-indent-gui-tqt-d833de5bbe40d780fe02dc95d1c981a4b1007108.tar.gz
universal-indent-gui-tqt-d833de5bbe40d780fe02dc95d1c981a4b1007108.zip
Add cmake+ninja build framework. Build initial dummy application.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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..031be3c
--- /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 )
+
+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 )