From 970528b7299b0bd73b663e0b73eca25abb382c76 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 23 Apr 2020 11:23:38 +0200 Subject: Conversion to the cmake building system. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Signed-off-by: Slávek Banko (cherry picked from commit 8e16b376dc531edfdf7b7d8dc13d3d9a15d81c0c) --- ConfigureChecks.cmake | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ConfigureChecks.cmake (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..50718fc --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,32 @@ +############################################ +# # +# Improvements and feedbacks 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 ) + + +##### check for yacc (bison) + +find_program( BISON_EXECUTABLE bison ) +find_program( FLEX_EXECUTABLE NAMES flex lex ) -- cgit v1.2.1