Skip to content
Snippets Groups Projects
Commit 42d99bda authored by Jakob Maljaars's avatar Jakob Maljaars
Browse files

Clean-up cmake file

parent ae2d71bf
No related branches found
No related tags found
1 merge request!4Prepare for externalproject compilation
Pipeline #28311 passed
# Copyright (C) 2022 ASTRON (Netherlands Institute for Radio Astronomy) # Copyright (C) 2022 ASTRON (Netherlands Institute for Radio Astronomy)
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
#
# Radler's cmake configuration supports two different approaches for compiling
# Radler:
#
# 1. Compiling and linking against Radler as stand-alone library (default).
# 2. Compiling and linking against Radler as a submodule "on the fly". This can
# be done by making targets in the dependent package dependent on the
# install-radler target from this repo. In this approach it is assumed that
# the depending package provides the ALL the dependencies for Radler. This
# approach is used in WSClean.
cmake_minimum_required(VERSION 3.8) cmake_minimum_required(VERSION 3.8)
# When Radler is compiled as an ExternalProject inside another project, set this
# option to On. See, e.g., the wsclean CMake file for an example.
option(COMPILE_AS_EXTERNAL_PROJECT OFF) option(COMPILE_AS_EXTERNAL_PROJECT OFF)
set(RADLER_VERSION 0.0.0) set(RADLER_VERSION 0.0.0)
......
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