-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
507 lines (379 loc) · 18 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
cmake_minimum_required(VERSION 3.10)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
project(alisp LANGUAGES CXX C)
include(cmake/safeguards.cmake)
include(GNUInstallDirs)
include(FindUnixCommands)
include(FetchContent)
#######################################################################
#######################################################################
############################ Options ##########################
#######################################################################
#######################################################################
option(LIBCPP "Build with libc++" FALSE)
option(ENABLE_COVERAGE "Enable coverage reporting for gcc/clang" FALSE)
option(ENABLE_ASAN "Enable address sanitizer" FALSE)
option(BUILD_SHARED_LIBS "Enable compilation of shared libraries" FALSE)
option(ENABLE_TESTING "Enable the building of the test" FALSE)
option(ENABLE_CLANG_TIDY "Enable testing with clang-tidy" FALSE)
option(ENABLE_CPPCHECK "Enable testing with cppcheck" FALSE)
option(BUILD_DOC "Build the project's documentation" FALSE)
option(FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." TRUE)
option(ELF_HASHING "Use elf as a hashing function" FALSE)
option(JENKINS_HASHING "Use jenkins one at a time as a hashing function" FALSE)
option(DEBUG_LOGGING "Enabling debug logging" FALSE)
option(BUILD_EXAMPLES "Enable targets for running the example scripts" FALSE)
option(MANUAL_MEMORY "Use raw pointers instead of smart ones" FALSE)
option(VALGRIND_CHECKS "Enable Valgrind tools to perform checks on the application " FALSE)
option(RUN_PERFORMANCE_TESTS "Build support for the performance tests" FALSE)
option(DISABLE_DYN_MODULES "Dont't build the dynamic modules" FALSE)
option(DISABLE_DEFAULT_MODULES "Dont't build the builtin modules" FALSE)
option(ENABLE_STACK_TRACE "Build Alisp with support for tracing function calls" TRUE)
option(ENABLE_LINE_TRACE "Enable line tracing for each list object" TRUE)
option(ENABLE_OBJECT_DOC "Enable adding documentaion for each objet" TRUE)
option(ENABLE_LTO "Enable Link Time Optimization" FALSE)
option(DISABLE_RUN_TIME_CHECKS "Disables the majority of assertions that happen at runtime" FALSE)
option(ENABLE_MTEL "Enable mutlte threaded event loop." FALSE )
set(TIME_CHECK_SAMPLES 10 CACHE STRING "How many time to perform the timing check")
#######################################################################
#######################################################################
message("+++++++${PROJECT_NAME}++++++++++")
set(CMAKE_CXX_STANDARD 17)
add_library(project_warnings INTERFACE)
add_library(project_options INTERFACE)
target_compile_features(project_options INTERFACE cxx_std_17)
if (ENABLE_LTO)
add_definitions(-flto)
set(LINKER_FLAGS "${LINKER_FLAGS} -flto")
endif()
if(ENABLE_COVERAGE)
target_compile_options(project_options INTERFACE --coverage -O0 -g)
target_link_libraries(project_options INTERFACE --coverage)
endif()
if(ENABLE_ASAN)
target_compile_options(project_options INTERFACE -fsanitize=address)
target_link_libraries(project_options INTERFACE -fsanitize=address)
endif()
target_compile_options(project_warnings
INTERFACE
-Wall
# -Werror
-Wextra
-Wshadow
-Wnon-virtual-dtor
-Wold-style-cast
-Wcast-align
-Wunused
-Woverloaded-virtual
-Wpedantic
-Wconversion
-Wsign-conversion
-Wnull-dereference
-Wdouble-promotion
-Wformat=2
)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
target_compile_options(project_warnings
INTERFACE
-Wmisleading-indentation
-Wduplicated-cond
# -Wduplicated-branches
-Wlogical-op
-Wuseless-cast
)
target_link_libraries(project_options INTERFACE stdc++fs)
endif()
if (${FORCE_COLORED_OUTPUT})
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
target_compile_options (project_options INTERFACE -fdiagnostics-color=always)
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
target_compile_options (project_options INTERFACE -fcolor-diagnostics)
endif ()
endif ()
if(LIBCPP)
target_compile_options(project_options INTERFACE -stdlib=libc++)
else()
target_link_libraries(project_options INTERFACE stdc++fs)
endif()
find_program(CCACHE ccache)
if(CCACHE)
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
endif()
if(ENABLE_CPPCHECK)
find_program(CPPCHECK cppcheck)
if(CPPCHECK)
set(CMAKE_CXX_CPPCHECK
${CPPCHECK}
--suppress=syntaxError
--enable=all
--inconclusive)
else()
message(SEND_ERROR "cppcheck requested but executable not found")
endif()
endif()
if(ENABLE_CLANG_TIDY)
find_program(CLANGTIDY clang-tidy)
if(CLANGTIDY)
set(CMAKE_CXX_CLANG_TIDY ${CLANGTIDY})
else()
message(SEND_ERROR "clang-tidy requested but executable not found")
endif()
endif()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELWITHDEBINFO ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_MINSIZEREL ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_MINSIZEREL ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR})
if(ENABLE_TESTING)
include(Catch)
enable_testing()
if(ENABLE_COVERAGE)
include(CodeCoverage)
set(COVERAGE_GCOVR_EXCLUDES
"${PROJECT_SOURCE_DIR}/build*"
"${PROJECT_SOURCE_DIR}/libs/*"
"${PROJECT_SOURCE_DIR}/libs/include/*"
"${PROJECT_SOURCE_DIR}/libs/include/catch2/*")
setup_target_for_coverage_gcovr_html(
NAME alisp_coverage_html
EXECUTABLE make test)
setup_target_for_coverage_gcovr_xml(
NAME alisp_coverage_xml
EXECUTABLE make test)
endif()
endif()
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
#######################################################################
#######################################################################
########################### Libraries ##########################
#######################################################################
#######################################################################
if(NOT MINGW)
find_library(READLINE_LIBRARY NAMES readline PATH /usr/lib /usr/local/lib /opt/local/lib)
endif()
message(STATUS "Detecting readline support")
if(READLINE_LIBRARY)
message(STATUS "Found: ${READLINE_LIBRARY}")
set(READLINE_LIB readline)
add_definitions(/DREADLINE_AVAILABLE)
else()
message(STATUS "Not Found")
set(READLINE_LIB)
set(READLINE_FLAG)
endif()
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
# find_package(fmt)
#######################################################################
#######################################################################
set(PROJECT_BRIEF "The alisp scripting language")
if(ELF_HASHING)
target_compile_definitions(project_options INTERFACE -DELF_HASHING)
endif(ELF_HASHING)
if(JENKINS_HASHING)
target_compile_definitions(project_options INTERFACE -DJENKINS_HASHING)
endif(JENKINS_HASHING)
if(MANUAL_MEMORY)
target_compile_definitions(project_options INTERFACE -DUSE_MANUAL_MEMORY)
endif(MANUAL_MEMORY)
if(DEBUG_LOGGING)
target_compile_definitions(project_options INTERFACE -DDEUBG_LOGGING)
endif(DEBUG_LOGGING)
file(READ "${PROJECT_SOURCE_DIR}/version" VERSION NEWLINE_CONSUME)
string(REPLACE "\n" "" VERSION "${VERSION}")
string(REPLACE "." ";" VERSION_LIST ${VERSION})
list(GET VERSION_LIST 0 AL_VERSION_MAJOR)
list(GET VERSION_LIST 1 AL_VERSION_MINOR)
list(GET VERSION_LIST 2 AL_VERSION_PATCH)
set(AL_VERSION ${AL_VERSION_MAJOR}.${AL_VERSION_MINOR}.${AL_VERSION_PATCH})
set(IMPORT_PATHS ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${PROJECT_NAME})
configure_file (
"${PROJECT_SOURCE_DIR}/src/include/${PROJECT_NAME}/config.hpp.in"
"${PROJECT_BINARY_DIR}/src/include/${PROJECT_NAME}/config.hpp"
)
include_directories("${PROJECT_BINARY_DIR}/src/include")
include_directories("${PROJECT_SOURCE_DIR}/src/include")
include_directories(SYSTEM "${PROJECT_SOURCE_DIR}/libs/include")
install (FILES
"${PROJECT_BINARY_DIR}/src/include/${PROJECT_NAME}/config.hpp"
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/
)
include (InstallRequiredSystemLibraries)
set(CPACK_PACKAGE_VENDOR "Stanislav Arnaudov")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The alisp interpreted langege.")
set(CPACK_PACKAGE_VERSION_MAJOR ${AL_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${AL_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${AL_VERSION_PATCH})
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
set(CPACK_SOURCE_GENERATOR "TGZ;ZIP")
set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Stanislav Arnaudov")
set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/palikar/alisp")
set(CPACK_SOURCE_IGNORE_FILES
/.git
/.github
/dist
/.*build.*
/\\\\.DS_Store)
include(CPack)
if(BUILD_DOC)
find_package(Doxygen)
if (DOXYGEN_FOUND)
# set input and output files
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/doc/Doxyfile.in)
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
# request to configure the file
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
message(STATUS "Doxygen build started")
# note the option ALL which allows to build the docs together with the application
add_custom_target(doc ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen"
VERBATIM )
else (DOXYGEN_FOUND)
message("Doxygen need to be installed to generate the doxygen documentation")
endif (DOXYGEN_FOUND)
endif()
set(PROJECT_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
set(PROJECT_BUILD ${CMAKE_CURRENT_BINARY_DIR})
add_subdirectory(libs)
add_subdirectory(src)
configure_file(cmake/alisp.ch.in lib/pkgconfig/alisp.pc @ONLY)
install(FILES "${alisp_BINARY_DIR}/lib/pkgconfig/alisp.pc"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/alisp.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/alcpp.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
if(BUILD_EXAMPLES)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/scripts DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
add_custom_command(
OUTPUT SYMBOLIC ${CMAKE_CURRENT_BINARY_DIR}/scripts_results
COMMAND ALISP_EXE=../bin/alisp make
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripts
USES_TERMINAL
)
add_custom_target(test_examples DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/scripts_results alisp)
if(ENABLE_TESTING)
file(GLOB EXAMPLE_TESTS ${CMAKE_CURRENT_SOURCE_DIR}/scripts/basic/*.al ${CMAKE_CURRENT_SOURCE_DIR}/scripts/examples/*.al
${CMAKE_CURRENT_SOURCE_DIR}/scripts/libs/*.al)
foreach(example ${EXAMPLE_TESTS})
get_filename_component(test_name ${example} NAME )
add_test(NAME example.${test_name}.test
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/bin/alisp ${example} > /dev/null
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endforeach()
endif()
endif(BUILD_EXAMPLES)
if(VALGRIND_CHECKS)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/valgrind_massif.out
COMMAND valgrind --tool=massif --log-file=valgrind_massif.out ./bin/alisp_language_test
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
USES_TERMINAL)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/valgrind_leaks.out
COMMAND valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --log-file=valgrind_leaks.out ./bin/alisp_language_test
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
USES_TERMINAL)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/valgrind_memcheck.out
COMMAND valgrind --tool=memcheck --log-file=valgrind_memcheck.out ./bin/alisp_language_test
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
USES_TERMINAL)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/valgrind_callgrind.out
COMMAND valgrind --tool=callgrind --log-file=valgrind_callgrind.out ./bin/alisp_language_test
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
USES_TERMINAL)
add_custom_target(valgrind_checks DEPENDS alisp alisp_language_test
${CMAKE_CURRENT_BINARY_DIR}/valgrind_leaks.out
${CMAKE_CURRENT_BINARY_DIR}/valgrind_callgrind.out
${CMAKE_CURRENT_BINARY_DIR}/valgrind_memcheck.out
${CMAKE_CURRENT_BINARY_DIR}/valgrind_massif.out)
endif(VALGRIND_CHECKS)
if (RUN_PERFORMANCE_TESTS)
file(GLOB PERFORMANCE_TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/performance_tests/ ${CMAKE_CURRENT_SOURCE_DIR}/performance_tests/*.al)
list(SORT PERFORMANCE_TESTS)
set(PERFORMANCE_TESTS_FILES "")
foreach(filename ${PERFORMANCE_TESTS})
message(STATUS "Adding performance test ${filename}")
add_test(NAME performance.${filename}
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/bin/alisp ${CMAKE_CURRENT_SOURCE_DIR}/performance_tests/${filename} > /dev/null
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/performance.${filename}.out
COMMAND time -o ${CMAKE_CURRENT_BINARY_DIR}/performance.${filename}.out ${CMAKE_CURRENT_BINARY_DIR}/bin/alisp ${CMAKE_CURRENT_SOURCE_DIR}/performance_tests/${filename} > /dev/null
VERBATIM
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
list(APPEND PERFORMANCE_TESTS_FILES ${CMAKE_CURRENT_BINARY_DIR}/performance.${filename}.out)
list(APPEND TESTS performance.${filename})
endforeach()
add_custom_target(performance_check DEPENDS alisp alisp_language_test
${PERFORMANCE_TESTS_FILES})
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/timing_checks.txt
COMMAND seq ${TIME_CHECK_SAMPLES} | xargs -I -- ctest -R "performance\\." | grep -i "total test time" | grep "\\d+\\.\\d+" -P -o | xargs -I {} -- echo -n {}, | tee -a ${CMAKE_CURRENT_BINARY_DIR}/timing_checks.txt > /dev/null
VERBATIM
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_custom_target(timing_check DEPENDS alisp ${CMAKE_CURRENT_BINARY_DIR}/timing_checks.txt)
endif()
if(ENABLE_TESTING)
file(GLOB SCRIPT_TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/tests/ ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.al)
list(SORT SCRIPT_TESTS)
foreach(filename ${SCRIPT_TESTS})
message(STATUS "Adding script test ${filename}")
add_test(NAME script-test.${filename}
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/bin/alisp -I "${CMAKE_CURRENT_SOURCE_DIR}/src/alisp/data/libs/" -I "${CMAKE_CURRENT_BINARY_DIR}/lib/" ${CMAKE_CURRENT_SOURCE_DIR}/tests/${filename}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_test(NAME script-test.${filename}.optimized
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/bin/alisp -O -I "${CMAKE_CURRENT_SOURCE_DIR}/src/alisp/data/libs/" -I "${CMAKE_CURRENT_BINARY_DIR}/lib/" ${CMAKE_CURRENT_SOURCE_DIR}/tests/${filename}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endforeach()
endif()
message("#########################################")
message("##\t \t Summary \t ##")
message("#########################################")
message("Build type: \t ${CMAKE_BUILD_TYPE}")
message("Install prefix: \t ${CMAKE_INSTALL_PREFIX}")
message("Testing enabled: \t ${ENABLE_TESTING}")
message("Clang-tidy: \t ${ENABLE_CLANG_TIDY}")
message("Cppcheck: \t ${ENABLE_CPPCHECK}")
message("Compiler: \t ${CMAKE_CXX_COMPILER_ID}")
message("Linktime optimization: \t ${ENABLE_LTO}")
message("Sanizizers: \t ${ENABLE_ASAN}")
message("Shared libs: \t ${BUILD_SHARED_LIBS}")
message("Build libcpp: \t ${LIBCPP}")
message("CCache executable: \t ${CCACHE}")
message("GNU Readline: \t ${READLINE_LIBRARY}")
message("Building doc: \t ${BUILD_DOC}")
message("Valgrind Checks: \t ${VALGRIND_CHECKS}")
message("Simple build: \t ${SIMPLE_BUILD}")
message("Jenkins Hashing: \t ${JENKINS_HASHING}")
message("Elf Hashing: \t ${ELF_HASHING}")
message("Debug Logging: \t ${DEBUG_LOGGING}")
message("Build exampls: \t ${BUILD_EXAMPLES}")
message("Manual Memory: \t ${MANUAL_MEMORY}")
message("Performance tests: \t ${RUN_PERFORMANCE_TESTS}")
message("Disabled modules: \t ${DISABLE_DYN_MODULES}")
message("Disabled dynamic modules: \t ${DISABLE_DEFAULT_MODULES}")
message("Stack tracing: \t ${ENABLE_STACK_TRACE}")
message("Line tracing: \t ${ENABLE_LINE_TRACE}")
message("Object documentation: \t ${ENABLE_OBJECT_DOC}")
message("Disabled runtime checks: \t ${DISABLE_RUN_TIME_CHECKS}")
message("------------------------------------------")
message("Version: \t ${AL_VERSION}")
message("########################################")