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

Bug 1310: Stripped redundant codein CMakeLists.txt files for script-only projects in LCU

parent 6904f64b
Branches
Tags
No related merge requests found
...@@ -28,17 +28,10 @@ include(LofarInit) ...@@ -28,17 +28,10 @@ include(LofarInit)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Project characteristics ## Project characteristics
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
project(LCU) project(LCU NONE)
include(LofarGeneral)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Subdirectories ## Subdirectories
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
lofar_add_subdirectory(Firmware) lofar_add_subdirectory(Firmware)
lofar_add_subdirectory(StationTest) lofar_add_subdirectory(StationTest)
## ---------------------------------------------------------------------------
## Generate configuration header file.
## ---------------------------------------------------------------------------
include(LofarConfig)
...@@ -28,15 +28,9 @@ include(LofarInit) ...@@ -28,15 +28,9 @@ include(LofarInit)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Project characteristics ## Project characteristics
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
project(Firmware) project(Firmware NONE)
include(LofarGeneral)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Subdirectories ## Subdirectories
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
lofar_add_subdirectory(tools) lofar_add_subdirectory(tools)
## ---------------------------------------------------------------------------
## Generate configuration header file.
## ---------------------------------------------------------------------------
include(LofarConfig)
...@@ -28,16 +28,7 @@ include(LofarInit) ...@@ -28,16 +28,7 @@ include(LofarInit)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Project characteristics ## Project characteristics
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
project(Firmware-Tools) project(Firmware-Tools NONE)
include(LofarGeneral)
include(LofarAddPackage)
lofar_add_package(${PROJECT_NAME} 1.0)
## ---------------------------------------------------------------------------
## Generate configuration header file.
## ---------------------------------------------------------------------------
include(LofarConfig)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Subdirectories ## Subdirectories
......
...@@ -28,16 +28,10 @@ include(LofarInit) ...@@ -28,16 +28,10 @@ include(LofarInit)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Project characteristics ## Project characteristics
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
project(StationTest) project(StationTest NONE)
include(LofarGeneral)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
## Generate configuration header file. ## Install files matching regex pattern in current directory and below
## ---------------------------------------------------------------------------
include(LofarConfig)
## ---------------------------------------------------------------------------
## Installation
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
install(DIRECTORY . install(DIRECTORY .
DESTINATION stationtest DESTINATION stationtest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment