Skip to content
Snippets Groups Projects
Commit cbccd444 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Bug 1297: The remains of the Appl directory can now safely be removed.

parent 0cd195f3
No related merge requests found
......@@ -15,7 +15,6 @@
3rdparty/zoid/daemon.2cores/init.c.sema -text
3rdparty/zoid/daemon.2cores/init.c.signal -text
3rdparty/zoid/daemon.2cores/zoid.map -text
Appl/CMakeLists.txt -text
CEP/BB/BBSControl/include/BBSControl/GlobalSolveController.h -text
CEP/BB/BBSControl/include/BBSControl/LocalSolveController.h -text
CEP/BB/BBSControl/include/BBSControl/NoiseStep.h -text
......
## ------------------------------------------------------------------------------
## Project characteristics
project (Appl)
cmake_minimum_required (VERSION 2.5)
## ------------------------------------------------------------------------------
## Set CMAKE_MODULE_PATH to load custom CMake modules
if (NOT HAVE_USG_ROOT)
if (NOT USG_ROOT)
find_path (USG_ROOT cmake/CMakeSettings.cmake
PATHS
${Appl_SOURCE_DIR}
${Appl_SOURCE_DIR}/..
${Appl_SOURCE_DIR}/../..
${Appl_SOURCE_DIR}/../../..
$ENV{LOFARSOFT}
)
if (USG_ROOT)
include (${USG_ROOT}/cmake/CMakeSettings.cmake)
else (USG_ROOT)
message (FATAL_ERROR "Unable to locate additional CMake scripts!")
endif (USG_ROOT)
endif (NOT USG_ROOT)
endif (NOT HAVE_USG_ROOT)
## ------------------------------------------------------------------------------
## Additional CMake modules
include (CheckIncludeFiles)
include (CheckLibraryExists)
include (CheckTypeSize)
include (CTest)
enable_testing()
## ------------------------------------------------------------------------------
## Check system libraries
check_include_files (sys/socket.h HAVE_SYS_SOCKET_H )
check_include_files (sys/types.h HAVE_SYS_TYPES_H )
check_include_files (unistd.h HAVE_UNISTD_H )
check_include_files (stdarg.h HAVE_STDARG_H )
check_include_files (time.h HAVE_TIME_H )
check_include_files (stdio.h HAVE_STDIO_H )
check_include_files (netinet/in.h HAVE_NETINET_IN_H )
if (HAVE_SYS_TYPES_H)
check_type_size ("uint" HAVE_UINT)
if (HAVE_UINT)
add_definitions (-DHAVE_UINT)
endif (HAVE_UINT)
##
check_type_size ("long" HAVE_LONG)
if (HAVE_LONG)
add_definitions (-DHAVE_LONG)
endif (HAVE_LONG)
##
check_type_size ("long long" HAVE_LONGLONG)
if (HAVE_LONGLONG)
add_definitions (-DHAVE_LONGLONG)
endif (HAVE_LONGLONG)
##
check_type_size ("ushort" HAVE_USHORT)
if (HAVE_USHORT)
add_definitions (-DHAVE_USHORT)
endif (HAVE_USHORT)
else (HAVE_SYS_TYPES_H)
message (STATUS "Unable to find sys/types.h")
endif (HAVE_SYS_TYPES_H)
## ------------------------------------------------------------------------------
## Commonly used configuration files
set (Appl_config ${Appl_BINARY_DIR}/lofar_config.h)
file (WRITE ${Appl_config} "/* lofar_config.h -- Generated by CMake. */\n\n")
include_directories (${Appl_BINARY_DIR})
## ------------------------------------------------------------------------------
## Directories to be included in the build
add_subdirectory (ApplCommon)
add_subdirectory (CEP)
#add_subdirectory (USG)
CEP
/**
\ingroup LOFAR
\defgroup Appl LOFAR Applications
%LOFAR Applications contains the packages with applications that will be
deployed to operate %LOFAR.
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment