From e4fddbc581e3ed6b850e919c5fcfef64f0ccf86f Mon Sep 17 00:00:00 2001 From: "laprej@LAB.CS.RPI.EDU" Date: Mon, 15 Nov 2010 21:33:23 +0000 Subject: [PATCH] Added airport to CMakeLists.txt. --- ross/models/CMakeLists.txt | 1 + ross/models/airport/CMakeLists.txt | 8 ++++++++ ross/models/airport/airport.c | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 ross/models/airport/CMakeLists.txt diff --git a/ross/models/CMakeLists.txt b/ross/models/CMakeLists.txt index e0bbfc1a1..a50f28e8c 100644 --- a/ross/models/CMakeLists.txt +++ b/ross/models/CMakeLists.txt @@ -1,3 +1,4 @@ +ADD_SUBDIRECTORY(airport) ADD_SUBDIRECTORY(phold) ADD_SUBDIRECTORY(pcs) # ADD_SUBDIRECTORY(bittorrent) diff --git a/ross/models/airport/CMakeLists.txt b/ross/models/airport/CMakeLists.txt new file mode 100644 index 000000000..256360153 --- /dev/null +++ b/ross/models/airport/CMakeLists.txt @@ -0,0 +1,8 @@ +INCLUDE_DIRECTORIES(${ROSS_SOURCE_DIR}) + +SET(airport_srcs +airport.c airport.h) + +ADD_EXECUTABLE(airport ${airport_srcs}) + +TARGET_LINK_LIBRARIES(airport ROSS m) diff --git a/ross/models/airport/airport.c b/ross/models/airport/airport.c index 917e938ff..59ff700cb 100644 --- a/ross/models/airport/airport.c +++ b/ross/models/airport/airport.c @@ -1,4 +1,4 @@ -#include +#include "airport.h" /* airport.c