From ecef4c1473315d2290f032a5aa1f5784b584cd61 Mon Sep 17 00:00:00 2001
From: Andrew Heather <>
Date: Tue, 9 Oct 2018 09:47:54 +0100
Subject: [PATCH] BUG: foamNewSource - corrected Make/options for app mode. 
 Closes #1006

---
 etc/codeTemplates/source/foamNewSource | 2 +-
 wmake/scripts/makeOptions              | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/etc/codeTemplates/source/foamNewSource b/etc/codeTemplates/source/foamNewSource
index 1ece48d5ada..6469aa3b324 100755
--- a/etc/codeTemplates/source/foamNewSource
+++ b/etc/codeTemplates/source/foamNewSource
@@ -96,7 +96,7 @@ else
 
     fileName="$className$Type"
 
-    echo "$Script: Creating new interface file $fileName"
+    echo "$Script: Creating new code file $fileName"
     if [ -e "$fileName" ]
     then
         echo "   Error: file exists"
diff --git a/wmake/scripts/makeOptions b/wmake/scripts/makeOptions
index 864f08f84e2..6101889ec5a 100755
--- a/wmake/scripts/makeOptions
+++ b/wmake/scripts/makeOptions
@@ -32,9 +32,11 @@ rm -f Make/options
 echo "Creating Make/options"
 
 echo 'EXE_INC = \
-    -I$(LIB_SRC)/finiteVolume/lnInclude' > Make/options
+    -I$(LIB_SRC)/finiteVolume/lnInclude \
+    -I$(LIB_SRC)/meshTools/lnInclude' > Make/options
 echo >> Make/options
 echo 'EXE_LIBS = \
-    -lfiniteVolume' >> Make/options
+    -lfiniteVolume \
+    -lmeshTools' >> Make/options
 
 #------------------------------------------------------------------------------
-- 
GitLab