diff --git a/.gitignore b/.gitignore
index b57ab1cf2..ac2886e38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -127,4 +127,17 @@ src/lduSolvers/amg/amgPolicy/aamgPolicy.H
# vagrant stuff
vagrantSandbox/.vagrant/
+# Various intermediate files and directories generated CMAKE
+CMakeFiles/
+build/
+Makefile
+CMakeCache.txt
+cmake_install.cmake
+install_manifest.txt
+timestamp
+
+# new target folders - just for the moment
+bin
+lib
+
# end-of-file
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28b88def5..a99399b3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,17 +1,17 @@
-# /*-------------------------------------------------------------------------*\
-# ========= |
-# \\ / F ield | foam-extend: Open Source CFD
-# \\ / O peration | Version: 4.1
-# \\ / A nd | Web: http://www.foam-extend.org
-# \\/ M anipulation | For copyright notice see file Copyright
-# -----------------------------------------------------------------------------
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
# License
# This file is part of foam-extend.
#
# foam-extend is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
-# Free Software Foundation, either version 3 of the License, or (at your
-# option) any later version.
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
#
# foam-extend is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,381 +22,27 @@
# along with foam-extend. If not, see .
#
# Description
-# CMakeLists.txt file for implementing a test harness for the compilation
-# and test of foam-extend-4.1 using Kitware CTest/CMake/CDash
-#
-# The results will be submitted to the CDash server identified by the file
-# CTestConfig.cmake
+# CMakeLists.txt file for libraries and applications
#
# Author
-# Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
#
#
-# \*-------------------------------------------------------------------------*/
+# --------------------------------------------------------------------------
cmake_minimum_required (VERSION 2.8)
-PROJECT(foam-extend-4.1)
+project(foam-extend-4.1 C CXX)
-#-----------------------------------------------------------------------------
-# Utility functions
-#
-# GetHostName(var)
-#
-# Set the variable named ${var} to the host hostname
-#
-function(GetHostName var)
- set( thisHostName "unknown")
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
- if(CMAKE_HOST_WIN32)
- execute_process(
- COMMAND hostname
- OUTPUT_VARIABLE thisHostname
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- else()
- execute_process(
- COMMAND hostname -f
- OUTPUT_VARIABLE thisHostname
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- endif()
+option(BUILD_WITH_CMAKE "Build using cmake" ON)
+option(RUN_TESTS "Run test loop" OFF)
- set(${var} ${thisHostname} PARENT_SCOPE)
-endfunction()
+if(BUILD_WITH_CMAKE)
+ include(compileFOAM)
+endif(BUILD_WITH_CMAKE)
-#
-# GetGitStatus(status ecode)
-#
-# Get the git status for the local git repository of the source code
-# The variable named ${status} will get the git status
-# The variable named ${ecode} will get the command error code
-#
-function(GetGitStatus _status _ecode)
- set( git_status "unknown")
- set( git_ecode "1")
-
- execute_process(
- COMMAND git status
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE git_status
- RESULT_VARIABLE git_ecode
- ERROR_QUIET
- )
- set(${_status} ${git_status} PARENT_SCOPE)
- set(${_ecode} ${git_ecode} PARENT_SCOPE)
-endfunction()
-
-#
-# GetGitBranchName(var)
-#
-# Set the variable named ${var} to the git branch name of the source code
-#
-function(GetGitBranchName var)
- set( retValue "unknown")
-
- execute_process(
- COMMAND git branch --no-color
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE listOfGitBranches
- )
- # Create list of strings
- string(REPLACE "\n" ";" listOfGitBranches ${listOfGitBranches})
-
- # Iterate over list, find the string beginning with "* "
- foreach(branch ${listOfGitBranches})
- string(REGEX MATCH "\\* .*$" matchString ${branch})
- string(LENGTH "${matchString}" lengthMatchString)
- if(lengthMatchString GREATER 0)
- # We have match. Cleanup and set retValue
- string(REPLACE "* " "" retValue ${matchString})
- endif()
- endforeach()
-
- set(${var} ${retValue} PARENT_SCOPE)
-endfunction()
-
-#
-# GetGitRevNumber(var)
-#
-# Set the variable named ${var} to the git revision number of the source code
-#
-function(GetGitRevNumber var)
- set( retValue "unknown")
-
- execute_process(
- COMMAND git rev-parse --short=12 HEAD
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE git_rev_number
- )
-
- # Minimal check that we do have a valid string
- string(LENGTH "${git_rev_number}" lengthString)
- if(lengthString GREATER 0)
- set(retValue ${git_rev_number})
- endif()
-
- set(${var} ${retValue} PARENT_SCOPE)
-endfunction()
-
-# CleanUpStringForCDash(var)
-#
-# Cleanup the variable named ${value} for characters not supported
-# for CDash identifiers. Return the modified value in retVar
-#
-function(CleanUpStringForCDash value retVar)
- string(REPLACE "/" "_" value "${value}")
- string(REPLACE " " "_" value ${value})
- set(${retVar} ${value} PARENT_SCOPE)
-endfunction()
-
-#-----------------------------------------------------------------------------
-#
-#
-# Initialization of CTest specific variables
-#
-## Run ctest in parallel if environment variable WM_NCOMPPROCS is set
-IF (NOT $ENV{WM_NCOMPPROCS} STREQUAL "")
- # Will run ctest in parallel over $WM_NCOMPPROCS processors
- set(CMAKE_CTEST_COMMAND ${CMAKE_CTEST_COMMAND} --parallel $ENV{WM_NCOMPPROCS})
- MESSAGE("Running tests in parallel using $ENV{WM_NCOMPPROCS} processors")
-ENDIF ()
-
-# Initialize the site name
-
-IF (NOT $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} STREQUAL "")
- # We can override the site name with the environment variable
- # $CDASH_SUBMIT_LOCAL_HOST_ID
- SET(
- SITENAME $ENV{CDASH_SUBMIT_LOCAL_HOST_ID}
- CACHE STRING "Name of the local site"
- )
-ELSE ()
- # Grab the hostname FQN; will be used for the sitename
- GetHostName(SITENAME)
-
-ENDIF()
-
-MESSAGE("Initializing the name of this local site to: ${SITENAME}")
-
-SET(
- SITE ${SITENAME}
- CACHE STRING "Name of the local site"
-)
-
-#Grab the FOAM installation directory.
-SET(
- FOAM_ROOT $ENV{WM_PROJECT_DIR}
- CACHE INTERNAL "FOAM root directory."
-)
-
-# Construct the build name.
-# No need to add $WM_PROJECT_VERSION to the name of the build,
-# the test harness name should have taken care of that.
-SET(
- BUILDNAME $ENV{WM_OPTIONS}
- CACHE STRING "Build ID"
-)
-
-# We allow overriding the git branch and revision information with some
-# user-supplied information using the CDASH_SCM_INFO environment variable.
-#
-# Mercurial or other SCM users should be using this environment variable
-# in order to provide branch and revision information for the buildname.
-#
-# Git users should use this environment variable in order to provide
-# additionnal information instead of just the branch and revision number.
-#
-# Otherwise, the buildname will be appended with the following information:
-# -git-branch=the_git_branch_name-git-rev=the_git_revision_number
-SET(
- BUILDNAME_SCM_INFO $ENV{CDASH_SCM_INFO}
- CACHE STRING "SCM info for CDash buildname"
-)
-
-# Find out the version of the compiler being used.
-# Add this information to the buildname
-# This is for gcc or icc because they both support the -dumpversion option
-EXEC_PROGRAM($ENV{WM_CC}
- ARGS -dumpversion
- OUTPUT_VARIABLE COMPILER_VERSION
-)
-SET(BUILDNAME "${BUILDNAME}-$ENV{WM_CC}${COMPILER_VERSION}")
-#
-# We will support more compilers eventually.
-#
-
-# Timeout for running every single test: 4 hours: 4 x 3600 seconds
-#SET(
-# DART_TESTING_TIMEOUT 14400
-# CACHE STRING "Maximum time allowed (4 hours) before CTest will kill the test."
-#)
-# Timeout for running all this: 20 minutes : 1200 seconds (for debug)
-SET(
- DART_TESTING_TIMEOUT 1200
- CACHE STRING "Maximum time allowed (20 minutes) before CTest will kill the test."
-)
-
-SET(
- CMAKE_VERBOSE_MAKEFILE TRUE
-)
-
-
-# Update section
-#-----------------------------------------------------------------------------
-set (UPDATE_TYPE git)
-
-#
-# Using GIT as SCM
-#
-find_package(Git)
-
-if(NOT BUILDNAME_SCM_INFO STREQUAL "")
- SET(BUILDNAME "${BUILDNAME}-${BUILDNAME_SCM_INFO}")
-
-elseif(GIT_FOUND)
- message("The git command was found: ${GIT_EXECUTABLE}")
-
- # Check if the source code is under a valid git repository
- GetGitStatus(GIT_STATUS GIT_ECODE)
-
- if(NOT GIT_ECODE)
- # We have a valid git repository.
- # Grab the branch and revision info. Add to the build name
- GetGitBranchName(GIT_BRANCH_NAME)
- message("Git branch: ${GIT_BRANCH_NAME}")
-
- GetGitRevNumber(GIT_REV_NUMBER)
- message("Git revision: ${GIT_REV_NUMBER}")
-
- SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}")
- SET(BUILDNAME "${BUILDNAME}-git-rev=${GIT_REV_NUMBER}")
- else()
- execute_process(
- COMMAND hg id
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE HG_STATUS
- RESULT_VARIABLE HG_ECODE
- ERROR_QUIET
- )
- if(NOT HG_ECODE)
- # We have a valid git repository. Grab the branch and revision info.
- # Add to the build name
- message("No git-branch. Mercurial?")
- EXEC_PROGRAM(hg
- ARGS id --bookmarks
- OUTPUT_VARIABLE GIT_BRANCH_NAME
- )
- EXEC_PROGRAM(hg
- ARGS id --id
- OUTPUT_VARIABLE GIT_REV_NUMBER
- )
- EXEC_PROGRAM(hg
- ARGS log --template='git_{gitnode|short}' -l 1
- OUTPUT_VARIABLE GIT_REAL_REV_NUMBER
- )
- string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
- string(REPLACE "+" ":modified" GIT_REV_NUMBER ${GIT_REV_NUMBER})
- SET(GIT_REV_NUMBER "${GIT_REV_NUMBER}_${GIT_REAL_REV_NUMBER}")
- message("Git branch (mercurial): ${GIT_BRANCH_NAME} Revision: ${GIT_REV_NUMBER}")
-
- SET(BUILDNAME "${BUILDNAME}-hg-branch=${GIT_BRANCH_NAME}")
- SET(BUILDNAME "${BUILDNAME}-hg-rev=${GIT_REV_NUMBER}")
- else()
- # Not a git or mercurial repository: no branch nor revision information available
- SET(BUILDNAME "${BUILDNAME}-git-branch=unknown")
- SET(BUILDNAME "${BUILDNAME}-git-rev=unknown")
- endif()
- endif()
-else()
- # Git is not available: no branch nor revision information supplied
- SET(BUILDNAME "${BUILDNAME}-git-branch=unknown")
- SET(BUILDNAME "${BUILDNAME}-git-rev=unknown")
-endif()
-
-# Some last minute cleanup
-# Seems like no '/' or ' 'are allowed in the BUILDNAME or in the SITE name
-CleanUpStringForCDash(${BUILDNAME} BUILDNAME)
-CleanUpStringForCDash(${SITE} SITE)
-
-message("Build name: ${BUILDNAME}")
-message("Site name: ${SITE}")
-
-#
-# Build section
-#-----------------------------------------------------------------------------
-
-# Compile FOAM, libs and apps
-add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION} ALL
- ${FOAM_ROOT}/Allwmake
-)
-
-set_property(
- TARGET foam-extend-$ENV{WM_PROJECT_VERSION}
- PROPERTY LABELS foam-extend-$ENV{WM_PROJECT_VERSION}
-)
-
-# Compile the FOAM unit tests located under applications/test
-# This part will not be compiled and run by default.
-# This would be a good candidate for a sub-project
-add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION}_unitTests
- wmake all ${FOAM_ROOT}/applications/test
-)
-
-# Test section
-#-----------------------------------------------------------------------------
-
-#Enable testing and dashboard
-ENABLE_TESTING()
-INCLUDE(CTest)
-
-SET (CTEST_UPDATE_COMMAND ${GIT_EXECUTABLE})
-
-SET(
- CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000
- CACHE INTERNAL "Max number of errors"
-)
-SET(
- CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000
- CACHE INTERNAL "Max number of warnings"
-)
-
-IF(BUILD_TESTING)
-
- # Modify this variable if you want the full length test case simulations
- # Beware, this might take a long time to execute.
- # Otherwise, the default behaviour is to run each tutorial for 1 "timestep"
- #SET(RUN_FROM_ONE_TIMESTEP 0)
- SET(RUN_FROM_ONE_TIMESTEP 1)
-
- IF(RUN_FROM_ONE_TIMESTEP)
- SET(testIdSuffix "_oneTimeStep")
- ENDIF(RUN_FROM_ONE_TIMESTEP)
-
- # FOAM will run against this test suite:
-
- # Add the suite of FOAM tutorials
- #
- INCLUDE($ENV{FOAM_TEST_HARNESS_DIR}/CMakeFiles/FOAM_Tutorials.cmake)
-
- IF(RUN_FROM_ONE_TIMESTEP)
- # Modify the cases controlDict file in order to run for only one time step
- MESSAGE("${testRunTimeDirectory}: Modifying the controlDict files for running only one time step in directory: ${TEST_CASE_DIR}")
- if(CMAKE_HOST_WIN32)
- # Need to supply a bash shell to run the script under Windows
- EXECUTE_PROCESS(
- COMMAND bash -c "$ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}"
- WORKING_DIRECTORY .
- )
- else()
- EXECUTE_PROCESS(
- COMMAND $ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}
- WORKING_DIRECTORY .
- )
- endif()
- ENDIF(RUN_FROM_ONE_TIMESTEP)
-
-ENDIF(BUILD_TESTING)
-
-# That's it.
-#
+if(RUN_TESTS)
+ include(testFOAM)
+endif(RUN_TESTS)
diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt
new file mode 100644
index 000000000..8ff13b174
--- /dev/null
+++ b/applications/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(utilities)
+add_subdirectory(solvers)
diff --git a/applications/solvers/CMakeLists.txt b/applications/solvers/CMakeLists.txt
new file mode 100644
index 000000000..e65124b0b
--- /dev/null
+++ b/applications/solvers/CMakeLists.txt
@@ -0,0 +1,54 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(engine)
+add_subdirectory(solidMechanics)
+add_subdirectory(multiphase)
+add_subdirectory(lagrangian)
+add_subdirectory(financial)
+add_subdirectory(discreteMethods)
+add_subdirectory(coupled)
+add_subdirectory(compressible)
+add_subdirectory(multiSolver)
+add_subdirectory(incompressible)
+add_subdirectory(equationReaderDemo)
+add_subdirectory(heatTransfer)
+add_subdirectory(electromagnetics)
+add_subdirectory(combustion)
+add_subdirectory(finiteArea)
+add_subdirectory(DNS)
+add_subdirectory(basic)
+add_subdirectory(immersedBoundary)
+add_subdirectory(surfaceTracking)
+add_subdirectory(viscoelastic)
+add_subdirectory(overset)
+
diff --git a/applications/solvers/DNS/CMakeLists.txt b/applications/solvers/DNS/CMakeLists.txt
new file mode 100644
index 000000000..1143571cf
--- /dev/null
+++ b/applications/solvers/DNS/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(dnsFoam)
\ No newline at end of file
diff --git a/applications/solvers/DNS/dnsFoam/CMakeLists.txt b/applications/solvers/DNS/dnsFoam/CMakeLists.txt
new file mode 100644
index 000000000..97189c2a6
--- /dev/null
+++ b/applications/solvers/DNS/dnsFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dnsFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dnsFoam
+ DEPENDS randomProcesses
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/CMakeLists.txt b/applications/solvers/basic/CMakeLists.txt
new file mode 100644
index 000000000..4324f1f97
--- /dev/null
+++ b/applications/solvers/basic/CMakeLists.txt
@@ -0,0 +1,38 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(laplacianFoam)
+add_subdirectory(scalarTransportFoam)
+add_subdirectory(potentialFoam)
+add_subdirectory(PODSolver)
+add_subdirectory(potentialDyMFoam)
+add_subdirectory(sixDOFSolver)
\ No newline at end of file
diff --git a/applications/solvers/basic/PODSolver/CMakeLists.txt b/applications/solvers/basic/PODSolver/CMakeLists.txt
new file mode 100644
index 000000000..2fbeae183
--- /dev/null
+++ b/applications/solvers/basic/PODSolver/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ PODSolver.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(PODSolver
+ DEPENDS POD
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/laplacianFoam/CMakeLists.txt b/applications/solvers/basic/laplacianFoam/CMakeLists.txt
new file mode 100644
index 000000000..99fe9ea2b
--- /dev/null
+++ b/applications/solvers/basic/laplacianFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ laplacianFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(laplacianFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..deb8c3036
--- /dev/null
+++ b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ potentialDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(potentialDyMFoam
+ DEPENDS dynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/potentialFoam/CMakeLists.txt b/applications/solvers/basic/potentialFoam/CMakeLists.txt
new file mode 100644
index 000000000..b3a75a7cf
--- /dev/null
+++ b/applications/solvers/basic/potentialFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ potentialFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(potentialFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt
new file mode 100644
index 000000000..d930ccf49
--- /dev/null
+++ b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scalarTransportFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(scalarTransportFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/sixDOFSolver/CMakeLists.txt b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt
new file mode 100644
index 000000000..75a07bad7
--- /dev/null
+++ b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sixDOFSolver.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sixDOFSolver
+ DEPENDS meshTools ODE
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/CMakeLists.txt b/applications/solvers/combustion/CMakeLists.txt
new file mode 100644
index 000000000..095c01c64
--- /dev/null
+++ b/applications/solvers/combustion/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(coldEngineFoam)
+add_subdirectory(dieselEngineFoam)
+add_subdirectory(XiFoam)
+add_subdirectory(PDRFoam)
+add_subdirectory(fireFoam)
+add_subdirectory(engineFoam)
+add_subdirectory(reactingFoam)
+add_subdirectory(dieselFoam)
+add_subdirectory(rhoReactingFoam)
\ No newline at end of file
diff --git a/applications/solvers/combustion/PDRFoam/CMakeLists.txt b/applications/solvers/combustion/PDRFoam/CMakeLists.txt
new file mode 100644
index 000000000..5210f86b9
--- /dev/null
+++ b/applications/solvers/combustion/PDRFoam/CMakeLists.txt
@@ -0,0 +1,76 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ XiModels/XiModel/XiModel.C
+ XiModels/XiModel/newXiModel.C
+ XiModels/fixed/fixed.C
+ XiModels/algebraic/algebraic.C
+ XiModels/transport/transport.C
+ XiModels/XiEqModels/XiEqModel/XiEqModel.C
+ XiModels/XiEqModels/XiEqModel/newXiEqModel.C
+ XiModels/XiEqModels/Gulder/Gulder.C
+ XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C
+ XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C
+ XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C
+ XiModels/XiGModels/XiGModel/XiGModel.C
+ XiModels/XiGModels/XiGModel/newXiGModel.C
+ XiModels/XiGModels/KTS/KTS.C
+ XiModels/XiGModels/instabilityG/instabilityG.C
+ PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C
+ PDRModels/dragModels/PDRDragModel/PDRDragModel.C
+ PDRModels/dragModels/PDRDragModel/newPDRDragModel.C
+ PDRModels/dragModels/basic/basic.C
+ PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C
+ PDRModels/XiGModels/basicXiSubG/basicXiSubG.C
+ laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
+ PDRFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(PDRFoam
+ DEPENDS engine compressibleRASModels laminarFlameSpeedModels dynamicFvMesh
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(PDRFoam PUBLIC
+ $
+ $
+ $
+ $
+ $
+)
diff --git a/applications/solvers/combustion/XiFoam/CMakeLists.txt b/applications/solvers/combustion/XiFoam/CMakeLists.txt
new file mode 100644
index 000000000..196b70758
--- /dev/null
+++ b/applications/solvers/combustion/XiFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ XiFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(XiFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels laminarFlameSpeedModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..8d625e81f
--- /dev/null
+++ b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ coldEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(coldEngineFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(coldEngineFoam PUBLIC
+ $
+ $
+)
diff --git a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..fa835766a
--- /dev/null
+++ b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dieselEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dieselEngineFoam
+ DEPENDS engine dieselSpray chemistryModel
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(dieselEngineFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/combustion/dieselFoam/CMakeLists.txt b/applications/solvers/combustion/dieselFoam/CMakeLists.txt
new file mode 100644
index 000000000..c3a034763
--- /dev/null
+++ b/applications/solvers/combustion/dieselFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dieselFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dieselFoam
+ DEPENDS chemistryModel dieselSpray
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(dieselFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/combustion/engineFoam/CMakeLists.txt b/applications/solvers/combustion/engineFoam/CMakeLists.txt
new file mode 100644
index 000000000..47164b062
--- /dev/null
+++ b/applications/solvers/combustion/engineFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ engineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(engineFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels laminarFlameSpeedModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(engineFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/combustion/fireFoam/CMakeLists.txt b/applications/solvers/combustion/fireFoam/CMakeLists.txt
new file mode 100644
index 000000000..ee05c2edb
--- /dev/null
+++ b/applications/solvers/combustion/fireFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(combustionModels)
+
+list(APPEND SOURCES
+ fireFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fireFoam
+ DEPENDS radiation combustionModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt
new file mode 100644
index 000000000..c24bbdfd2
--- /dev/null
+++ b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ combustionModel/combustionModel.C
+ combustionModel/newCombustionModel.C
+ infinitelyFastChemistry/infinitelyFastChemistry.C
+ noCombustion/noCombustion.C
+)
+
+add_foam_library(combustionModels SHARED ${SOURCES})
+
+target_link_libraries(combustionModels PUBLIC reactionThermophysicalModels compressibleTurbulenceModel)
diff --git a/applications/solvers/combustion/reactingFoam/CMakeLists.txt b/applications/solvers/combustion/reactingFoam/CMakeLists.txt
new file mode 100644
index 000000000..ec1fd3eb6
--- /dev/null
+++ b/applications/solvers/combustion/reactingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ reactingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(reactingFoam
+ DEPENDS compressibleRASModels compressibleLESModels chemistryModel
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt
new file mode 100644
index 000000000..5506664d5
--- /dev/null
+++ b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoReactingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoReactingFoam
+ DEPENDS chemistryModel compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/CMakeLists.txt b/applications/solvers/compressible/CMakeLists.txt
new file mode 100644
index 000000000..db1a0b5f7
--- /dev/null
+++ b/applications/solvers/compressible/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(rhoSonicFoam)
+add_subdirectory(sonicDyMFoam)
+add_subdirectory(steadyCompressibleSRFFoam)
+add_subdirectory(realFluidPisoFoam)
+add_subdirectory(steadyUniversalMRFFoam)
+add_subdirectory(rhoPimpleFoam)
+add_subdirectory(sonicFoam)
+add_subdirectory(rhoPorousMRFPimpleFoam)
+add_subdirectory(rhopSonicFoam)
+add_subdirectory(rhoPisoFoam)
+add_subdirectory(steadyCompressibleFoam)
+add_subdirectory(dbnsFoam)
+add_subdirectory(steadyUniversalFoam)
+add_subdirectory(steadyCompressibleMRFFoam)
+add_subdirectory(rhoSimpleFoam)
+add_subdirectory(sonicLiquidFoam)
+add_subdirectory(rhoCentralFoam)
+add_subdirectory(rhoPorousSimpleFoam)
+add_subdirectory(dbnsTurbFoam)
diff --git a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt
new file mode 100644
index 000000000..e06056367
--- /dev/null
+++ b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dbnsFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dbnsFoam
+ DEPENDS dbns
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt
new file mode 100644
index 000000000..9fc434c8a
--- /dev/null
+++ b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dbnsTurbFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dbnsTurbFoam
+ DEPENDS dbns
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..b00a8e3a6
--- /dev/null
+++ b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ realFluidPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(realFluidPisoFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt
new file mode 100644
index 000000000..20138f4cd
--- /dev/null
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C
+ U/maxwellSlipUFvPatchVectorField.C
+ T/smoluchowskiJumpTFvPatchScalarField.C
+ rho/fixedRhoFvPatchScalarField.C
+)
+
+add_foam_library(rhoCentralFoamLib SHARED ${SOURCES})
+
+target_link_libraries(rhoCentralFoamLib PUBLIC finiteVolume)
diff --git a/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt
new file mode 100644
index 000000000..f064dabe1
--- /dev/null
+++ b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(BCs)
+
+list(APPEND SOURCES
+ rhoCentralFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoCentralFoam
+ DEPENDS rhoCentralFoamLib compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..58fbd28ea
--- /dev/null
+++ b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPimpleFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..e8d852551
--- /dev/null
+++ b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPisoFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..365c9114f
--- /dev/null
+++ b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPorousMRFPimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPorousMRFPimpleFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(rhoPorousMRFPimpleFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..c97da0e64
--- /dev/null
+++ b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPorousSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPorousSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..48d683d51
--- /dev/null
+++ b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt
new file mode 100644
index 000000000..45e6ec03b
--- /dev/null
+++ b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoSonicFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoSonicFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt
new file mode 100644
index 000000000..aefd58392
--- /dev/null
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt
@@ -0,0 +1,44 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rho/fixedRhoFvPatchScalarField.C
+ rho/gradientRhoFvPatchScalarField.C
+ rhoE/fixedRhoEFvPatchScalarField.C
+ rhoE/mixedRhoEFvPatchScalarField.C
+ rhoU/fixedRhoUFvPatchVectorField.C
+ p/inviscidWallPFvPatchScalarField.C
+)
+
+add_foam_library(rhopSonicFoamLib SHARED ${SOURCES})
+
+target_link_libraries(rhopSonicFoamLib PUBLIC finiteVolume)
diff --git a/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt
new file mode 100644
index 000000000..fafdee937
--- /dev/null
+++ b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(BCs)
+
+list(APPEND SOURCES
+ rhopSonicFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhopSonicFoam
+ DEPENDS rhopSonicFoamLib compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..afac95c80
--- /dev/null
+++ b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicDyMFoam
+ DEPENDS dynamicFvMesh compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/sonicFoam/CMakeLists.txt b/applications/solvers/compressible/sonicFoam/CMakeLists.txt
new file mode 100644
index 000000000..fcd4bf8d6
--- /dev/null
+++ b/applications/solvers/compressible/sonicFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt
new file mode 100644
index 000000000..59192f0ce
--- /dev/null
+++ b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicLiquidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicLiquidFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt
new file mode 100644
index 000000000..fbf7296e7
--- /dev/null
+++ b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyCompressibleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyCompressibleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..4f18b1b82
--- /dev/null
+++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyCompressibleMRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyCompressibleMRFFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..09b33acb1
--- /dev/null
+++ b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyCompressibleSRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyCompressibleSRFFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt
new file mode 100644
index 000000000..b7a12a314
--- /dev/null
+++ b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyUniversalFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyUniversalFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..6022bd014
--- /dev/null
+++ b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyUniversalMRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyUniversalMRFFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/CMakeLists.txt b/applications/solvers/coupled/CMakeLists.txt
new file mode 100644
index 000000000..a80314a31
--- /dev/null
+++ b/applications/solvers/coupled/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(blockCoupledScalarTransportFoam)
+add_subdirectory(conjugateHeatFoam)
+add_subdirectory(pUCoupledFoam)
+add_subdirectory(conjugateHeatSimpleFoam)
+add_subdirectory(MRFPorousFoam)
diff --git a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt
new file mode 100644
index 000000000..a5b933258
--- /dev/null
+++ b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MRFPorousFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(MRFPorousFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt
new file mode 100644
index 000000000..b864688ac
--- /dev/null
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ blockCoupledScalarTransportFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(blockCoupledScalarTransportFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt
new file mode 100644
index 000000000..2029752d6
--- /dev/null
+++ b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ conjugateHeatFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(conjugateHeatFoam
+ DEPENDS incompressibleRASModels coupledLduMatrix conjugateHeatTransfer
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..703c0de35
--- /dev/null
+++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ conjugateHeatSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(conjugateHeatSimpleFoam
+ DEPENDS incompressibleRASModels coupledLduMatrix conjugateHeatTransfer
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt
new file mode 100644
index 000000000..b8bab942a
--- /dev/null
+++ b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pUCoupledFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pUCoupledFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/discreteMethods/CMakeLists.txt b/applications/solvers/discreteMethods/CMakeLists.txt
new file mode 100644
index 000000000..6e90bc0e7
--- /dev/null
+++ b/applications/solvers/discreteMethods/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(molecularDynamics)
+add_subdirectory(dsmc)
\ No newline at end of file
diff --git a/applications/solvers/discreteMethods/dsmc/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt
new file mode 100644
index 000000000..804f1a363
--- /dev/null
+++ b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(dsmcFoam)
\ No newline at end of file
diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt
new file mode 100644
index 000000000..0549453c0
--- /dev/null
+++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dsmcFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dsmcFoam
+ DEPENDS dsmc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt
new file mode 100644
index 000000000..ed10617c0
--- /dev/null
+++ b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(mdEquilibrationFoam)
+add_subdirectory(mdFoam)
\ No newline at end of file
diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt
new file mode 100644
index 000000000..f1e6d1b86
--- /dev/null
+++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mdEquilibrationFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mdEquilibrationFoam
+ DEPENDS molecule molecularMeasurements
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt
new file mode 100644
index 000000000..9a8e8e757
--- /dev/null
+++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mdFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mdFoam
+ DEPENDS molecule molecularMeasurements
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/electromagnetics/CMakeLists.txt b/applications/solvers/electromagnetics/CMakeLists.txt
new file mode 100644
index 000000000..74fd23060
--- /dev/null
+++ b/applications/solvers/electromagnetics/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(mhdFoam)
+add_subdirectory(electrostaticFoam)
\ No newline at end of file
diff --git a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt
new file mode 100644
index 000000000..d7cddbeef
--- /dev/null
+++ b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ electrostaticFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(electrostaticFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt
new file mode 100644
index 000000000..c62f7dc23
--- /dev/null
+++ b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mhdFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mhdFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/engine/CMakeLists.txt b/applications/solvers/engine/CMakeLists.txt
new file mode 100644
index 000000000..f4ae8f80b
--- /dev/null
+++ b/applications/solvers/engine/CMakeLists.txt
@@ -0,0 +1,35 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(icoDyMEngineFoam)
+add_subdirectory(turbDyMEngineFoam)
+add_subdirectory(sonicTurbDyMEngineFoam)
\ No newline at end of file
diff --git a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..460dae831
--- /dev/null
+++ b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoDyMEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoDyMEngineFoam
+ DEPENDS engine
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..f2056cd89
--- /dev/null
+++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicTurbDyMEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicTurbDyMEngineFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..925000dab
--- /dev/null
+++ b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ turbDyMEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(turbDyMEngineFoam
+ DEPENDS engine incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/equationReaderDemo/CMakeLists.txt b/applications/solvers/equationReaderDemo/CMakeLists.txt
new file mode 100644
index 000000000..b35eee27f
--- /dev/null
+++ b/applications/solvers/equationReaderDemo/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ equationReaderDemo.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(equationReaderDemo
+ DEPENDS equationReader incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/financial/CMakeLists.txt b/applications/solvers/financial/CMakeLists.txt
new file mode 100644
index 000000000..3250f3fe7
--- /dev/null
+++ b/applications/solvers/financial/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(financialFoam)
\ No newline at end of file
diff --git a/applications/solvers/financial/financialFoam/CMakeLists.txt b/applications/solvers/financial/financialFoam/CMakeLists.txt
new file mode 100644
index 000000000..16da86f20
--- /dev/null
+++ b/applications/solvers/financial/financialFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ financialFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(financialFoam
+ DEPENDS sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/finiteArea/CMakeLists.txt b/applications/solvers/finiteArea/CMakeLists.txt
new file mode 100644
index 000000000..c9f2fe833
--- /dev/null
+++ b/applications/solvers/finiteArea/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(surfactantFoam)
+add_subdirectory(liquidFilmFoam)
\ No newline at end of file
diff --git a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt
new file mode 100644
index 000000000..85b38b44f
--- /dev/null
+++ b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ liquidFilmFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(liquidFilmFoam
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt
new file mode 100644
index 000000000..20dfd2556
--- /dev/null
+++ b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfactantFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfactantFoam
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/CMakeLists.txt b/applications/solvers/heatTransfer/CMakeLists.txt
new file mode 100644
index 000000000..fc3068890
--- /dev/null
+++ b/applications/solvers/heatTransfer/CMakeLists.txt
@@ -0,0 +1,40 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(buoyantBoussinesqSimpleFoam)
+add_subdirectory(chtMultiRegionFoam)
+add_subdirectory(boussinesqBuoyantFoam)
+add_subdirectory(buoyantBoussinesqPisoFoam)
+add_subdirectory(buoyantSimpleFoam)
+add_subdirectory(buoyantSimpleRadiationFoam)
+add_subdirectory(chtMultiRegionSimpleFoam)
+add_subdirectory(buoyantPisoFoam)
\ No newline at end of file
diff --git a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt
new file mode 100644
index 000000000..6c8436b36
--- /dev/null
+++ b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ boussinesqBuoyantFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(boussinesqBuoyantFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..f918a44e2
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantBoussinesqPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantBoussinesqPisoFoam
+ DEPENDS incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(buoyantBoussinesqPisoFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..122ce4eea
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantBoussinesqSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantBoussinesqSimpleFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..5a2660c95
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantPisoFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..377028834
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt
new file mode 100644
index 000000000..22e628f47
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantSimpleRadiationFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantSimpleRadiationFoam
+ DEPENDS radiation compressibleRASModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(buoyantSimpleRadiationFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt
new file mode 100644
index 000000000..3092abbe4
--- /dev/null
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt
@@ -0,0 +1,58 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ regionProperties/regionProperties.C
+ derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+ derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C
+ fluid/compressibleCourantNo.C
+ solid/solidRegionDiffNo.C
+ chtMultiRegionFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(chtMultiRegionFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(chtMultiRegionFoam PUBLIC
+ $
+ $
+ $
+ $
+)
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..26c0711e7
--- /dev/null
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt
@@ -0,0 +1,52 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+ chtMultiRegionSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(chtMultiRegionSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(chtMultiRegionSimpleFoam PUBLIC
+ $
+ $
+)
diff --git a/applications/solvers/immersedBoundary/CMakeLists.txt b/applications/solvers/immersedBoundary/CMakeLists.txt
new file mode 100644
index 000000000..67bf92733
--- /dev/null
+++ b/applications/solvers/immersedBoundary/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(pimpleDyMIbFoam)
diff --git a/applications/solvers/immersedBoundary/pimpleDyMIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/pimpleDyMIbFoam/CMakeLists.txt
new file mode 100644
index 000000000..24e0a41e3
--- /dev/null
+++ b/applications/solvers/immersedBoundary/pimpleDyMIbFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pimpleDyMIbFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pimpleDyMIbFoam
+ DEPENDS immersedBoundary dynamicFvMesh incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/CMakeLists.txt b/applications/solvers/incompressible/CMakeLists.txt
new file mode 100644
index 000000000..7194c4ffe
--- /dev/null
+++ b/applications/solvers/incompressible/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(icoDyMFoam)
+add_subdirectory(icoFoam)
+add_subdirectory(simpleFoam)
+add_subdirectory(pisoFoam)
+add_subdirectory(channelFoam)
+add_subdirectory(simpleSRFFoam)
+add_subdirectory(pimpleDyMFoam)
+add_subdirectory(porousSimpleFoam)
+add_subdirectory(boundaryFoam)
+add_subdirectory(icoDyMSimpleFoam)
+add_subdirectory(nonNewtonianIcoFoam)
+add_subdirectory(pimpleFoam)
+add_subdirectory(shallowWaterFoam)
+add_subdirectory(MRFSimpleFoam)
+add_subdirectory(RichardsFoam)
diff --git a/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..faa90212b
--- /dev/null
+++ b/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MRFSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(MRFSimpleFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/RichardsFoam/CMakeLists.txt b/applications/solvers/incompressible/RichardsFoam/CMakeLists.txt
new file mode 100644
index 000000000..c56526c98
--- /dev/null
+++ b/applications/solvers/incompressible/RichardsFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(spatialMeanValueRichardsonFoam)
+
+list(APPEND SOURCES
+ RichardsFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(RichardsFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/RichardsFoam/spatialMeanValueRichardsonFoam/CMakeLists.txt b/applications/solvers/incompressible/RichardsFoam/spatialMeanValueRichardsonFoam/CMakeLists.txt
new file mode 100644
index 000000000..61e09372e
--- /dev/null
+++ b/applications/solvers/incompressible/RichardsFoam/spatialMeanValueRichardsonFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ spatialMeanValueRichardsonFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(spatialMeanValueRichardsonFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt b/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt
new file mode 100644
index 000000000..cb0a1c631
--- /dev/null
+++ b/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ boundaryFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(boundaryFoam
+ DEPENDS incompressibleRASModels sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/channelFoam/CMakeLists.txt b/applications/solvers/incompressible/channelFoam/CMakeLists.txt
new file mode 100644
index 000000000..0ae8a9a7f
--- /dev/null
+++ b/applications/solvers/incompressible/channelFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ channelFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(channelFoam
+ DEPENDS incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt b/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..ddfcaaacf
--- /dev/null
+++ b/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoDyMFoam
+ DEPENDS dynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..55e5e761d
--- /dev/null
+++ b/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoDyMSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoDyMSimpleFoam
+ DEPENDS dynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/icoFoam/CMakeLists.txt b/applications/solvers/incompressible/icoFoam/CMakeLists.txt
new file mode 100644
index 000000000..7b061f23b
--- /dev/null
+++ b/applications/solvers/incompressible/icoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt b/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt
new file mode 100644
index 000000000..4ac55c9c8
--- /dev/null
+++ b/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ nonNewtonianIcoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(nonNewtonianIcoFoam
+ DEPENDS incompressibleTransportModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt b/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..ee04c78fa
--- /dev/null
+++ b/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pimpleDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pimpleDyMFoam
+ DEPENDS dynamicFvMesh incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..573bd5253
--- /dev/null
+++ b/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pimpleFoam
+ DEPENDS incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/pisoFoam/CMakeLists.txt b/applications/solvers/incompressible/pisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..2522f644f
--- /dev/null
+++ b/applications/solvers/incompressible/pisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pisoFoam
+ DEPENDS incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..093cf1dcb
--- /dev/null
+++ b/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ porousSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(porousSimpleFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt b/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt
new file mode 100644
index 000000000..d524d111e
--- /dev/null
+++ b/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ shallowWaterFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(shallowWaterFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/simpleFoam/CMakeLists.txt b/applications/solvers/incompressible/simpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..36ebd441b
--- /dev/null
+++ b/applications/solvers/incompressible/simpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ simpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(simpleFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt b/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..2f0c47d29
--- /dev/null
+++ b/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ simpleSRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(simpleSRFFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/lagrangian/CMakeLists.txt b/applications/solvers/lagrangian/CMakeLists.txt
new file mode 100644
index 000000000..73de7974b
--- /dev/null
+++ b/applications/solvers/lagrangian/CMakeLists.txt
@@ -0,0 +1,36 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(porousExplicitSourceReactingParcelFoam)
+add_subdirectory(reactingParcelFoam)
+add_subdirectory(coalChemistryFoam)
+add_subdirectory(uncoupledKinematicParcelFoam)
\ No newline at end of file
diff --git a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt
new file mode 100644
index 000000000..39afe6927
--- /dev/null
+++ b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ coalChemistryFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(coalChemistryFoam
+ DEPENDS lagrangianIntermediate coalCombustion chemistryModel
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt
new file mode 100644
index 000000000..96bdc58e0
--- /dev/null
+++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ porousExplicitSourceReactingParcelFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(porousExplicitSourceReactingParcelFoam
+ DEPENDS lagrangianIntermediate chemistryModel
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt
new file mode 100644
index 000000000..fc35f80e0
--- /dev/null
+++ b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ reactingParcelFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(reactingParcelFoam
+ DEPENDS lagrangianIntermediate chemistryModel
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt
new file mode 100644
index 000000000..2a75f3de3
--- /dev/null
+++ b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ uncoupledKinematicParcelFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(uncoupledKinematicParcelFoam
+ DEPENDS lagrangianIntermediate
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiSolver/CMakeLists.txt b/applications/solvers/multiSolver/CMakeLists.txt
new file mode 100644
index 000000000..050db8301
--- /dev/null
+++ b/applications/solvers/multiSolver/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(multiSolverDemo)
\ No newline at end of file
diff --git a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt
new file mode 100644
index 000000000..69930c66e
--- /dev/null
+++ b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ multiSolverDemo.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(multiSolverDemo
+ DEPENDS finiteVolume multiSolverLib
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/CMakeLists.txt b/applications/solvers/multiphase/CMakeLists.txt
new file mode 100644
index 000000000..6c454723a
--- /dev/null
+++ b/applications/solvers/multiphase/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(interDyMFoam)
+add_subdirectory(interPhaseChangeFoam)
+add_subdirectory(multiphaseInterFoam)
+add_subdirectory(twoLiquidMixingFoam)
+add_subdirectory(interMixingFoam)
+add_subdirectory(bubbleFoam)
+add_subdirectory(compressibleInterFoam)
+add_subdirectory(twoPhaseEulerFoam)
+add_subdirectory(MRFInterFoam)
+add_subdirectory(barotropicCavitatingFoam)
+add_subdirectory(compressibleInterDyMFoam)
+add_subdirectory(interFoam)
+add_subdirectory(settlingFoam)
+add_subdirectory(porousInterFoam)
+add_subdirectory(cavitatingFoam)
diff --git a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt
new file mode 100644
index 000000000..c494542fd
--- /dev/null
+++ b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MRFInterFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(MRFInterFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(MRFInterFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt
new file mode 100644
index 000000000..5d0f3fedd
--- /dev/null
+++ b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ barotropicCavitatingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(barotropicCavitatingFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt
new file mode 100644
index 000000000..4fad7047c
--- /dev/null
+++ b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ bubbleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(bubbleFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt
new file mode 100644
index 000000000..201c0a2c9
--- /dev/null
+++ b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cavitatingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(cavitatingFoam
+ DEPENDS barotropicCompressibilityModel incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..7be6357cb
--- /dev/null
+++ b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ compressibleInterDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(compressibleInterDyMFoam
+ DEPENDS interfaceProperties dynamicFvMesh incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt
new file mode 100644
index 000000000..6a20c2895
--- /dev/null
+++ b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ compressibleInterFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(compressibleInterFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..39a2a1bde
--- /dev/null
+++ b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ interDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interDyMFoam
+ DEPENDS interfaceProperties dynamicFvMesh incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(interDyMFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/multiphase/interFoam/CMakeLists.txt b/applications/solvers/multiphase/interFoam/CMakeLists.txt
new file mode 100644
index 000000000..b24f707cb
--- /dev/null
+++ b/applications/solvers/multiphase/interFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ interFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt
new file mode 100644
index 000000000..30ec5e19e
--- /dev/null
+++ b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt
@@ -0,0 +1,54 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ incompressibleThreePhaseMixture/threePhaseMixture.C
+ threePhaseInterfaceProperties/threePhaseInterfaceProperties.C
+ interMixingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interMixingFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(interMixingFoam PUBLIC
+ $
+ $
+ $
+)
diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt
new file mode 100644
index 000000000..43882adff
--- /dev/null
+++ b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt
@@ -0,0 +1,56 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ interPhaseChangeFoam.C
+ phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C
+ phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C
+ phaseChangeTwoPhaseMixtures/Kunz/Kunz.C
+ phaseChangeTwoPhaseMixtures/Merkle/Merkle.C
+ phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interPhaseChangeFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(interPhaseChangeFoam PUBLIC
+ $
+)
+
diff --git a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt
new file mode 100644
index 000000000..cf746f653
--- /dev/null
+++ b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt
@@ -0,0 +1,56 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ multiphaseMixture/phase/phase.C
+ multiphaseMixture/multiphaseAlphaContactAngle/multiphaseAlphaContactAngleFvPatchScalarField.C
+ multiphaseMixture/multiphaseMixture.C
+ multiphaseInterFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(multiphaseInterFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(multiphaseInterFoam PUBLIC
+ $
+ $
+ $
+ $
+)
diff --git a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt
new file mode 100644
index 000000000..b40ac63e8
--- /dev/null
+++ b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ porousInterFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(porousInterFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(porousInterFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/multiphase/settlingFoam/CMakeLists.txt b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt
new file mode 100644
index 000000000..41e3482cc
--- /dev/null
+++ b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ settlingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(settlingFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt
new file mode 100644
index 000000000..ea4daf374
--- /dev/null
+++ b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ twoLiquidMixingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(twoLiquidMixingFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt
new file mode 100644
index 000000000..f2ef809b1
--- /dev/null
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt
@@ -0,0 +1,54 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(interfacialModels)
+add_subdirectory(phaseModel)
+add_subdirectory(kineticTheoryModels)
+
+list(APPEND SOURCES
+ twoPhaseEulerFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(twoPhaseEulerFoam
+ DEPENDS kineticTheoryModel
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(twoPhaseEulerFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt
new file mode 100644
index 000000000..6eb6d77d7
--- /dev/null
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dragModels/dragModel/dragModel.C
+ dragModels/dragModel/newDragModel.C
+ dragModels/Ergun/Ergun.C
+ dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C
+ dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C
+ dragModels/SchillerNaumann/SchillerNaumann.C
+ dragModels/Gibilaro/Gibilaro.C
+ dragModels/WenYu/WenYu.C
+ dragModels/SyamlalOBrien/SyamlalOBrien.C
+)
+
+add_foam_library(EulerianInterfacialModels SHARED ${SOURCES})
+
+target_link_libraries(EulerianInterfacialModels PUBLIC finiteVolume phaseModel)
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt
new file mode 100644
index 000000000..c50818015
--- /dev/null
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt
@@ -0,0 +1,68 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ kineticTheoryModel/kineticTheoryModel.C
+ viscosityModel/viscosityModel/kineticTheoryViscosityModel.C
+ viscosityModel/viscosityModel/newKineticTheoryViscosityModel.C
+ viscosityModel/Gidaspow/GidaspowViscosity.C
+ viscosityModel/Syamlal/SyamlalViscosity.C
+ viscosityModel/HrenyaSinclair/HrenyaSinclairViscosity.C
+ viscosityModel/none/noneViscosity.C
+ conductivityModel/conductivityModel/conductivityModel.C
+ conductivityModel/conductivityModel/newConductivityModel.C
+ conductivityModel/Gidaspow/GidaspowConductivity.C
+ conductivityModel/Syamlal/SyamlalConductivity.C
+ conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C
+ radialModel/radialModel/radialModel.C
+ radialModel/radialModel/newRadialModel.C
+ radialModel/CarnahanStarling/CarnahanStarlingRadial.C
+ radialModel/Gidaspow/GidaspowRadial.C
+ radialModel/LunSavage/LunSavageRadial.C
+ radialModel/SinclairJackson/SinclairJacksonRadial.C
+ granularPressureModel/granularPressureModel/granularPressureModel.C
+ granularPressureModel/granularPressureModel/newGranularPressureModel.C
+ granularPressureModel/Lun/LunPressure.C
+ granularPressureModel/SyamlalRogersOBrien/SyamlalRogersOBrienPressure.C
+ frictionalStressModel/frictionalStressModel/frictionalStressModel.C
+ frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C
+ frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C
+ frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C
+)
+
+add_foam_library(kineticTheoryModel SHARED ${SOURCES})
+
+target_link_libraries(kineticTheoryModel PUBLIC EulerianInterfacialModels)
+
+target_include_directories(kineticTheoryModel PUBLIC
+ $
+)
diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt
new file mode 100644
index 000000000..f9d4da264
--- /dev/null
+++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ phaseModel/phaseModel.C
+)
+
+add_foam_library(phaseModel SHARED ${SOURCES})
+
+target_link_libraries(phaseModel PUBLIC incompressibleTransportModels)
diff --git a/applications/solvers/overset/CMakeLists.txt b/applications/solvers/overset/CMakeLists.txt
new file mode 100644
index 000000000..2b3434aea
--- /dev/null
+++ b/applications/solvers/overset/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(icoDyMOversetFoam)
+add_subdirectory(icoOversetFoam)
+add_subdirectory(interOversetFoam)
+add_subdirectory(laplacianOversetFoam)
+add_subdirectory(pimpleDyMOversetFoam)
+add_subdirectory(potentialDyMOversetFoam)
+add_subdirectory(potentialOversetFoam)
+add_subdirectory(scalarTransportOversetFoam)
+add_subdirectory(simpleMRFOversetFoam)
+add_subdirectory(simpleOversetFoam)
diff --git a/applications/solvers/overset/icoDyMOversetFoam/CMakeLists.txt b/applications/solvers/overset/icoDyMOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..dcd7ab8dc
--- /dev/null
+++ b/applications/solvers/overset/icoDyMOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoDyMOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoDyMOversetFoam
+ DEPENDS oversetDynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/icoOversetFoam/CMakeLists.txt b/applications/solvers/overset/icoOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..9958a9829
--- /dev/null
+++ b/applications/solvers/overset/icoOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoOversetFoam
+ DEPENDS oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/interOversetFoam/CMakeLists.txt b/applications/solvers/overset/interOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..0d3b10e7d
--- /dev/null
+++ b/applications/solvers/overset/interOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ interOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interOversetFoam
+ DEPENDS interfaceProperties incompressibleRASModels incompressibleLESModels oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/laplacianOversetFoam/CMakeLists.txt b/applications/solvers/overset/laplacianOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..e41649b81
--- /dev/null
+++ b/applications/solvers/overset/laplacianOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ laplacianOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(laplacianOversetFoam
+ DEPENDS oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/pimpleDyMOversetFoam/CMakeLists.txt b/applications/solvers/overset/pimpleDyMOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..d5d90f611
--- /dev/null
+++ b/applications/solvers/overset/pimpleDyMOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pimpleDyMOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pimpleDyMOversetFoam
+ DEPENDS incompressibleRASModels incompressibleLESModels oversetDynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/potentialDyMOversetFoam/CMakeLists.txt b/applications/solvers/overset/potentialDyMOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..1ec94eec8
--- /dev/null
+++ b/applications/solvers/overset/potentialDyMOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ potentialDyMOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(potentialDyMOversetFoam
+ DEPENDS oversetDynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/potentialOversetFoam/CMakeLists.txt b/applications/solvers/overset/potentialOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..f42b7f0e8
--- /dev/null
+++ b/applications/solvers/overset/potentialOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ potentialOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(potentialOversetFoam
+ DEPENDS oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/scalarTransportOversetFoam/CMakeLists.txt b/applications/solvers/overset/scalarTransportOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..8a0d57c50
--- /dev/null
+++ b/applications/solvers/overset/scalarTransportOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scalarTransportOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(scalarTransportOversetFoam
+ DEPENDS oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/simpleMRFOversetFoam/CMakeLists.txt b/applications/solvers/overset/simpleMRFOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..45474c935
--- /dev/null
+++ b/applications/solvers/overset/simpleMRFOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ simpleMRFOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(simpleMRFOversetFoam
+ DEPENDS incompressibleRASModels oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/overset/simpleOversetFoam/CMakeLists.txt b/applications/solvers/overset/simpleOversetFoam/CMakeLists.txt
new file mode 100644
index 000000000..2ae906a62
--- /dev/null
+++ b/applications/solvers/overset/simpleOversetFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ simpleOversetFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(simpleOversetFoam
+ DEPENDS incompressibleRASModels oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/CMakeLists.txt b/applications/solvers/solidMechanics/CMakeLists.txt
new file mode 100644
index 000000000..53ff30c5c
--- /dev/null
+++ b/applications/solvers/solidMechanics/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(elasticThermalSolidFoam)
+add_subdirectory(elasticOrthoAcpSolidFoam)
+add_subdirectory(elasticIncrSolidFoam)
+add_subdirectory(viscoElasticSolidFoam)
+add_subdirectory(elasticSolidFoam)
+add_subdirectory(elasticAcpSolidFoam)
+add_subdirectory(icoFsiElasticNonLinULSolidFoam)
+add_subdirectory(elasticOrthoNonLinULSolidFoam)
+add_subdirectory(utilities)
+add_subdirectory(deprecatedSolvers)
+add_subdirectory(elasticPlasticNonLinTLSolidFoam)
+add_subdirectory(elasticNonLinTLSolidFoam)
+add_subdirectory(elasticOrthoSolidFoam)
+add_subdirectory(stressFemFoam)
+add_subdirectory(elasticNonLinULSolidFoam)
+add_subdirectory(elasticNonLinIncrTLSolidFoam)
+add_subdirectory(elasticPlasticSolidFoam)
+add_subdirectory(elasticIncrAcpSolidFoam)
+add_subdirectory(elasticPlasticNonLinULSolidFoam)
\ No newline at end of file
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt
new file mode 100644
index 000000000..922eead0c
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt
@@ -0,0 +1,40 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(materialModels)
+add_subdirectory(newStressedFoam)
+add_subdirectory(stressedFoam)
+add_subdirectory(solidDisplacementFoam)
+add_subdirectory(contactStressFoam)
+add_subdirectory(newContactStressFoam)
+add_subdirectory(solidEquilibriumDisplacementFoam)
+add_subdirectory(icoFsiFoam)
\ No newline at end of file
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt
new file mode 100644
index 000000000..d8c665ea7
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt
@@ -0,0 +1,49 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ contactPatchPair.C
+ contactPatchPairUpdateContact.C
+ contactPatchPairSlavePressure.C
+ contactStressFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(contactStressFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt
new file mode 100644
index 000000000..307382a9b
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tractionDisplacement/tractionDisplacementFvPatchVectorField.C
+ icoFsiFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoFsiFoam
+ DEPENDS dynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt
new file mode 100644
index 000000000..bf9219730
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt
@@ -0,0 +1,71 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rheologyModel/rheologyModel.C
+)
+set(rheologyLaws rheologyModel/rheologyLaws)
+
+list(APPEND SOURCES
+ ${rheologyLaws}/rheologyLaw/rheologyLaw.C
+ ${rheologyLaws}/rheologyLaw/newRheologyLaw.C
+ ${rheologyLaws}/linearElastic/linearElastic.C
+ ${rheologyLaws}/multiMaterial/multiMaterial.C
+ ${rheologyLaws}/MaxwellViscoelastic/MaxwellViscoelastic.C
+ ${rheologyLaws}/BurgersViscoelastic/BurgersViscoelastic.C
+ ${rheologyLaws}/KelvinSLSViscoelastic/KelvinSLSViscoelastic.C
+ ${rheologyLaws}/MaxwellSLSViscoelastic/MaxwellSLSViscoelastic.C
+ ${rheologyLaws}/MaxwellElasticViscoelastic/MaxwellElasticViscoelastic.C
+ ${rheologyLaws}/PronyViscoelastic/PronyViscoelastic.C
+ thermalModel/thermalModel.C
+)
+set(thermalLaws thermalModel/thermalLaws)
+
+list(APPEND SOURCES
+ ${thermalLaws}/thermalLaw/thermalLaw.C
+ ${thermalLaws}/thermalLaw/newThermalLaw.C
+ ${thermalLaws}/constantThermal/constantThermal.C
+ ${thermalLaws}/multiMaterialThermal/multiMaterialThermal.C
+ cohesiveLaws/cohesiveLaw/cohesiveLaw.C
+ cohesiveLaws/Dugdale/DugdaleCohesiveLaw.C
+ cohesiveLaws/linear/linearCohesiveLaw.C
+ fvPatchFields/tractionDisplacement/tractionDisplacementFvPatchVectorField.C
+ fvPatchFields/tractionDisplacementThermo/tractionDisplacementThermoFvPatchVectorField.C
+ fvPatchFields/nusselt/nusseltFvPatchScalarField.C
+ fvPatchFields/newDirectionMixed/newDirectionMixedFvPatchFields.C
+ fvPatchFields/cohesiveLaw/cohesiveLawFvPatchVectorField.C
+ fvPatchFields/cohesiveZone/cohesiveZoneFvPatchVectorField.C
+)
+
+add_foam_library(materialModels SHARED ${SOURCES})
+
+target_link_libraries(materialModels PUBLIC finiteVolume)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt
new file mode 100644
index 000000000..f07b2251b
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt
@@ -0,0 +1,52 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ contactProblem.C
+ contactPatchPair.C
+ newContactStressFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(newContactStressFoam
+ DEPENDS materialModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(newContactStressFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt
new file mode 100644
index 000000000..aae5294b6
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ newStressedFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(newStressedFoam
+ DEPENDS materialModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt
new file mode 100644
index 000000000..abe1e9019
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tractionDisplacement/tractionDisplacementFvPatchVectorField.C
+ solidDisplacementFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(solidDisplacementFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt
new file mode 100644
index 000000000..38969cf50
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C
+ solidEquilibriumDisplacementFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(solidEquiriumDisplacementFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(solidEquiriumDisplacementFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt
new file mode 100644
index 000000000..944430980
--- /dev/null
+++ b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tractionDisplacement/tractionDisplacementFvPatchVectorField.C
+ stressedFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(stressedFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..f8c24aab5
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticAcpSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticAcpSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..3702d92fa
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticIncrAcpSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticIncrAcpSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..2357fa38f
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticIncrSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticIncrSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..46eacc587
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticNonLinIncrTLSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticNonLinIncrTLSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..7a07d9833
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticNonLinTLSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticNonLinTLSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..5a82900f2
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticNonLinULSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticNonLinULSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..b589ccfeb
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticOrthoAcpSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticOrthoAcpSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..28421f58a
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticOrthoNonLinULSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticOrthoNonLinULSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..fff0694cd
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticOrthoSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticOrthoSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..6f91548ba
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticPlasticNonLinTLSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticPlasticNonLinTLSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..e8395c54a
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticPlasticNonLinULSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticPlasticNonLinULSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..da68608c1
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticPlasticSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticPlasticSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..b102b65b1
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..0d79413cb
--- /dev/null
+++ b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ elasticThermalSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(elasticThermalSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..f7be29266
--- /dev/null
+++ b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoFsiElasticNonLinULSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoFsiElasticNonLinULSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt
new file mode 100644
index 000000000..cecdd350c
--- /dev/null
+++ b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt
@@ -0,0 +1,52 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ femStress/tractionTetPolyPatchVectorField.C
+ stressFemFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(stressFemFoam
+ DEPENDS finiteVolume tetFiniteElement
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(stressFemFoam PUBLIC
+ $
+)
+
diff --git a/applications/solvers/solidMechanics/utilities/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/CMakeLists.txt
new file mode 100644
index 000000000..d35b27e13
--- /dev/null
+++ b/applications/solvers/solidMechanics/utilities/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(calculateCourantNumber)
+add_subdirectory(forceDisp)
+add_subdirectory(patchStressIntegrate)
+add_subdirectory(surfaceTractions)
+add_subdirectory(smoothMesh)
\ No newline at end of file
diff --git a/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt
new file mode 100644
index 000000000..83a30b820
--- /dev/null
+++ b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ calculateCourantNumber.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(calculateCourantNumber
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt
new file mode 100644
index 000000000..03cc1cdcb
--- /dev/null
+++ b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ forceDisp.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(forceDisp
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt
new file mode 100644
index 000000000..1473c9eca
--- /dev/null
+++ b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ patchStressIntegrate.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(patchStressIntegrate
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt
new file mode 100644
index 000000000..c31490e81
--- /dev/null
+++ b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ smoothMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(smoothMesh
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt
new file mode 100644
index 000000000..b96200730
--- /dev/null
+++ b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceTractions.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceTractions
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt
new file mode 100644
index 000000000..5095215cc
--- /dev/null
+++ b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ viscoElasticSolidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(viscoElasticSolidFoam
+ DEPENDS solidModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/surfaceTracking/CMakeLists.txt b/applications/solvers/surfaceTracking/CMakeLists.txt
new file mode 100644
index 000000000..57aa67254
--- /dev/null
+++ b/applications/solvers/surfaceTracking/CMakeLists.txt
@@ -0,0 +1,36 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(bubbleInterTrackFoam)
+add_subdirectory(freeSurface)
+add_subdirectory(utilities)
+add_subdirectory(interTrackFoam)
\ No newline at end of file
diff --git a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt
new file mode 100644
index 000000000..f4f9fac4b
--- /dev/null
+++ b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ bubbleInterTrackFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(bubbleInterTrackFoam
+ DEPENDS freeSurface
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(bubbleInterTrackFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt
new file mode 100644
index 000000000..3e6c9982c
--- /dev/null
+++ b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt
@@ -0,0 +1,52 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ freeSurface.C
+ makeFreeSurfaceData.C
+ freeSurfacePointDisplacement.C
+ correctedFvPatchFields/correctedFvPatchField/correctedFvPatchFields.C
+)
+
+set(basicCorrectedFvPatchFields correctedFvPatchFields/basicCorrectedFvPatchFields)
+list(APPEND SOURCES
+ ${basicCorrectedFvPatchFields}/fixedGradient/fixedGradientCorrectedFvPatchFields.C
+ ${basicCorrectedFvPatchFields}/fixedValue/fixedValueCorrectedFvPatchFields.C
+ ${basicCorrectedFvPatchFields}/zeroGradient/zeroGradientCorrectedFvPatchFields.C
+ patchCorrectedSnGrad/patchCorrectedSnGrads.C
+ functionObjects/bubbleHistory/bubbleHistory.C
+ functionObjects/sloshingHistory/sloshingHistory.C
+)
+
+add_foam_library(freeSurface SHARED ${SOURCES})
+
+target_link_libraries(freeSurface PUBLIC finiteArea dynamicFvMesh)
diff --git a/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt
new file mode 100644
index 000000000..e7ebd934d
--- /dev/null
+++ b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ interTrackFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interTrackFoam
+ DEPENDS freeSurface
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(interTrackFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/surfaceTracking/utilities/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/CMakeLists.txt
new file mode 100644
index 000000000..72a9baa3f
--- /dev/null
+++ b/applications/solvers/surfaceTracking/utilities/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(setFluidIndicator)
\ No newline at end of file
diff --git a/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt
new file mode 100644
index 000000000..bd941785e
--- /dev/null
+++ b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ setFluidIndicator.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(setFluidIndicator
+ DEPENDS freeSurface
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/viscoelastic/CMakeLists.txt b/applications/solvers/viscoelastic/CMakeLists.txt
new file mode 100644
index 000000000..ea5e45f47
--- /dev/null
+++ b/applications/solvers/viscoelastic/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(viscoelasticFluidFoam)
\ No newline at end of file
diff --git a/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt
new file mode 100644
index 000000000..ca10bd5e6
--- /dev/null
+++ b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ viscoelasticFluidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(viscoelasticFluidFoam
+ DEPENDS viscoelasticTransportModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/CMakeLists.txt b/applications/utilities/CMakeLists.txt
new file mode 100644
index 000000000..bbda2e4b5
--- /dev/null
+++ b/applications/utilities/CMakeLists.txt
@@ -0,0 +1,44 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(solidMechanics)
+add_subdirectory(immersedBoundary)
+add_subdirectory(thermophysical)
+add_subdirectory(miscellaneous)
+add_subdirectory(surface)
+add_subdirectory(preProcessing)
+add_subdirectory(finiteArea)
+add_subdirectory(postProcessing)
+add_subdirectory(parallelProcessing)
+add_subdirectory(errorEstimation)
+add_subdirectory(mesh)
+add_subdirectory(overset)
diff --git a/applications/utilities/errorEstimation/CMakeLists.txt b/applications/utilities/errorEstimation/CMakeLists.txt
new file mode 100644
index 000000000..6a3e32944
--- /dev/null
+++ b/applications/utilities/errorEstimation/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(momentScalarError)
+add_subdirectory(icoErrorEstimate)
+add_subdirectory(simpleFoamResidual)
+add_subdirectory(estimateScalarError)
+add_subdirectory(icoMomentError)
\ No newline at end of file
diff --git a/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt b/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt
new file mode 100644
index 000000000..9f417ffda
--- /dev/null
+++ b/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ estimateScalarError.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(estimateScalarError
+ DEPENDS errorEstimation
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt b/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt
new file mode 100644
index 000000000..ac622737c
--- /dev/null
+++ b/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoErrorEstimate.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoErrorEstimate
+ DEPENDS errorEstimation
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt b/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt
new file mode 100644
index 000000000..ee9466113
--- /dev/null
+++ b/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoMomentError.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoMomentError
+ DEPENDS errorEstimation
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt b/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt
new file mode 100644
index 000000000..31d376584
--- /dev/null
+++ b/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ momentScalarError.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(momentScalarError
+ DEPENDS errorEstimation
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt b/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt
new file mode 100644
index 000000000..614840bf9
--- /dev/null
+++ b/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ simpleFoamResidual.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(simpleFoamResidual
+ DEPENDS errorEstimation incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/finiteArea/CMakeLists.txt b/applications/utilities/finiteArea/CMakeLists.txt
new file mode 100644
index 000000000..df3bf2e82
--- /dev/null
+++ b/applications/utilities/finiteArea/CMakeLists.txt
@@ -0,0 +1,35 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(makeFaMesh)
+add_subdirectory(checkFaMesh)
+add_subdirectory(createFaMeshFromStl)
\ No newline at end of file
diff --git a/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt b/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt
new file mode 100644
index 000000000..0457caa82
--- /dev/null
+++ b/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ checkFaMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(checkFaMesh
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt b/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt
new file mode 100644
index 000000000..cd8f09fc0
--- /dev/null
+++ b/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ createFaMeshFromStl.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(createFaMeshFromStl
+ DEPENDS finiteArea meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt b/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt
new file mode 100644
index 000000000..9181650be
--- /dev/null
+++ b/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ makeFaMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(makeFaMesh
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/immersedBoundary/CMakeLists.txt b/applications/utilities/immersedBoundary/CMakeLists.txt
new file mode 100644
index 000000000..3a5f0b454
--- /dev/null
+++ b/applications/utilities/immersedBoundary/CMakeLists.txt
@@ -0,0 +1,38 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(surfaceNormal)
+add_subdirectory(writeIbMasks)
+add_subdirectory(ibContinuityError)
+add_subdirectory(makeTriSurfaceMesh)
+add_subdirectory(refineImmersedBoundaryMesh)
+add_subdirectory(surfaceInvertNormal)
\ No newline at end of file
diff --git a/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt b/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt
new file mode 100644
index 000000000..d7b18ddc7
--- /dev/null
+++ b/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ ibContinuityError.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(ibContinuityError
+ DEPENDS immersedBoundary postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt b/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt
new file mode 100644
index 000000000..b0b6e3c5b
--- /dev/null
+++ b/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ makeTriSurfaceMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(makeTriSurfaceMesh
+ DEPENDS immersedBoundary
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt b/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt
new file mode 100644
index 000000000..3c114482a
--- /dev/null
+++ b/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ refineImmersedBoundaryMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(refineImmersedBoundaryMesh
+ DEPENDS finiteVolume immersedBoundaryDynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt b/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt
new file mode 100644
index 000000000..11549e598
--- /dev/null
+++ b/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceInvertNormal.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceInvertNormal
+ DEPENDS immersedBoundary
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt b/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt
new file mode 100644
index 000000000..164e062b8
--- /dev/null
+++ b/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceNormal.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceNormal
+ DEPENDS immersedBoundary
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt b/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt
new file mode 100644
index 000000000..ef94cb95e
--- /dev/null
+++ b/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ writeIbMasks.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(writeIbMasks
+ DEPENDS postCalc immersedBoundary
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/CMakeLists.txt b/applications/utilities/mesh/CMakeLists.txt
new file mode 100644
index 000000000..28caaf885
--- /dev/null
+++ b/applications/utilities/mesh/CMakeLists.txt
@@ -0,0 +1,36 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(generation)
+add_subdirectory(conversion)
+add_subdirectory(advanced)
+add_subdirectory(manipulation)
\ No newline at end of file
diff --git a/applications/utilities/mesh/advanced/CMakeLists.txt b/applications/utilities/mesh/advanced/CMakeLists.txt
new file mode 100644
index 000000000..09a985183
--- /dev/null
+++ b/applications/utilities/mesh/advanced/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(refineHexMesh)
+add_subdirectory(removeFaces)
+add_subdirectory(combinePatchFaces)
+add_subdirectory(collapseEdges)
+add_subdirectory(autoRefineMesh)
+add_subdirectory(refinementLevel)
+add_subdirectory(refineWallLayer)
+add_subdirectory(splitCells)
+add_subdirectory(modifyMesh)
+add_subdirectory(selectCells)
\ No newline at end of file
diff --git a/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt
new file mode 100644
index 000000000..4d4535d72
--- /dev/null
+++ b/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ autoRefineMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(autoRefineMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt b/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt
new file mode 100644
index 000000000..d20fffe97
--- /dev/null
+++ b/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ collapseEdges.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(collapseEdges
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt b/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt
new file mode 100644
index 000000000..791fb8450
--- /dev/null
+++ b/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ combinePatchFaces.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(combinePatchFaces
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt
new file mode 100644
index 000000000..0980ad7f4
--- /dev/null
+++ b/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cellSplitter.C
+ modifyMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(modifyMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt
new file mode 100644
index 000000000..85325d811
--- /dev/null
+++ b/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ refineHexMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(refineHexMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt b/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt
new file mode 100644
index 000000000..2e6a4e4a2
--- /dev/null
+++ b/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ refineWallLayer.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(refineWallLayer
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt b/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt
new file mode 100644
index 000000000..7074babef
--- /dev/null
+++ b/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ refinementLevel.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(refinementLevel
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt b/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt
new file mode 100644
index 000000000..89a3d6f47
--- /dev/null
+++ b/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ removeFaces.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(removeFaces
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt b/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt
new file mode 100644
index 000000000..fda700b4d
--- /dev/null
+++ b/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ edgeStats.C
+ selectCells.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(selectCells
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt b/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt
new file mode 100644
index 000000000..a775e76f2
--- /dev/null
+++ b/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ splitCells.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(splitCells
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/CMakeLists.txt b/applications/utilities/mesh/conversion/CMakeLists.txt
new file mode 100644
index 000000000..e57f0a8e3
--- /dev/null
+++ b/applications/utilities/mesh/conversion/CMakeLists.txt
@@ -0,0 +1,55 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(netgenNeutralToFoam)
+add_subdirectory(writeMeshObj)
+add_subdirectory(polyDualMesh)
+add_subdirectory(gmshToFoam)
+add_subdirectory(cfx4ToFoam)
+add_subdirectory(ideasUnvToFoam)
+add_subdirectory(foamMeshToElmer)
+add_subdirectory(fluent3DMeshToElmer)
+add_subdirectory(sammToFoam)
+add_subdirectory(Optional)
+add_subdirectory(mshToFoam)
+add_subdirectory(foamMeshToAbaqus)
+add_subdirectory(starToFoam)
+add_subdirectory(kivaToFoam)
+add_subdirectory(foamMeshToFluent)
+add_subdirectory(gambitToFoam)
+add_subdirectory(ansysToFoam)
+add_subdirectory(foamToStarMesh)
+add_subdirectory(plot3dToFoam)
+add_subdirectory(fluent3DMeshToFoam)
+add_subdirectory(tetgenToFoam)
+add_subdirectory(fluentMeshToFoam)
+add_subdirectory(star4ToFoam)
diff --git a/applications/utilities/mesh/conversion/Optional/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt
new file mode 100644
index 000000000..e3a43bc6e
--- /dev/null
+++ b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(ccm26ToFoam)
diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt
new file mode 100644
index 000000000..1a3a6c0e2
--- /dev/null
+++ b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ ccm26ToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(ccm26ToFoam
+ DEPENDS finiteVolume meshTools ccmio
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt
new file mode 100644
index 000000000..a54367317
--- /dev/null
+++ b/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+FLEX_TARGET(ansysToFoam ansysToFoam.L
+ ${CMAKE_CURRENT_BINARY_DIR}/ansysToFoam.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_ansysToFoam_OUTPUTS})
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(ansysToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt
new file mode 100644
index 000000000..9e4c82853
--- /dev/null
+++ b/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ hexBlock.C
+ cfx4ToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(cfx4ToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt b/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt
new file mode 100644
index 000000000..2e9beee07
--- /dev/null
+++ b/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+FLEX_TARGET(fluent3DMeshToElmer fluent3DMeshToElmer.L
+ ${CMAKE_CURRENT_BINARY_DIR}/fluent3DMeshToElmer.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_fluent3DMeshToElmer_OUTPUTS})
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fluent3DMeshToElmer
+ DEPENDS dynamicMesh conversion
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt
new file mode 100644
index 000000000..21392dfe0
--- /dev/null
+++ b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+FLEX_TARGET(fluent3DMeshToFoam fluent3DMeshToFoam.L
+ ${CMAKE_CURRENT_BINARY_DIR}/fluent3DMeshToFoam.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_fluent3DMeshToFoam_OUTPUTS})
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fluent3DMeshToFoam
+ DEPENDS dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt
new file mode 100644
index 000000000..a8e831a5e
--- /dev/null
+++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt
@@ -0,0 +1,55 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ extrudedTriangleCellShape.C
+ extrudedQuadCellShape.C
+ create3DCellShape.C
+)
+FLEX_TARGET(fluentMeshToFoam fluentMeshToFoam.L
+ ${CMAKE_CURRENT_BINARY_DIR}/fluentMeshToFoam.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_fluentMeshToFoam_OUTPUTS})
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fluentMeshToFoam
+ DEPENDS dynamicMesh
+ SOURCES ${SOURCES}
+)
+target_include_directories(fluentMeshToFoam PUBLIC
+ $
+# $
+)
diff --git a/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt
new file mode 100644
index 000000000..bf76b1704
--- /dev/null
+++ b/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamMeshToAbaqus.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamMeshToAbaqus
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt
new file mode 100644
index 000000000..f21925be6
--- /dev/null
+++ b/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamMeshToElmer.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamMeshToElmer
+ DEPENDS conversion
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt
new file mode 100644
index 000000000..f9f273923
--- /dev/null
+++ b/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ fluentFvMesh.C
+ foamMeshToFluent.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamMeshToFluent
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt b/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt
new file mode 100644
index 000000000..ba13835bc
--- /dev/null
+++ b/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamToStarMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToStarMesh
+ DEPENDS conversion
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt
new file mode 100644
index 000000000..cd9e835ae
--- /dev/null
+++ b/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+FLEX_TARGET(gambitToFoam gambitToFoam.L
+ ${CMAKE_CURRENT_BINARY_DIR}/gambitToFoam.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_gambitToFoam_OUTPUTS})
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(gambitToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt
new file mode 100644
index 000000000..35b3a701f
--- /dev/null
+++ b/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ gmshToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(gmshToFoam
+ DEPENDS dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt
new file mode 100644
index 000000000..bb13541e8
--- /dev/null
+++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ ideasUnvToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(ideasUnvToFoam
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt
new file mode 100644
index 000000000..f9fc4bd38
--- /dev/null
+++ b/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ kivaToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(kivaToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt
new file mode 100644
index 000000000..90fa22215
--- /dev/null
+++ b/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mshToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mshToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt
new file mode 100644
index 000000000..24a7b942e
--- /dev/null
+++ b/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ netgenNeutralToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(netgenNeutralToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt
new file mode 100644
index 000000000..2a06d9521
--- /dev/null
+++ b/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ hexBlock.C
+ plot3dToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(plot3dToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt b/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt
new file mode 100644
index 000000000..b2a983906
--- /dev/null
+++ b/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ meshDualiser.C
+ polyDualMeshApp.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(polyDualMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt
new file mode 100644
index 000000000..fe4fd7eeb
--- /dev/null
+++ b/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt
@@ -0,0 +1,60 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sammMesh.C
+ fillSammCellShapeTable.C
+ fillSammAddressingTable.C
+ readPoints.C
+ readCells.C
+ readBoundary.C
+ fixCollapsedEdges.C
+ readCouples.C
+ calcPointCells.C
+ createPolyCells.C
+ createBoundaryFaces.C
+ createPolyBoundary.C
+ purgeCellShapes.C
+ writeMesh.C
+ sammToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sammToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt
new file mode 100644
index 000000000..73e70db16
--- /dev/null
+++ b/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt
@@ -0,0 +1,35 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(foamMeshToStar)
+add_subdirectory(cellZoneToCellTableId)
+#add_subdirectory(star4ToFoam)
diff --git a/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt
new file mode 100644
index 000000000..0b51cdcd2
--- /dev/null
+++ b/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cellZoneToCellTableId.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(cellZoneToCellTableId
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt
new file mode 100644
index 000000000..f4ef49e56
--- /dev/null
+++ b/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamMeshToStar.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamMeshToStar
+ DEPENDS conversion meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt
new file mode 100644
index 000000000..288b8ab80
--- /dev/null
+++ b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt
@@ -0,0 +1,52 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ meshReader.C
+ meshReaderAux.C
+ starMeshReader.C
+ calcPointCells.C
+ createPolyCells.C
+ createPolyBoundary.C
+ star4ToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(star4ToFoam
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt
new file mode 100644
index 000000000..8109d479d
--- /dev/null
+++ b/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt
@@ -0,0 +1,64 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ coupledFacePair.C
+ starMesh.C
+ readPoints.C
+)
+# readSeparatedPoints.C
+list(APPEND SOURCES
+ readCells.C
+ readBoundary.C
+ fixCollapsedEdges.C
+ readCouples.C
+ createCoupleMatches.C
+ mergeCoupleFacePoints.C
+ calcPointCells.C
+ createPolyCells.C
+ createBoundaryFaces.C
+ createPolyBoundary.C
+ purgeCellShapes.C
+ writeMesh.C
+ starToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(starToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt
new file mode 100644
index 000000000..1242a1d41
--- /dev/null
+++ b/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tetgenToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(tetgenToFoam
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt b/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt
new file mode 100644
index 000000000..5213919ef
--- /dev/null
+++ b/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ writeMeshObj.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(writeMeshObj
+ DEPENDS foam meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/CMakeLists.txt b/applications/utilities/mesh/generation/CMakeLists.txt
new file mode 100644
index 000000000..b22dd86b4
--- /dev/null
+++ b/applications/utilities/mesh/generation/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(blockMesh)
+add_subdirectory(cfMesh)
+add_subdirectory(extrudeMesh)
+add_subdirectory(snappyHexMesh)
+add_subdirectory(extrude2DMesh)
\ No newline at end of file
diff --git a/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt b/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt
new file mode 100644
index 000000000..23e6399e4
--- /dev/null
+++ b/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ blockMeshApp.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(blockMesh
+ DEPENDS blockMeshLib
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt
new file mode 100644
index 000000000..a2c014ede
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(FMSToVTK)
+add_subdirectory(scaleMesh)
+add_subdirectory(cartesian2DMesh)
+add_subdirectory(extrudeEdgesInto2DSurface)
+add_subdirectory(scaleSurfaceMesh)
+add_subdirectory(surfaceFeatureEdges)
+add_subdirectory(patchesToSubsets)
+add_subdirectory(FLMAToSurface)
+add_subdirectory(mergeSurfacePatches)
+add_subdirectory(generateBoundaryLayers)
+add_subdirectory(surfaceToFMS)
+add_subdirectory(improveSymmetryPlanes)
+add_subdirectory(pMesh)
+add_subdirectory(tetMesh)
+add_subdirectory(importSurfaceAsSubset)
+add_subdirectory(checkSurfaceMesh)
+add_subdirectory(subsetToPatch)
+add_subdirectory(improveMeshQuality)
+add_subdirectory(preparePar)
+add_subdirectory(surfaceGenerateBoundingBox)
+add_subdirectory(removeSurfaceFacets)
+add_subdirectory(FMSToSurface)
+add_subdirectory(cartesianMesh)
+add_subdirectory(copySurfaceParts)
+add_subdirectory(meshToFPMA)
\ No newline at end of file
diff --git a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt
new file mode 100644
index 000000000..fed9c58b8
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ FLMAToSurface.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(FLMAToSurface
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt
new file mode 100644
index 000000000..db76a0974
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ FMSToSurface.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(FMSToSurface
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt
new file mode 100644
index 000000000..1e2d6ad7a
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ FMSToVTK.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(FMSToVTK
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt
new file mode 100644
index 000000000..c7f2d2481
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cartesian2DMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(cartesian2DMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt
new file mode 100644
index 000000000..950be7c56
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cartesianMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(cartesianMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt
new file mode 100644
index 000000000..8d31266a4
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ checkSurfaceMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(checkSurfaceMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt
new file mode 100644
index 000000000..cbb114212
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ copySurfaceParts.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(copySurfaceParts
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt
new file mode 100644
index 000000000..5bf6c038a
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ extrudeEdgesInto2DSurface.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(extrudeEdgesInto2DSurface
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt
new file mode 100644
index 000000000..3bcf8c99d
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ generateBoundaryLayers.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(generateBoundaryLayers
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt
new file mode 100644
index 000000000..a20dec78a
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ importSurfaceAsSubset.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(importSurfaceAsSubset
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt
new file mode 100644
index 000000000..09e7aa528
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ improveMeshQuality.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(improveMeshQuality
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt
new file mode 100644
index 000000000..cafb83308
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ improveSymmetryPlanes.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(improveSymmetryPlanes
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt
new file mode 100644
index 000000000..6942afaf0
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mergeSurfacePatches.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mergeSurfacePatches
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt
new file mode 100644
index 000000000..3669fd594
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ meshToFPMA.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(meshToFPMA
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt
new file mode 100644
index 000000000..7b65e10f9
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt
new file mode 100644
index 000000000..84df2ad5f
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ patchesToSubsets.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(patchesToSubsets
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt
new file mode 100644
index 000000000..8f5fff944
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ preparePar.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(preparePar
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt
new file mode 100644
index 000000000..00048ed8c
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ removeSurfaceFacets.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(removeSurfaceFacets
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt
new file mode 100644
index 000000000..c8eccc6d1
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scaleMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(scaleMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt
new file mode 100644
index 000000000..3f70980c7
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scaleSurfaceMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(scaleSurfaceMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt
new file mode 100644
index 000000000..305e9c2fb
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ subsetToPatch.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(subsetToPatch
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt
new file mode 100644
index 000000000..a78345802
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceFeatureEdges.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceFeatureEdges
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt
new file mode 100644
index 000000000..dcc4e8419
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceGenerateBoundingBox.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceGenerateBoundingBox
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt
new file mode 100644
index 000000000..dbc444cc7
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceToFMS.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceToFMS
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt
new file mode 100644
index 000000000..b7ecb2c09
--- /dev/null
+++ b/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tetMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(tetMesh
+ DEPENDS cfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt b/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt
new file mode 100644
index 000000000..19e05f091
--- /dev/null
+++ b/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ extrude2DMesh.C
+ doExtrude2DMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(extrude2DMesh
+ DEPENDS dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/generation/extrudeMesh/Allwmake b/applications/utilities/mesh/generation/extrudeMesh/Allwmake
index 871cad2b6..1d9987ed7 100755
--- a/applications/utilities/mesh/generation/extrudeMesh/Allwmake
+++ b/applications/utilities/mesh/generation/extrudeMesh/Allwmake
@@ -2,7 +2,6 @@
cd ${0%/*} || exit 1 # run from this directory
set -x
-wmake libso extrudeModel
wmake
# ----------------------------------------------------------------- end-of-file
diff --git a/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt b/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt
new file mode 100644
index 000000000..3468946b9
--- /dev/null
+++ b/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ extrudeMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(extrudeMesh
+ DEPENDS extrudeModel
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(extrudeMesh PUBLIC
+ $
+# $
+)
diff --git a/applications/utilities/mesh/generation/extrudeMesh/Make/options b/applications/utilities/mesh/generation/extrudeMesh/Make/options
index 75526a0fd..2a030a70e 100644
--- a/applications/utilities/mesh/generation/extrudeMesh/Make/options
+++ b/applications/utilities/mesh/generation/extrudeMesh/Make/options
@@ -1,6 +1,6 @@
EXE_INC = \
-IextrudedMesh \
- -IextrudeModel/lnInclude \
+ -I$(LIB_SRC)/mesh/extrudeModel/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files
deleted file mode 100644
index abcfb8261..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files
+++ /dev/null
@@ -1,10 +0,0 @@
-extrudeModel/extrudeModel.C
-extrudeModel/newExtrudeModel.C
-linearNormal/linearNormal.C
-linearRadial/linearRadial.C
-sigmaRadial/sigmaRadial.C
-wedge/wedge.C
-gradedNormal/gradedNormal.C
-
-LIB = $(FOAM_LIBBIN)/libextrudeModel
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options
deleted file mode 100644
index afc486fed..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options
+++ /dev/null
@@ -1,9 +0,0 @@
-EXE_INC = \
- -I$(LIB_SRC)/meshTools/lnInclude \
- -I$(LIB_SRC)/dynamicMesh/lnInclude \
- -I$(LIB_SRC)/ODE/lnInclude
-
-EXE_LIBS = \
- -lmeshTools \
- -ldynamicMesh \
- -lODE
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C
deleted file mode 100644
index af0bf0788..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C
+++ /dev/null
@@ -1,65 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-namespace Foam
-{
- defineTypeNameAndDebug(extrudeModel, 0);
- defineRunTimeSelectionTable(extrudeModel, dictionary);
-}
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-Foam::extrudeModel::extrudeModel
-(
- const word& modelType,
- const dictionary& dict
-)
-:
- nLayers_(readLabel(dict.lookup("nLayers"))),
- dict_(dict),
- coeffDict_(dict.subDict(modelType + "Coeffs"))
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-
-Foam::extrudeModel::~extrudeModel()
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
-
-Foam::label Foam::extrudeModel::nLayers() const
-{
- return nLayers_;
-}
-
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H
deleted file mode 100644
index 4dec4e7a5..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H
+++ /dev/null
@@ -1,135 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Class
- Foam::extrudeModel
-
-Description
- Top level extrusion model class
-
-SourceFiles
- extrudeModel.C
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef extrudeModel_H
-#define extrudeModel_H
-
-#include "dictionary.H"
-#include "point.H"
-#include "autoPtr.H"
-#include "runTimeSelectionTables.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
-/*---------------------------------------------------------------------------*\
- Class extrudeModel Declaration
-\*---------------------------------------------------------------------------*/
-
-class extrudeModel
-{
-protected:
-
- // Protected data
-
- const label nLayers_;
-
- const dictionary& dict_;
-
- const dictionary& coeffDict_;
-
-
- // Private Member Functions
-
- //- Disallow default bitwise copy construct
- extrudeModel(const extrudeModel&);
-
- //- Disallow default bitwise assignment
- void operator=(const extrudeModel&);
-
-
-public:
-
- //- Runtime type information
- TypeName("extrudeModel");
-
- //- Declare runtime constructor selection table
-
- declareRunTimeSelectionTable
- (
- autoPtr,
- extrudeModel,
- dictionary,
- (
- const dictionary& dict
- ),
- (dict)
- );
-
-
- // Constructors
-
- //- Construct from dictionary
- extrudeModel(const word& modelType, const dictionary&);
-
-
- // Selectors
-
- //- Select null constructed
- static autoPtr New(const dictionary&);
-
-
- //- Destructor
- virtual ~extrudeModel();
-
-
- // Member Functions
-
- // Access
-
- label nLayers() const;
-
-
- // Member Operators
-
- virtual point operator()
- (
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
- ) const = 0;
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C
deleted file mode 100644
index 687692a9b..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C
+++ /dev/null
@@ -1,58 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-Foam::autoPtr Foam::extrudeModel::New
-(
- const dictionary& dict
-)
-{
- word extrudeModelType(dict.lookup("extrudeModel"));
-
- Info<< "Selecting extrudeModel " << extrudeModelType << endl;
-
- dictionaryConstructorTable::iterator cstrIter =
- dictionaryConstructorTablePtr_->find(extrudeModelType);
-
- if (cstrIter == dictionaryConstructorTablePtr_->end())
- {
- FatalErrorIn("extrudeModel::New(const dictionary&)")
- << "Unknown extrudeModelType type "
- << extrudeModelType
- << ", constructor not in hash table" << nl << nl
- << " Valid extrudeModel types are :" << nl
- << dictionaryConstructorTablePtr_->toc() << nl
- << exit(FatalError);
- }
-
- return autoPtr(cstrIter()(dict));
-}
-
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/gradedNormal/gradedNormal.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/gradedNormal/gradedNormal.C
deleted file mode 100644
index 37bb95212..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/gradedNormal/gradedNormal.C
+++ /dev/null
@@ -1,143 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "gradedNormal.H"
-#include "addToRunTimeSelectionTable.H"
-#include "BisectionRoot.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-defineTypeNameAndDebug(gradedNormal, 0);
-
-addToRunTimeSelectionTable(extrudeModel, gradedNormal, dictionary);
-
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-gradedNormal::gradedNormal(const dictionary& dict)
-:
- extrudeModel(typeName, dict),
- thickness_(readScalar(coeffDict_.lookup("thickness"))),
- delta0_(readScalar(coeffDict_.lookup("initialCellLength"))),
- expansionFactor_(1.0)
-{
- // Sanity checks
- if (thickness_ <= SMALL)
- {
- FatalErrorIn("gradedNormal(const dictionary&)")
- << "thickness should be positive: " << thickness_
- << exit(FatalError);
- }
-
- if (delta0_ <= SMALL)
- {
- FatalErrorIn("gradedNormal(const dictionary&)")
- << "initialCellLength should be positive: " << delta0_
- << exit(FatalError);
- }
-
- const scalar maxExpFactor =
- coeffDict_.lookupOrDefault("maxExpansionFactor", 3.0);
-
- if (maxExpFactor <= SMALL)
- {
- FatalErrorIn("gradedNormal(const dictionary&)")
- << "maxExpansionFactor should be positive: " << maxExpFactor
- << exit(FatalError);
- }
-
- const scalar bisectionTol =
- coeffDict_.lookupOrDefault("bisectionTol", 1e-5);
-
- if (bisectionTol <= SMALL)
- {
- FatalErrorIn("gradedNormal(const dictionary&)")
- << "bisectionTolerance should be positive: " << bisectionTol
- << exit(FatalError);
- }
-
- // Create expansion factor equation represented as a function object
- expansionFactorEqn eqn(*this);
-
- // Calculate the expansionFactor using the bisection algorithm with the
- // default tolerance of 1e-5
- BisectionRoot rootFinder
- (
- eqn,
- bisectionTol
- );
-
- // Search for the root in [0, 3], where upper bound 3 is default
- expansionFactor_ = rootFinder.root
- (
- 0.0,
- maxExpFactor
- );
-
- // Report the result
- Info<< "Calculated expansion factor: " << expansionFactor_ << endl;
-}
-
-
-// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-
-gradedNormal::~gradedNormal()
-{}
-
-
-// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * //
-
-point gradedNormal::operator()
-(
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
-) const
-{
- scalar d = 0.0;
-
- for (label i = 0; i < layer; ++i)
- {
- d += delta0_*pow(expansionFactor_, i);
- }
-
- return surfacePoint + d*surfaceNormal;
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/gradedNormal/gradedNormal.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/gradedNormal/gradedNormal.H
deleted file mode 100644
index bd2127bf0..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/gradedNormal/gradedNormal.H
+++ /dev/null
@@ -1,158 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Class
- Foam::extrudeModels::gradedNormal
-
-Description
- Extrudes by transforming points normal to the surface. Input parameters are:
- 1. Extrusion thickness (in meters),
- 2. Initial delta (in meters),
- 3. Number of layers.
-
- Expansion factor is calculated numerically using bisection algorithm.
-
-Author
- Vuko Vukcevic. FMENA Zagreb. All rights reserved.
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef gradedNormal_H
-#define gradedNormal_H
-
-#include "point.H"
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-/*---------------------------------------------------------------------------*\
- Class gradedNormal Declaration
-\*---------------------------------------------------------------------------*/
-
-class gradedNormal
-:
- public extrudeModel
-{
- // Private data
-
- //- Layer thickness
- scalar thickness_;
-
- //- Initial delta (cell size at the extruded patch)
- scalar delta0_;
-
- //- Expansion factor
- scalar expansionFactor_;
-
-
- // Expansion factor equation (functor class used by BisectionRoot)
- class expansionFactorEqn
- {
- // Private data
-
- //- Const reference to underlying gradedNormal model
- const gradedNormal& gnm_;
-
-
- public:
-
- //- Construct given gradedNormal model
- explicit expansionFactorEqn(const gradedNormal& gnm)
- :
- gnm_(gnm)
- {}
-
-
- //- Function call operator
- scalar operator()(const scalar& x) const
- {
- scalar result = gnm_.thickness();
-
- for (label i = 0; i <= gnm_.nLayers(); ++i)
- {
- result -= gnm_.delta0()*pow(x, i);
- }
-
- return result;
- }
- };
-
-
-public:
-
- //- Runtime type information
- TypeName("gradedNormal");
-
- // Constructors
-
- //- Construct from components
- gradedNormal(const dictionary& dict);
-
-
- //- Destructor
- ~gradedNormal();
-
-
- // Access functions
-
- //- Return const reference to thickness
- const scalar& thickness() const
- {
- return thickness_;
- }
-
-
- //- Return const reference to initial delta
- const scalar& delta0() const
- {
- return delta0_;
- }
-
-
- // Member Operators
-
- point operator()
- (
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
- ) const;
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C
deleted file mode 100644
index fe89bfb84..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C
+++ /dev/null
@@ -1,85 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "linearNormal.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-defineTypeNameAndDebug(linearNormal, 0);
-
-addToRunTimeSelectionTable(extrudeModel, linearNormal, dictionary);
-
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-linearNormal::linearNormal(const dictionary& dict)
-:
- extrudeModel(typeName, dict),
- thickness_(readScalar(coeffDict_.lookup("thickness")))
-{
- if (thickness_ <= SMALL)
- {
- FatalErrorIn("linearNormal(const dictionary&)")
- << "thickness should be positive : " << thickness_
- << exit(FatalError);
- }
-}
-
-
-// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-
-linearNormal::~linearNormal()
-{}
-
-
-// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * //
-
-point linearNormal::operator()
-(
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
-) const
-{
- scalar d = thickness_*layer/nLayers_;
- return surfacePoint + d*surfaceNormal;
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H
deleted file mode 100644
index 31946c768..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H
+++ /dev/null
@@ -1,95 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Class
- Foam::extrudeModels::linearNormal
-
-Description
- Extrudes by transforming points normal to the surface by a given distance
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef linearNormal_H
-#define linearNormal_H
-
-#include "point.H"
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-/*---------------------------------------------------------------------------*\
- Class linearNormal Declaration
-\*---------------------------------------------------------------------------*/
-
-class linearNormal
-:
- public extrudeModel
-{
- // Private data
-
- //- layer thickness
- scalar thickness_;
-
-
-public:
-
- //- Runtime type information
- TypeName("linearNormal");
-
- // Constructors
-
- //- Construct from components
- linearNormal(const dictionary& dict);
-
-
- //- Destructor
- ~linearNormal();
-
-
- // Member Operators
-
- point operator()
- (
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
- ) const;
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C
deleted file mode 100644
index 4056c6b7e..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C
+++ /dev/null
@@ -1,81 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "linearRadial.H"
-#include "addToRunTimeSelectionTable.H"
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-defineTypeNameAndDebug(linearRadial, 0);
-
-addToRunTimeSelectionTable(extrudeModel, linearRadial, dictionary);
-
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-linearRadial::linearRadial(const dictionary& dict)
-:
- extrudeModel(typeName, dict),
- R_(readScalar(coeffDict_.lookup("R")))
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-
-linearRadial::~linearRadial()
-{}
-
-
-// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * //
-
-point linearRadial::operator()
-(
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
-) const
-{
- // radius of the surface
- scalar rs = mag(surfacePoint);
- vector rsHat = surfacePoint/rs;
-
- scalar delta = (R_ - rs)/nLayers_;
- scalar r = rs + layer*delta;
- return r*rsHat;
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H
deleted file mode 100644
index e09ba397d..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H
+++ /dev/null
@@ -1,92 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Class
- Foam::extrudeModels::linearRadial
-
-Description
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef linearRadial_H
-#define linearRadial_H
-
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-/*---------------------------------------------------------------------------*\
- Class linearRadial Declaration
-\*---------------------------------------------------------------------------*/
-
-class linearRadial
-:
- public extrudeModel
-{
- // Private data
-
- scalar R_;
-
-
-public:
-
- //- Runtime type information
- TypeName("linearRadial");
-
- // Constructors
-
- //- Construct from components
- linearRadial(const dictionary& dict);
-
-
- //- Destructor
- ~linearRadial();
-
-
- // Member Operators
-
- point operator()
- (
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
- ) const;
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C
deleted file mode 100644
index 0a0b699e9..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C
+++ /dev/null
@@ -1,86 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "sigmaRadial.H"
-#include "addToRunTimeSelectionTable.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-defineTypeNameAndDebug(sigmaRadial, 0);
-
-addToRunTimeSelectionTable(extrudeModel, sigmaRadial, dictionary);
-
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-sigmaRadial::sigmaRadial(const dictionary& dict)
-:
- extrudeModel(typeName, dict),
- RTbyg_(readScalar(coeffDict_.lookup("RTbyg"))),
- pRef_(readScalar(coeffDict_.lookup("pRef"))),
- pStrat_(readScalar(coeffDict_.lookup("pStrat")))
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-
-sigmaRadial::~sigmaRadial()
-{}
-
-
-// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * //
-
-point sigmaRadial::operator()
-(
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
-) const
-{
- // radius of the surface
- scalar rs = mag(surfacePoint);
- vector rsHat = surfacePoint/rs;
-
- scalar p = pRef_ - layer*(pRef_ - pStrat_)/nLayers_;
- scalar r = rs - RTbyg_*log(p/pRef_);
-
- return r*rsHat;
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H
deleted file mode 100644
index 021db0dcb..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H
+++ /dev/null
@@ -1,94 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Class
- Foam::extrudeModels::sigmaRadial
-
-Description
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef sigmaRadial_H
-#define sigmaRadial_H
-
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-/*---------------------------------------------------------------------------*\
- Class sigmaRadial Declaration
-\*---------------------------------------------------------------------------*/
-
-class sigmaRadial
-:
- public extrudeModel
-{
- // Private data
-
- scalar RTbyg_;
- scalar pRef_;
- scalar pStrat_;
-
-
-public:
-
- //- Runtime type information
- TypeName("sigmaRadial");
-
- // Constructors
-
- //- Construct from components
- sigmaRadial(const dictionary& dict);
-
-
- //-Destructor
- ~sigmaRadial();
-
-
- // Member Operators
-
- point operator()
- (
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
- ) const;
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
-
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C
deleted file mode 100644
index 340d3317e..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C
+++ /dev/null
@@ -1,126 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-
-#include "wedge.H"
-#include "addToRunTimeSelectionTable.H"
-#include "mathematicalConstants.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
-
-defineTypeNameAndDebug(wedge, 0);
-
-addToRunTimeSelectionTable(extrudeModel, wedge, dictionary);
-
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-wedge::wedge(const dictionary& dict)
-:
- extrudeModel(typeName, dict),
- axisPt_(coeffDict_.lookup("axisPt")),
- axis_(coeffDict_.lookup("axis")),
- angle_
- (
- readScalar(coeffDict_.lookup("angle"))
- *mathematicalConstant::pi/180.0
- )
-{}
-
-
-// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-
-wedge::~wedge()
-{}
-
-
-// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * //
-
-point wedge::operator()
-(
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
-) const
-{
- scalar sliceAngle;
- // For the case of a single layer extrusion assume a
- // symmetric wedge about the reference plane is required
- if (nLayers_ == 1)
- {
- if (layer == 0)
- {
- sliceAngle = -angle_/2.0;
- }
- else
- {
- sliceAngle = angle_/2.0;
- }
- }
- else
- {
- //sliceAngle = angle_*(layer + 1)/nLayers_;
- sliceAngle = angle_*layer/nLayers_;
- }
-
- // Find projection onto axis (or rather decompose surfacePoint
- // into vector along edge (proj), vector normal to edge in plane
- // of surface point and surface normal.
- point d = surfacePoint - axisPt_;
-
- d -= (axis_ & d)*axis_;
-
- scalar dMag = mag(d);
-
- point edgePt = surfacePoint - d;
-
- // Rotate point around sliceAngle.
- point rotatedPoint = edgePt;
-
- if (dMag > VSMALL)
- {
- vector n = (d/dMag) ^ axis_;
-
- rotatedPoint +=
- + cos(sliceAngle)*d
- - sin(sliceAngle)*mag(d)*n; // Use either n or surfaceNormal
- }
-
- return rotatedPoint;
-}
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// ************************************************************************* //
diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H
deleted file mode 100644
index 97db28bf4..000000000
--- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H
+++ /dev/null
@@ -1,107 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Class
- Foam::extrudeModels::wedge
-
-Description
- Extrudes by rotating a surface around an axis
- - extrusion is opposite the surface/patch normal so inwards the source
- mesh
- - axis direction has to be consistent with this.
- - use -mergeFaces option if doing full 360 and want to merge front and back
- - note direction of axis. This should be consistent with rotating against
- the patch normal direction. If you get it wrong you'll see all cells
- with extreme aspect ratio and internal faces wrong way around in
- checkMesh
-
-\*---------------------------------------------------------------------------*/
-
-#ifndef wedge_H
-#define wedge_H
-
-#include "extrudeModel.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-namespace extrudeModels
-{
-
-/*---------------------------------------------------------------------------*\
- Class wedge Declaration
-\*---------------------------------------------------------------------------*/
-
-class wedge
-:
- public extrudeModel
-{
- // Private data
-
- //- Point on axis
- const point axisPt_;
-
- //- Normalized direction of axis
- const vector axis_;
-
- //- Overall angle (radians)
- const scalar angle_;
-
-
-public:
-
- //- Runtime type information
- TypeName("wedge");
-
- // Constructors
-
- //- Construct from components
- wedge(const dictionary& dict);
-
-
- //- Destrcuctor
- ~wedge();
-
-
- // Member Operators
-
- point operator()
- (
- const point& surfacePoint,
- const vector& surfaceNormal,
- const label layer
- ) const;
-};
-
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace extrudeModels
-} // End namespace Foam
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-#endif
-
-// ************************************************************************* //
diff --git a/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt b/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt
new file mode 100644
index 000000000..a125139ce
--- /dev/null
+++ b/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ snappyHexMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(snappyHexMesh
+ DEPENDS dynamicFvMesh autoMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/CMakeLists.txt b/applications/utilities/mesh/manipulation/CMakeLists.txt
new file mode 100644
index 000000000..fa413db10
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/CMakeLists.txt
@@ -0,0 +1,66 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(checkSurfaceCurvature)
+add_subdirectory(regionCellSets)
+add_subdirectory(checkMesh)
+add_subdirectory(createBaffles)
+add_subdirectory(faceSet)
+add_subdirectory(splitMesh)
+add_subdirectory(mergeOrSplitBaffles)
+add_subdirectory(objToVTK)
+add_subdirectory(moveDyMEngineMesh)
+add_subdirectory(transformPoints)
+add_subdirectory(cellSet)
+add_subdirectory(moveEngineMesh)
+add_subdirectory(insideCells)
+add_subdirectory(subsetMesh)
+add_subdirectory(setsToZones)
+add_subdirectory(deformedGeom)
+add_subdirectory(autoPatch)
+add_subdirectory(mergeMeshes)
+add_subdirectory(refineMesh)
+add_subdirectory(rotateMesh)
+add_subdirectory(attachMesh)
+add_subdirectory(renumberMesh)
+add_subdirectory(splitMeshRegions)
+add_subdirectory(deformedTetFemGeom)
+add_subdirectory(moveMesh)
+add_subdirectory(flattenMesh)
+add_subdirectory(zipUpMesh)
+add_subdirectory(stitchMesh)
+add_subdirectory(tetDecomposition)
+add_subdirectory(setSet)
+add_subdirectory(mirrorMesh)
+add_subdirectory(moveDynamicMesh)
+add_subdirectory(pointSet)
+add_subdirectory(createPatch)
\ No newline at end of file
diff --git a/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt
new file mode 100644
index 000000000..039deb084
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ attachPolyTopoChanger.C
+ attachMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(attachMesh
+ DEPENDS dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt b/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt
new file mode 100644
index 000000000..447ef96b5
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ autoPatch.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(autoPatch
+ DEPENDS dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt
new file mode 100644
index 000000000..f7325792a
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cellSet.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(cellSet
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt
new file mode 100644
index 000000000..5c3e85d6b
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt
@@ -0,0 +1,49 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ printMeshStats.C
+ checkTopology.C
+ checkGeometry.C
+ checkMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(checkMesh
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt b/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt
new file mode 100644
index 000000000..7642a4cb3
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ checkSurfaceCurvature.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(checkSurfaceCurvature
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt b/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt
new file mode 100644
index 000000000..ba0764e88
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ createBaffles.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(createBaffles
+ DEPENDS finiteVolume dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt b/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt
new file mode 100644
index 000000000..52607f66b
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ createPatch.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(createPatch
+ DEPENDS dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt b/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt
new file mode 100644
index 000000000..dbd025909
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ deformedGeom.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(deformedGeom
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt b/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt
new file mode 100644
index 000000000..010ffda1e
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ deformedTetFemGeom.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(deformedTetFemGeom
+ DEPENDS tetFiniteElement
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt
new file mode 100644
index 000000000..8c77bb1ba
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ faceSet.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(faceSet
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt
new file mode 100644
index 000000000..f73d39789
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ flattenMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(flattenMesh
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt b/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt
new file mode 100644
index 000000000..babc14e71
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ insideCells.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(insideCells
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt b/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt
new file mode 100644
index 000000000..4ce5f7071
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mergePolyMesh.C
+ mergeMeshes.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mergeMeshes
+ DEPENDS dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt
new file mode 100644
index 000000000..9bfbc33bc
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mergeOrSplitBaffles.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mergeOrSplitBaffles
+ DEPENDS finiteVolume dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt
new file mode 100644
index 000000000..d95e2050f
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mirrorFvMesh.C
+ mirrorMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mirrorMesh
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt
new file mode 100644
index 000000000..81f50a433
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ moveDyMEngineMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(moveDyMEngineMesh
+ DEPENDS engine
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt
new file mode 100644
index 000000000..53aa0f67b
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ moveDynamicMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(moveDynamicMesh
+ DEPENDS engine
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt
new file mode 100644
index 000000000..51b8ca32b
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ moveEngineMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(moveEngineMesh
+ DEPENDS engine
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt
new file mode 100644
index 000000000..142e7e990
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ moveMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(moveMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt b/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt
new file mode 100644
index 000000000..b65cc09f8
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ objToVTK.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(objToVTK
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt
new file mode 100644
index 000000000..0d343ba59
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pointSet.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pointSet
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt
new file mode 100644
index 000000000..e94ded0d2
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ refineMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(refineMesh
+ DEPENDS dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt b/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt
new file mode 100644
index 000000000..5b1538c8d
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ regionCellSets.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(regionCellSets
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt
new file mode 100644
index 000000000..a18141c34
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ renumberMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(renumberMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt
new file mode 100644
index 000000000..22e27534d
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rotateMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rotateMesh
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt
new file mode 100644
index 000000000..2f7f25024
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt
@@ -0,0 +1,49 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ writePointSet.C
+ writeFuns.C
+ writePatch.C
+ setSet.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(setSet
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt b/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt
new file mode 100644
index 000000000..aeebb6c70
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ setsToZones.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(setsToZones
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt
new file mode 100644
index 000000000..53b731afb
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ regionSide.C
+ splitMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(splitMesh
+ DEPENDS dynamicMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt b/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt
new file mode 100644
index 000000000..ec1a54fef
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ splitMeshRegions.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(splitMeshRegions
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt
new file mode 100644
index 000000000..cf180c197
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ stitchMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(stitchMesh
+ DEPENDS finiteVolume dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt
new file mode 100644
index 000000000..42588de44
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ subsetMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(subsetMesh
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt b/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt
new file mode 100644
index 000000000..c03e4180c
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tetDecomposition.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(tetDecomposition
+ DEPENDS finiteVolume tetFiniteElement
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt b/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt
new file mode 100644
index 000000000..83aa04199
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ transformPoints.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(transformPoints
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt
new file mode 100644
index 000000000..c9304e7c9
--- /dev/null
+++ b/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ zipUpMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(zipUpMesh
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/CMakeLists.txt b/applications/utilities/miscellaneous/CMakeLists.txt
new file mode 100644
index 000000000..5301bcfd0
--- /dev/null
+++ b/applications/utilities/miscellaneous/CMakeLists.txt
@@ -0,0 +1,38 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(foamInfoExec)
+add_subdirectory(foamFormatConvert)
+add_subdirectory(expandDictionary)
+add_subdirectory(patchSummary)
+add_subdirectory(autoDerivative)
+add_subdirectory(findRoot)
\ No newline at end of file
diff --git a/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt
new file mode 100644
index 000000000..2240d523b
--- /dev/null
+++ b/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(testFadField)
+add_subdirectory(testFad)
\ No newline at end of file
diff --git a/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt
new file mode 100644
index 000000000..190f55956
--- /dev/null
+++ b/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ testFad.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(testFad
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt
new file mode 100644
index 000000000..311e4ec77
--- /dev/null
+++ b/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ testFadField.C
+ fadOneFields.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(testFadField
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt b/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt
new file mode 100644
index 000000000..3e50205ee
--- /dev/null
+++ b/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ expandDictionary.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(expandDictionary
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/findRoot/CMakeLists.txt b/applications/utilities/miscellaneous/findRoot/CMakeLists.txt
new file mode 100644
index 000000000..67f8995aa
--- /dev/null
+++ b/applications/utilities/miscellaneous/findRoot/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ findRoot.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(findRoot
+ DEPENDS finiteVolume ODE
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt b/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt
new file mode 100644
index 000000000..32a95fffd
--- /dev/null
+++ b/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamFormatConvert.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamFormatConvert
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt b/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt
new file mode 100644
index 000000000..99df24605
--- /dev/null
+++ b/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamInfoExec.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamInfoExec
+ DEPENDS foam
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt b/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt
new file mode 100644
index 000000000..3744c2caa
--- /dev/null
+++ b/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ patchSummary.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(patchSummary
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/overset/CMakeLists.txt b/applications/utilities/overset/CMakeLists.txt
new file mode 100644
index 000000000..df8d70e51
--- /dev/null
+++ b/applications/utilities/overset/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(calcOverset)
+add_subdirectory(oversetRegionIndex)
diff --git a/applications/utilities/overset/calcOverset/CMakeLists.txt b/applications/utilities/overset/calcOverset/CMakeLists.txt
new file mode 100644
index 000000000..50d48c413
--- /dev/null
+++ b/applications/utilities/overset/calcOverset/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ calcOverset.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(calcOverset
+ DEPENDS oversetMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/overset/oversetRegionIndex/CMakeLists.txt b/applications/utilities/overset/oversetRegionIndex/CMakeLists.txt
new file mode 100644
index 000000000..21ad98500
--- /dev/null
+++ b/applications/utilities/overset/oversetRegionIndex/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ oversetRegionIndex.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(oversetRegionIndex
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/parallelProcessing/CMakeLists.txt b/applications/utilities/parallelProcessing/CMakeLists.txt
new file mode 100644
index 000000000..99df2cb0a
--- /dev/null
+++ b/applications/utilities/parallelProcessing/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(redistributeMeshPar)
+add_subdirectory(reconstructParMesh)
+add_subdirectory(decomposePar)
+add_subdirectory(decomposeSets)
+add_subdirectory(reconstructPar)
\ No newline at end of file
diff --git a/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt b/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt
new file mode 100644
index 000000000..a0823fdda
--- /dev/null
+++ b/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ decomposePar.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(decomposePar
+ DEPENDS decomposeReconstruct
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt b/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt
new file mode 100644
index 000000000..f4f65f08f
--- /dev/null
+++ b/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ processorMeshes.C
+ decomposeSets.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(decomposeSets
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt b/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt
new file mode 100644
index 000000000..36f2ec614
--- /dev/null
+++ b/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ processorMeshes.C
+ reconstructPar.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(reconstructPar
+ DEPENDS decomposeReconstruct
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt b/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt
new file mode 100644
index 000000000..434963f32
--- /dev/null
+++ b/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ reconstructParMesh.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(reconstructParMesh
+ DEPENDS decomposeReconstruct
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt b/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt
new file mode 100644
index 000000000..a71531bae
--- /dev/null
+++ b/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ redistributeMeshPar.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(redistributeMeshPar
+ DEPENDS dynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/CMakeLists.txt b/applications/utilities/postProcessing/CMakeLists.txt
new file mode 100644
index 000000000..82b5e1c9b
--- /dev/null
+++ b/applications/utilities/postProcessing/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(velocityField)
+add_subdirectory(lagrangian)
+add_subdirectory(wall)
+add_subdirectory(multiSolver)
+add_subdirectory(stressField)
+add_subdirectory(foamCalc)
+add_subdirectory(miscellaneous)
+add_subdirectory(patch)
+add_subdirectory(sampling)
+add_subdirectory(graphics)
+add_subdirectory(turbulence)
+add_subdirectory(POD)
+add_subdirectory(scalarField)
+add_subdirectory(viscoelastic)
+add_subdirectory(dataConversion)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/POD/CMakeLists.txt b/applications/utilities/postProcessing/POD/CMakeLists.txt
new file mode 100644
index 000000000..18741b282
--- /dev/null
+++ b/applications/utilities/postProcessing/POD/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(vectorSnapshots)
+add_subdirectory(scalarSnapshots)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt b/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt
new file mode 100644
index 000000000..32f0c664c
--- /dev/null
+++ b/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scalarSnapshots.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(scalarSnapshots
+ DEPENDS POD
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt b/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt
new file mode 100644
index 000000000..e51ad2447
--- /dev/null
+++ b/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ vectorSnapshots.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(vectorSnapshots
+ DEPENDS POD
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt
new file mode 100644
index 000000000..57e7b23cb
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt
@@ -0,0 +1,40 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(foamToEnsight)
+add_subdirectory(smapToFoam)
+add_subdirectory(foamToVTK)
+add_subdirectory(foamToEnsightParts)
+add_subdirectory(foamToTecplot360)
+add_subdirectory(foamToFieldview9)
+add_subdirectory(foamDataToFluent)
+add_subdirectory(foamToGMV)
diff --git a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt
new file mode 100644
index 000000000..79e1ab65b
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ writeFluentScalarField.C
+ writeFluentVectorField.C
+ foamDataToFluent.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamDataToFluent
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt
new file mode 100644
index 000000000..5c1387583
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ itoa.C
+ ensightMesh.C
+ ensightParticlePositions.C
+ foamToEnsight.C
+ ensightWriteBinary.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToEnsight
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt
new file mode 100644
index 000000000..4959d0dc2
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamToEnsightParts.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToEnsightParts
+ DEPENDS finiteVolume conversion
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt
new file mode 100644
index 000000000..64cec83c8
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamToFieldview9.C
+ fieldviewTopology.C
+ write_binary_uns.c
+ calcFaceAddressing.C
+ writeFunctions.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToFieldview9
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt
new file mode 100644
index 000000000..6127cc5b5
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamToGMV.C
+ itoa.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToGMV
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt
new file mode 100644
index 000000000..c66cef97b
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(tecio)
+
+list(APPEND SOURCES
+ tecplotWriter.C
+ vtkMesh.C
+ foamToTecplot360.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToTecplot360
+ DEPENDS finiteVolume meshTools tecio
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt
new file mode 100644
index 000000000..2d5c28b6e
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(tecsrc)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt
new file mode 100644
index 000000000..4428adf7f
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt
@@ -0,0 +1,93 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ alloc.cpp
+ arrlist.cpp
+ auxdata.cpp
+ dataio4.cpp
+ dataio.cpp
+ dataset0.cpp
+ dataset.cpp
+ datautil.cpp
+ filestream.cpp
+ geom2.cpp
+ q_msg.cpp
+ q_unicode.cpp
+ set.cpp
+ strlist.cpp
+ strutil.cpp
+ tassert.cpp
+ tecxxx.cpp
+ TranslatedString.cpp
+)
+
+
+add_foam_library(tecio SHARED ${SOURCES})
+
+
+target_compile_definitions(tecio PRIVATE MAKEARCHIVE USEENUM THREED ENGINE)
+if(UNIX)
+ target_compile_definitions(tecio PRIVATE LINUX)
+ target_compile_options(tecio PRIVATE -U_WIN32)
+ if(CMAKE_${LANG}_COMPILER_ID STREQUAL "Intel")
+ target_compile_definitions(tecio PRIVATE LINUXI64)
+ else()
+ target_compile_definitions(tecio PRIVATE LINUX64)
+ target_compile_options(tecio PRIVATE -U_WIN32)
+ endif()
+elseif(APPLE)
+ target_compile_definitions(tecio PRIVATE DARWIN LINUX64)
+ target_compile_options(tecio PRIVATE -U_WIN32)
+elseif(MINGW)
+ target_compile_definitions(tecio PRIVATE LINUX)
+endif()
+
+# This tries to mimic
+#
+#if defined(linux64)
+# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE
+#elif defined(darwinIntel) || defined(darwinIntel64) || defined(darwinPpc) || defined(darwinPpc64)
+# TECIO_FLAGS = -DMAKEARCHIVE -DDARWIN -DUSEENUM -DTHREED -U_WIN32 -DENGINE
+#elif defined(linuxIA64)
+# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUXI64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE
+#elif defined(linux)
+# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE
+#elif defined(darwinIntel)
+# warning "DarwinIntel architecture detected"
+# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE
+#elif defined(mingw)
+# warning "MSWin mingw architecture detected"
+# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DUSEENUM -DTHREED -DENGINE
+#else
+#error "architecture not supported for compiling tecio."
+#endif
diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt
new file mode 100644
index 000000000..565b84839
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamToVTK.C
+ internalWriter.C
+ lagrangianWriter.C
+ patchWriter.C
+ faMeshWriter.C
+ writeFuns.C
+ writePatchGeom.C
+ writeFaceSet.C
+ writePointSet.C
+ writeSurfFields.C
+ vtkMesh.C
+ vtkTopo.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamToVTK
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt
new file mode 100644
index 000000000..2cc08608d
--- /dev/null
+++ b/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ smapToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(smapToFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/foamCalc/CMakeLists.txt b/applications/utilities/postProcessing/foamCalc/CMakeLists.txt
new file mode 100644
index 000000000..bbbdbe983
--- /dev/null
+++ b/applications/utilities/postProcessing/foamCalc/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ foamCalc.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(foamCalc
+ DEPENDS foamCalcFunctions
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/graphics/CMakeLists.txt b/applications/utilities/postProcessing/graphics/CMakeLists.txt
new file mode 100644
index 000000000..84125bf25
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/CMakeLists.txt
@@ -0,0 +1,36 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(newEnsightFoamReader)
+add_subdirectory(PVReaders)
+#add_subdirectory(fieldview9Reader)
+add_subdirectory(ensightFoamReader)
diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt
new file mode 100644
index 000000000..7ccb78674
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(vtkFoam)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt
new file mode 100644
index 000000000..6a5d8784b
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ vtkFoam.C
+ vtkFoamAddInternalMesh.C
+ vtkFoamAddPatch.C
+)
+
+add_foam_library(vtkFoam SHARED ${SOURCES})
+
+#target_link_libraries(vtkFoam finiteVolume)
diff --git a/applications/utilities/postProcessing/graphics/PVReaders/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVReaders/CMakeLists.txt
new file mode 100644
index 000000000..8332c66c8
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/PVReaders/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(PVFoamReader)
+add_subdirectory(vtkPVFoam)
diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt
index ba53194f5..ed12fb572 100644
--- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt
+++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt
@@ -7,51 +7,78 @@
# the pqReader.xml file contains xml defining readers with their
# file extensions and descriptions.
-cmake_minimum_required(VERSION 2.4)
+#
+# We a little hack here to support cmake and wmake-compiled FOAM
+# libraries simultaneously. This uses the same trigger as externally
+# compiled applications (FOAM_FOUND)
+#
-if(COMMAND cmake_policy)
+if(NOT FOAM_FOUND)
+ # Config when compiling FOAM library with wmake
+
+ cmake_minimum_required(VERSION 2.4)
+
+ if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+ endif(COMMAND cmake_policy)
-FIND_PACKAGE(ParaView REQUIRED)
-INCLUDE(${PARAVIEW_USE_FILE})
+ FIND_PACKAGE(ParaView REQUIRED)
+ INCLUDE(${PARAVIEW_USE_FILE})
-LINK_DIRECTORIES(
+ LINK_DIRECTORIES(
$ENV{FOAM_LIBBIN}
-)
+ )
-INCLUDE_DIRECTORIES(
+ INCLUDE_DIRECTORIES(
$ENV{WM_PROJECT_DIR}/src/foam/lnInclude
$ENV{WM_PROJECT_DIR}/src/OSspecific/$ENV{WM_OSTYPE}/lnInclude
$ENV{WM_PROJECT_DIR}/src/finiteVolume/lnInclude
${PROJECT_SOURCE_DIR}/../vtkPVFoam
-)
+ )
-ADD_DEFINITIONS(
+ ADD_DEFINITIONS(
-std=c++11
-DWM_$ENV{WM_PRECISION_OPTION}
-DWM_LABEL_SIZE=$ENV{WM_LABEL_SIZE}
-)
+ )
-# Set output library destination to plugin folder
-SET(
+ # Set output library destination to plugin folder
+ SET(
LIBRARY_OUTPUT_PATH $ENV{PV_PLUGIN_PATH}
CACHE INTERNAL
"Single output directory for building all libraries."
-)
+ )
+else()
+ # Config when compiling FOAM library with cmake
+
+ INCLUDE(${PARAVIEW_USE_FILE})
+endif()
+
# Build the server-side plugin
ADD_PARAVIEW_PLUGIN(
- PVFoamReader_SM "1.0"
- SERVER_MANAGER_XML PVFoamReader_SM.xml
- SERVER_MANAGER_SOURCES vtkPVFoamReader.cxx
+ PVFoamReader_SM "1.0"
+ SERVER_MANAGER_XML PVFoamReader_SM.xml
+ SERVER_MANAGER_SOURCES vtkPVFoamReader.cxx
)
-TARGET_LINK_LIBRARIES(
+if(NOT FOAM_FOUND)
+ # Config when compiling FOAM library with wmake
+
+ TARGET_LINK_LIBRARIES(
PVFoamReader_SM
foam
finiteVolume
vtkPVFoam
pqCore
-)
+ )
+else()
+ # Config when compiling FOAM library with cmake
+
+ TARGET_LINK_LIBRARIES(
+ PVFoamReader_SM
+ PUBLIC vtkPVFoam pqCore
+ )
+endif()
+
#-----------------------------------------------------------------------------
diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx
index 82a343b20..0754e7d82 100644
--- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx
+++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx
@@ -15,6 +15,9 @@
#include "vtkPVFoamReader.h"
+// Foam includes
+#include "vtkPVFoam.H"
+
#include "pqApplicationCore.h"
#include "pqRenderView.h"
#include "pqServerManagerModel.h"
@@ -30,9 +33,6 @@
#include "vtkStreamingDemandDrivenPipeline.h"
#include "vtkStringArray.h"
-// Foam includes
-#include "vtkPVFoam.H"
-
vtkStandardNewMacro(vtkPVFoamReader);
#undef EXPERIMENTAL_TIME_CACHING
diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/CMakeLists.txt
new file mode 100644
index 000000000..0d683321b
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/CMakeLists.txt
@@ -0,0 +1,54 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+include(${PARAVIEW_USE_FILE})
+
+list(APPEND SOURCES
+ vtkPVFoam.C
+ vtkPVFoamFields.C
+ vtkPVFoamMesh.C
+ vtkPVFoamMeshLagrangian.C
+ vtkPVFoamMeshPatch.C
+ vtkPVFoamMeshSet.C
+ vtkPVFoamMeshVolume.C
+ vtkPVFoamMeshZone.C
+ vtkPVFoamUpdateInfo.C
+ vtkPVFoamUtilities.C
+)
+
+add_foam_library(vtkPVFoam SHARED ${SOURCES})
+
+target_link_libraries(vtkPVFoam finiteVolume)
+target_include_directories(vtkPVFoam PUBLIC
+ $
+# $
+)
diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMeshVolume.C b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMeshVolume.C
index f219f942a..474654408 100644
--- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMeshVolume.C
+++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMeshVolume.C
@@ -300,7 +300,7 @@ vtkUnstructuredGrid* Foam::vtkPVFoam::volumeVTKMesh
// but avoids crashes when there is no vtkPolyhedron support
// establish unique node ids used
- HashSet> hashUniqId(2*256);
+ HashSet > hashUniqId(2*256);
forAll(cFaces, cFacei)
{
diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt
new file mode 100644
index 000000000..2addb8407
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ libuserd.C
+)
+
+add_foam_library(userd-foam SHARED ${SOURCES})
+
+target_link_libraries(userd-foam finiteVolume lagrangianBasic)
diff --git a/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt
new file mode 100644
index 000000000..03a5d898f
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ errno.c
+ readerDatabase.C
+ fieldview9Reader.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fvbinFoam
+# DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt
new file mode 100644
index 000000000..389b4474c
--- /dev/null
+++ b/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ libuserd.C
+)
+
+add_foam_library(userd-newFoam SHARED ${SOURCES})
+
+target_link_libraries(userd-newFoam PUBLIC finiteVolume finiteArea lagrangianBasic)
diff --git a/applications/utilities/postProcessing/lagrangian/CMakeLists.txt b/applications/utilities/postProcessing/lagrangian/CMakeLists.txt
new file mode 100644
index 000000000..df466ffef
--- /dev/null
+++ b/applications/utilities/postProcessing/lagrangian/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(particleTracks)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt b/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt
new file mode 100644
index 000000000..c8ea16d41
--- /dev/null
+++ b/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ particleTracks.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(particleTracks
+ DEPENDS finiteVolume lagrangianBasic
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt
new file mode 100644
index 000000000..0067fcd59
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(postChannel)
+add_subdirectory(engineCompRatio)
+add_subdirectory(dsmcFieldsCalc)
+add_subdirectory(writeCellCentres)
+add_subdirectory(wdot)
+add_subdirectory(execFlowFunctionObjects)
+add_subdirectory(ptot)
+add_subdirectory(pdfPlot)
+add_subdirectory(calcLevelSet)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt
new file mode 100644
index 000000000..843313997
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ calcLevelSet.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(calcLevelSet
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt
new file mode 100644
index 000000000..b8ccce56a
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dsmcFieldsCalc.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dsmcFieldsCalc
+ DEPENDS postCalc utilityFunctionObjects dsmc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt
new file mode 100644
index 000000000..ccea414db
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ engineCompRatio.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(engineCompRatio
+ DEPENDS engine
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt
new file mode 100644
index 000000000..ddb8c56da
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ execFlowFunctionObjects.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(execFlowFunctionObjects
+ DEPENDS postCalc incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt
new file mode 100644
index 000000000..457ac6f6c
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pdfPlot.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pdfPlot
+ DEPENDS finiteVolume pdf
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt
new file mode 100644
index 000000000..c357d54ed
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ postChannel.C
+ channelIndex.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(postChannel
+ DEPENDS sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt
new file mode 100644
index 000000000..86198e6c1
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ ptot.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(ptot
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt
new file mode 100644
index 000000000..06e7c5539
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ wdot.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(wdot
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt
new file mode 100644
index 000000000..bb902dde3
--- /dev/null
+++ b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ writeCellCentres.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(writeCellCentres
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/multiSolver/CMakeLists.txt b/applications/utilities/postProcessing/multiSolver/CMakeLists.txt
new file mode 100644
index 000000000..cbef3e05a
--- /dev/null
+++ b/applications/utilities/postProcessing/multiSolver/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ multiSolver.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(multiSolver
+ DEPENDS finiteVolume multiSolverLib
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/patch/CMakeLists.txt b/applications/utilities/postProcessing/patch/CMakeLists.txt
new file mode 100644
index 000000000..755223567
--- /dev/null
+++ b/applications/utilities/postProcessing/patch/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(patchAverage)
+add_subdirectory(patchIntegrate)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt b/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt
new file mode 100644
index 000000000..58c1bb4fe
--- /dev/null
+++ b/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ patchAverage.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(patchAverage
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt b/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt
new file mode 100644
index 000000000..85b5c5fd2
--- /dev/null
+++ b/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ patchIntegrate.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(patchIntegrate
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/sampling/CMakeLists.txt b/applications/utilities/postProcessing/sampling/CMakeLists.txt
new file mode 100644
index 000000000..9d9bfb326
--- /dev/null
+++ b/applications/utilities/postProcessing/sampling/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(sample)
+add_subdirectory(probeLocations)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt b/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt
new file mode 100644
index 000000000..94f0ad1db
--- /dev/null
+++ b/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ probeLocations.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(probeLocations
+ DEPENDS sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt b/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt
new file mode 100644
index 000000000..8b66c021d
--- /dev/null
+++ b/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sample.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sample
+ DEPENDS sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/scalarField/CMakeLists.txt b/applications/utilities/postProcessing/scalarField/CMakeLists.txt
new file mode 100644
index 000000000..e9c700231
--- /dev/null
+++ b/applications/utilities/postProcessing/scalarField/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(pPrime2)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt b/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt
new file mode 100644
index 000000000..ceb3bf3ca
--- /dev/null
+++ b/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pPrime2.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pPrime2
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/stressField/CMakeLists.txt b/applications/utilities/postProcessing/stressField/CMakeLists.txt
new file mode 100644
index 000000000..bb087a98a
--- /dev/null
+++ b/applications/utilities/postProcessing/stressField/CMakeLists.txt
@@ -0,0 +1,36 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(stressComponents)
+add_subdirectory(solidStress)
+add_subdirectory(interFoamPressure)
+add_subdirectory(calcPTot)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt b/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt
new file mode 100644
index 000000000..62eb1b605
--- /dev/null
+++ b/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ calcPTot.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(calcPTot
+ DEPENDS interfaceProperties incompressibleTransportModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt b/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt
new file mode 100644
index 000000000..4d864a331
--- /dev/null
+++ b/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ interFoamPressure.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(interFoamPressure
+ DEPENDS interfaceProperties incompressibleTransportModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt b/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt
new file mode 100644
index 000000000..dcdfbfa24
--- /dev/null
+++ b/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ solidStress.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(solidStress
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt b/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt
new file mode 100644
index 000000000..5bf9455f9
--- /dev/null
+++ b/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ stressComponents.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(stressComponents
+ DEPENDS incompressibleRASModels incompressibleTransportModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/turbulence/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/CMakeLists.txt
new file mode 100644
index 000000000..9ef4f830a
--- /dev/null
+++ b/applications/utilities/postProcessing/turbulence/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(createTurbulenceFields)
+add_subdirectory(R)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt
new file mode 100644
index 000000000..2f811a95e
--- /dev/null
+++ b/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ R.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(R
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt
new file mode 100644
index 000000000..54f9b4485
--- /dev/null
+++ b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ createTurbulenceFields.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(createTurbulenceFields
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/CMakeLists.txt
new file mode 100644
index 000000000..cc857b3e7
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(Q)
+add_subdirectory(vorticity)
+add_subdirectory(streamFunction)
+add_subdirectory(uprime)
+add_subdirectory(Pe)
+add_subdirectory(flowType)
+add_subdirectory(Co)
+add_subdirectory(enstrophy)
+add_subdirectory(Lambda2)
+add_subdirectory(Mach)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt
new file mode 100644
index 000000000..5f66467e8
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ Co.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(Co
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt
new file mode 100644
index 000000000..df8cda3c7
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ Lambda2.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(Lambda2
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt
new file mode 100644
index 000000000..bbf0199f3
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ Mach.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(Mach
+ DEPENDS postCalc reactionThermophysicalModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt
new file mode 100644
index 000000000..aee45c43e
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ Pe.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(Pe
+ DEPENDS postCalc incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt
new file mode 100644
index 000000000..fa21a3551
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ Q.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(Q
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt
new file mode 100644
index 000000000..0fca5cdfa
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ enstrophy.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(enstrophy
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt
new file mode 100644
index 000000000..b6f36c465
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ flowType.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(flowType
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt
new file mode 100644
index 000000000..48fc08b00
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ streamFunction.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(streamFunction
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt
new file mode 100644
index 000000000..c031dab1c
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ uprime.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(uprime
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt
new file mode 100644
index 000000000..7edb82ca8
--- /dev/null
+++ b/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ vorticity.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(vorticity
+ DEPENDS postCalc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt
new file mode 100644
index 000000000..300c65621
--- /dev/null
+++ b/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt
@@ -0,0 +1,35 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(stressSymmComponents)
+add_subdirectory(stressDifferences)
+add_subdirectory(PSD)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt
new file mode 100644
index 000000000..c330f25ea
--- /dev/null
+++ b/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ PSD.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(PSD
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt
new file mode 100644
index 000000000..8daa8bdd8
--- /dev/null
+++ b/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ stressDifferences.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(stressDifferences
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt
new file mode 100644
index 000000000..521f1725e
--- /dev/null
+++ b/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ stressSymmComponents.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(stressSymmComponents
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/wall/CMakeLists.txt b/applications/utilities/postProcessing/wall/CMakeLists.txt
new file mode 100644
index 000000000..57b3ed38e
--- /dev/null
+++ b/applications/utilities/postProcessing/wall/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(wallGradU)
+add_subdirectory(wallShearStress)
+add_subdirectory(yPlusRAS)
+add_subdirectory(wallHeatFlux)
+add_subdirectory(yPlusLES)
\ No newline at end of file
diff --git a/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt
new file mode 100644
index 000000000..5eb439908
--- /dev/null
+++ b/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ wallGradU.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(wallGradU
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt
new file mode 100644
index 000000000..528726b7c
--- /dev/null
+++ b/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ wallHeatFlux.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(wallHeatFlux
+ DEPENDS reactionThermophysicalModels compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt
new file mode 100644
index 000000000..be75326a3
--- /dev/null
+++ b/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ wallShearStress.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(wallShearStress
+ DEPENDS incompressibleRASModels compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt b/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt
new file mode 100644
index 000000000..5b3bbc6b5
--- /dev/null
+++ b/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ yPlusLES.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(yPlusLES
+ DEPENDS incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt b/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt
new file mode 100644
index 000000000..6a7c0f8a1
--- /dev/null
+++ b/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ yPlusRAS.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(yPlusRAS
+ DEPENDS incompressibleRASModels compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/CMakeLists.txt b/applications/utilities/preProcessing/CMakeLists.txt
new file mode 100644
index 000000000..5359ac39f
--- /dev/null
+++ b/applications/utilities/preProcessing/CMakeLists.txt
@@ -0,0 +1,43 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(engineSwirl)
+add_subdirectory(dsmcInitialise)
+add_subdirectory(fluentDataToFoam)
+add_subdirectory(changeDictionary)
+add_subdirectory(setFields)
+add_subdirectory(mapFields)
+add_subdirectory(applyBoundaryLayer)
+add_subdirectory(mdInitialise)
+add_subdirectory(boxTurb)
+add_subdirectory(applyWallFunctionBoundaryConditions)
+add_subdirectory(convertPhi)
\ No newline at end of file
diff --git a/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt b/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt
new file mode 100644
index 000000000..31cd15c05
--- /dev/null
+++ b/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ applyBoundaryLayer.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(applyBoundaryLayer
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt
new file mode 100644
index 000000000..1ce0e5909
--- /dev/null
+++ b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ applyWallFunctionBoundaryConditions.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(applyWallFunctionBoundaryConditions
+ DEPENDS incompressibleRASModels compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/boxTurb/CMakeLists.txt b/applications/utilities/preProcessing/boxTurb/CMakeLists.txt
new file mode 100644
index 000000000..3400a7828
--- /dev/null
+++ b/applications/utilities/preProcessing/boxTurb/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ boxTurb.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(boxTurb
+ DEPENDS finiteVolume randomProcesses
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt b/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt
new file mode 100644
index 000000000..5ec5764e2
--- /dev/null
+++ b/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ changeDictionary.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(changeDictionary
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/convertPhi/CMakeLists.txt b/applications/utilities/preProcessing/convertPhi/CMakeLists.txt
new file mode 100644
index 000000000..af7f9f90e
--- /dev/null
+++ b/applications/utilities/preProcessing/convertPhi/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ convertPhi.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(convertPhi
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt b/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt
new file mode 100644
index 000000000..17cb6c458
--- /dev/null
+++ b/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dsmcInitialise.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dsmcInitialise
+ DEPENDS dsmc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt b/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt
new file mode 100644
index 000000000..bc7eb070e
--- /dev/null
+++ b/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ engineSwirl.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(engineSwirl
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt b/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt
new file mode 100644
index 000000000..097085ed0
--- /dev/null
+++ b/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt
@@ -0,0 +1,53 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ fluentDataConverter.C
+)
+FLEX_TARGET(fluentDataToFoam fluentDataToFoam.L
+ ${CMAKE_CURRENT_BINARY_DIR}/fluentDataToFoam.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_fluentDataToFoam_OUTPUTS})
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fluentDataToFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
+target_include_directories(fluentDataToFoam PUBLIC
+ $
+# $
+)
diff --git a/applications/utilities/preProcessing/mapFields/CMakeLists.txt b/applications/utilities/preProcessing/mapFields/CMakeLists.txt
new file mode 100644
index 000000000..be8882ac2
--- /dev/null
+++ b/applications/utilities/preProcessing/mapFields/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mapLagrangian.C
+ mapFields.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mapFields
+ DEPENDS sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt b/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt
new file mode 100644
index 000000000..5f1746a32
--- /dev/null
+++ b/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mdInitialise.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mdInitialise
+ DEPENDS molecule molecularMeasurements
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/preProcessing/setFields/CMakeLists.txt b/applications/utilities/preProcessing/setFields/CMakeLists.txt
new file mode 100644
index 000000000..bd10818ce
--- /dev/null
+++ b/applications/utilities/preProcessing/setFields/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ setFields.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(setFields
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/solidMechanics/CMakeLists.txt b/applications/utilities/solidMechanics/CMakeLists.txt
new file mode 100644
index 000000000..8da11a875
--- /dev/null
+++ b/applications/utilities/solidMechanics/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(setMatFromCellZones)
\ No newline at end of file
diff --git a/applications/utilities/solidMechanics/patchStressIntegrate/Make/files b/applications/utilities/solidMechanics/patchStressIntegrate/Make/files
deleted file mode 100644
index d493d509f..000000000
--- a/applications/utilities/solidMechanics/patchStressIntegrate/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-patchStressIntegrate.C
-
-EXE = $(FOAM_APPBIN)/patchStressIntegrate
\ No newline at end of file
diff --git a/applications/utilities/solidMechanics/patchStressIntegrate/Make/options b/applications/utilities/solidMechanics/patchStressIntegrate/Make/options
deleted file mode 100644
index d27c95d03..000000000
--- a/applications/utilities/solidMechanics/patchStressIntegrate/Make/options
+++ /dev/null
@@ -1,7 +0,0 @@
-EXE_INC = \
- -I$(LIB_SRC)/finiteVolume/lnInclude \
- -I$(LIB_SRC)/meshTools/lnInclude
-
-EXE_LIBS = \
- -lfiniteVolume \
- -lmeshTools
diff --git a/applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C b/applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C
deleted file mode 100644
index f342d6b8c..000000000
--- a/applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C
+++ /dev/null
@@ -1,95 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-Description
- Calculates the total forces on a patch:
- total force vector
- total normal force
- total force in each direction (x, y and z)
-
-Author
- philip.cardiff@ucd.ie
-
-\*---------------------------------------------------------------------------*/
-
-#include "fvCFD.H"
-
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-int main(int argc, char *argv[])
-{
-# include "setRootCase.H"
-
-# include "createTime.H"
-
-# include "createMesh.H"
-
- while(runTime.loop())
- {
- Info<< "Time: " << runTime.timeName() << nl << endl;
-
- volSymmTensorField sigma
- (
- IOobject
- (
- "sigma",
- runTime.timeName(),
- mesh,
- IOobject::MUST_READ,
- IOobject::NO_WRITE
- ),
- mesh
- );
-
- Info << nl;
-
- vector netForce = vector::zero;
-
- forAll(mesh.boundary(), patchID)
- {
- vectorField n = mesh.boundary()[patchID].nf();
- const vectorField& Sf = mesh.boundary()[patchID].Sf();
- const symmTensorField& sigmaPatch = sigma.boundaryField()[patchID];
-
- vector totalForce = sum(Sf & sigmaPatch);
- netForce += totalForce;
- scalar totalNormalForce = sum(n & (Sf & sigmaPatch));
- vector totalShearForce = sum((I -sqr(n)) & (Sf & sigmaPatch));
-
- Info << "Patch: " << mesh.boundary()[patchID].name() << nl
- << "\tTotal Force:\t\t" << totalForce << " N\n"
- << "\tTotal Normal Force:\t" << totalNormalForce << " N\n"
- << "\tTotal Shear Force:\t" << totalShearForce << " N\n" << endl;
- }
-
- Info << nl << "Net force on model is " << netForce << " N" << endl;
-
- }
-
- Info << nl << "End" << endl;
-
- return 0;
-}
-
-
-// ************************************************************************* //
diff --git a/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt b/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt
new file mode 100644
index 000000000..b57583c53
--- /dev/null
+++ b/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ setMatFromCellZones.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(setMatFromCellZones
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/CMakeLists.txt b/applications/utilities/surface/CMakeLists.txt
new file mode 100644
index 000000000..64bb9ae7d
--- /dev/null
+++ b/applications/utilities/surface/CMakeLists.txt
@@ -0,0 +1,55 @@
+# --------------------------------------------------------------------------# ========= |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(surfaceMeshImport)
+add_subdirectory(surfaceMeshConvertTesting)
+add_subdirectory(surfaceSplitNonManifolds)
+add_subdirectory(surfaceSubset)
+add_subdirectory(surfaceTransformPoints)
+add_subdirectory(surfaceRedistributePar)
+add_subdirectory(surfaceToPatch)
+add_subdirectory(surfaceMeshExport)
+add_subdirectory(surfaceSmooth)
+add_subdirectory(surfaceFeatureExtract)
+add_subdirectory(surfaceOrient)
+add_subdirectory(surfaceClean)
+add_subdirectory(surfaceFind)
+add_subdirectory(surfacePointMerge)
+add_subdirectory(surfaceAutoPatch)
+add_subdirectory(surfaceAdd)
+add_subdirectory(surfaceCheck)
+add_subdirectory(surfaceSplitByPatch)
+add_subdirectory(surfaceCoarsen)
+add_subdirectory(surfaceFeatureConvert)
+add_subdirectory(surfaceMeshConvert)
+add_subdirectory(surfaceConvert)
+add_subdirectory(surfaceRefineRedGreen)
+add_subdirectory(surfaceMeshTriangulate)
diff --git a/applications/utilities/surface/surfaceAdd/CMakeLists.txt b/applications/utilities/surface/surfaceAdd/CMakeLists.txt
new file mode 100644
index 000000000..d60affb89
--- /dev/null
+++ b/applications/utilities/surface/surfaceAdd/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceAdd.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceAdd
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt b/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt
new file mode 100644
index 000000000..ac34c78bf
--- /dev/null
+++ b/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceAutoPatch.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceAutoPatch
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceCheck/CMakeLists.txt b/applications/utilities/surface/surfaceCheck/CMakeLists.txt
new file mode 100644
index 000000000..1b7ec2110
--- /dev/null
+++ b/applications/utilities/surface/surfaceCheck/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceCheck.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceCheck
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceClean/CMakeLists.txt b/applications/utilities/surface/surfaceClean/CMakeLists.txt
new file mode 100644
index 000000000..9a643f0d7
--- /dev/null
+++ b/applications/utilities/surface/surfaceClean/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ collapseBase.C
+ collapseEdge.C
+ surfaceClean.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceClean
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt b/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt
new file mode 100644
index 000000000..71b06247d
--- /dev/null
+++ b/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt
@@ -0,0 +1,53 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ bunnylod/progmesh.C
+ bunnylod/vectorb.C
+ surfaceCoarsen.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceCoarsen
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(surfaceCoarsen PUBLIC
+ $
+# $
+)
diff --git a/applications/utilities/surface/surfaceConvert/CMakeLists.txt b/applications/utilities/surface/surfaceConvert/CMakeLists.txt
new file mode 100644
index 000000000..2ce934692
--- /dev/null
+++ b/applications/utilities/surface/surfaceConvert/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceConvert.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceConvert
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt b/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt
new file mode 100644
index 000000000..9d18c5b2e
--- /dev/null
+++ b/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceFeatureConvert.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceFeatureConvert
+ DEPENDS meshTools edgeMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt b/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt
new file mode 100644
index 000000000..9c7cf1a0e
--- /dev/null
+++ b/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceFeatureExtract.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceFeatureExtract
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceFind/CMakeLists.txt b/applications/utilities/surface/surfaceFind/CMakeLists.txt
new file mode 100644
index 000000000..99831952f
--- /dev/null
+++ b/applications/utilities/surface/surfaceFind/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceFind.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceFind
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt b/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt
new file mode 100644
index 000000000..d2ae4983e
--- /dev/null
+++ b/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceMeshConvert.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceMeshConvert
+ DEPENDS meshTools surfMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt b/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt
new file mode 100644
index 000000000..90e8b3f33
--- /dev/null
+++ b/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceMeshConvertTesting.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceMeshConvertTesting
+ DEPENDS surfMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt b/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt
new file mode 100644
index 000000000..67f55a0a0
--- /dev/null
+++ b/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceMeshExport.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceMeshExport
+ DEPENDS surfMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt b/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt
new file mode 100644
index 000000000..74bc8666f
--- /dev/null
+++ b/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceMeshImport.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceMeshImport
+ DEPENDS surfMesh meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt b/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt
new file mode 100644
index 000000000..b8fee1f32
--- /dev/null
+++ b/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceMeshTriangulate.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceMeshTriangulate
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceOrient/CMakeLists.txt b/applications/utilities/surface/surfaceOrient/CMakeLists.txt
new file mode 100644
index 000000000..a9ae0ce80
--- /dev/null
+++ b/applications/utilities/surface/surfaceOrient/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceOrient.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceOrient
+ DEPENDS finiteVolume meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfacePointMerge/CMakeLists.txt b/applications/utilities/surface/surfacePointMerge/CMakeLists.txt
new file mode 100644
index 000000000..175293cf4
--- /dev/null
+++ b/applications/utilities/surface/surfacePointMerge/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfacePointMerge.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfacePointMerge
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt b/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt
new file mode 100644
index 000000000..45e6895bf
--- /dev/null
+++ b/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceRedistributePar.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceRedistributePar
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt b/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt
new file mode 100644
index 000000000..400cfed7d
--- /dev/null
+++ b/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceRefineRedGreen.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceRefineRedGreen
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceSmooth/CMakeLists.txt b/applications/utilities/surface/surfaceSmooth/CMakeLists.txt
new file mode 100644
index 000000000..3514eca6b
--- /dev/null
+++ b/applications/utilities/surface/surfaceSmooth/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceSmooth.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceSmooth
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt b/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt
new file mode 100644
index 000000000..e5b7ee2c4
--- /dev/null
+++ b/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceSplitByPatch.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceSplitByPatch
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt b/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt
new file mode 100644
index 000000000..087f64dc0
--- /dev/null
+++ b/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceSplitNonManifolds.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceSplitNonManifolds
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceSubset/CMakeLists.txt b/applications/utilities/surface/surfaceSubset/CMakeLists.txt
new file mode 100644
index 000000000..0799b42fc
--- /dev/null
+++ b/applications/utilities/surface/surfaceSubset/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ========= |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceSubset.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceSubset
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceToPatch/CMakeLists.txt b/applications/utilities/surface/surfaceToPatch/CMakeLists.txt
new file mode 100644
index 000000000..e923d1417
--- /dev/null
+++ b/applications/utilities/surface/surfaceToPatch/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ boundaryMesh.C
+ surfaceToPatch.C
+ treeDataPrimitivePatchName.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceToPatch
+ DEPENDS meshTools dynamicMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt b/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt
new file mode 100644
index 000000000..a4d93b1d8
--- /dev/null
+++ b/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfaceTransformPoints.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfaceTransformPoints
+ DEPENDS meshTools
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/thermophysical/CMakeLists.txt b/applications/utilities/thermophysical/CMakeLists.txt
new file mode 100644
index 000000000..3404005a4
--- /dev/null
+++ b/applications/utilities/thermophysical/CMakeLists.txt
@@ -0,0 +1,38 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(equilibriumFlameT)
+add_subdirectory(IFCLookUpTableGen)
+add_subdirectory(adiabaticFlameT)
+add_subdirectory(chemkinToFoam)
+add_subdirectory(mixtureAdiabaticFlameT)
+add_subdirectory(equilibriumCO)
\ No newline at end of file
diff --git a/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt b/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt
new file mode 100644
index 000000000..7e7e58866
--- /dev/null
+++ b/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ IFCLookUpTableGen.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(IFCLookUpTableGen
+ DEPENDS specie radiation
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt b/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt
new file mode 100644
index 000000000..6e3167e0d
--- /dev/null
+++ b/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ adiabaticFlameT.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(adiabaticFlameT
+ DEPENDS specie
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt b/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt
new file mode 100644
index 000000000..0e5bf2a69
--- /dev/null
+++ b/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ chemkinToFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(chemkinToFoam
+ DEPENDS reactionThermophysicalModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt b/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt
new file mode 100644
index 000000000..ff2fe6db7
--- /dev/null
+++ b/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ equilibriumCO.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(equiriumCO
+ DEPENDS specie
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt b/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt
new file mode 100644
index 000000000..e8250cd03
--- /dev/null
+++ b/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ equilibriumFlameT.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(equiriumFlameT
+ DEPENDS specie
+ SOURCES ${SOURCES}
+)
diff --git a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt
new file mode 100644
index 000000000..66e03f369
--- /dev/null
+++ b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mixtureAdiabaticFlameT.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mixtureAdiabaticFlameT
+ DEPENDS specie
+ SOURCES ${SOURCES}
+)
diff --git a/bin/foamInstallationTest b/bin/foamInstallationTest
index cd748a5fb..6534a30d6 100755
--- a/bin/foamInstallationTest
+++ b/bin/foamInstallationTest
@@ -32,7 +32,7 @@
#------------------------------------------------------------------------------
# Base settings
-FOAM_VERSION=foam-extend-4.0
+FOAM_VERSION=foam-extend-4.1
SUPPLIED_VERSION_GCC=4.3.3
MIN_VERSION_GCC=4.3.1
diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions
index b079c6b5a..d82dd0d89 100644
--- a/bin/tools/RunFunctions
+++ b/bin/tools/RunFunctions
@@ -106,7 +106,12 @@ compileApplication ()
# simultaneously, and some of them depend on the compilation of a
# common application.
echo "Warning: Missing lockfile command. Your compilation may fail."
- wmake $1
+ if [ "$WM_USE_CMAKE" = "1" ];
+ then
+ (cd $1; cmake .; make)
+ else
+ wmake $1
+ fi
else
# We make sure to serialize the compilation in case we are called simultaneously
lockFilename="./compileApplication.lock"
@@ -116,15 +121,28 @@ compileApplication ()
# We wait for the lock release at most 10 x 10 seconds = 100 seconds
lockfile -10 -r 10 $lockFilename
- wmake $1
+ if [ "$WM_USE_CMAKE" = "1" ];
+ then
+ (cd $1; cmake .; make)
+ else
+ wmake $1
+ fi
rm -rf $lockFilename
+ echo DONE
fi
}
compileLibrary ()
{
- echo "Compiling $1 application"
- wmake libso $1
+ echo "Compiling $1 library"
+ echo $WM_USE_CMAKE
+ if [ "$WM_USE_CMAKE" = "1" ];
+ then
+ (cd $1; cmake .; make)
+ else
+ wmake libso $1
+ fi
+ echo DONE
}
cloneCase ()
diff --git a/cmake/FOAMConfig.cmake b/cmake/FOAMConfig.cmake
new file mode 100644
index 000000000..9e30e731e
--- /dev/null
+++ b/cmake/FOAMConfig.cmake
@@ -0,0 +1,56 @@
+
+####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
+####### Any changes to this file will be overwritten by the next CMake run ####
+####### The input file was FOAMConfig.cmake.in ########
+
+get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
+
+macro(set_and_check _var _file)
+ set(${_var} "${_file}")
+ if(NOT EXISTS "${_file}")
+ message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
+ endif()
+endmacro()
+
+macro(check_required_components _NAME)
+ foreach(comp ${${_NAME}_FIND_COMPONENTS})
+ if(NOT ${_NAME}_${comp}_FOUND)
+ if(${_NAME}_FIND_REQUIRED_${comp})
+ set(${_NAME}_FOUND FALSE)
+ endif()
+ endif()
+ endforeach()
+endmacro()
+
+####################################################################################
+
+include("${CMAKE_CURRENT_LIST_DIR}/FOAMConfigVersion.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/FOAMMacros.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/FOAMTargets.cmake")
+
+message(STATUS "Importing FOAM ${FOAM_VERSION} from ${CMAKE_CURRENT_LIST_DIR}")
+
+include(CMakeFindDependencyMacro)
+
+find_dependency(MPI)
+add_library(mpi SHARED IMPORTED)
+set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH})
+set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY})
+
+find_dependency(ZLIB)
+
+#set_and_check(FOAM_INCLUDE_DIR "")
+#set_and_check(FOAM_LIBRARY foam)
+
+# Once we split into components
+#set(_supported_components Plot Table)
+
+#foreach(_comp ${FOAM_FIND_COMPONENTS})
+# if (NOT ";${_supported_components};" MATCHES _comp)
+# set(FOAM_FOUND False)
+# set(FOAM_NOTFOUND_MESSAGE "Unsupported component: ${_comp}")
+# endif()
+# include("${CMAKE_CURRENT_LIST_DIR}/FOAM${_comp}Targets.cmake")
+#endforeach()
+
+check_required_components(FOAM)
diff --git a/cmake/FOAMConfig.cmake.in b/cmake/FOAMConfig.cmake.in
new file mode 100644
index 000000000..4819314a1
--- /dev/null
+++ b/cmake/FOAMConfig.cmake.in
@@ -0,0 +1,32 @@
+@PACKAGE_INIT@
+
+include("${CMAKE_CURRENT_LIST_DIR}/FOAMConfigVersion.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/FOAMMacros.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/FOAMTargets.cmake")
+
+message(STATUS "Importing FOAM ${FOAM_VERSION} from ${CMAKE_CURRENT_LIST_DIR}")
+
+include(CMakeFindDependencyMacro)
+
+find_dependency(MPI)
+add_library(mpi SHARED IMPORTED)
+set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH})
+set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY})
+
+find_dependency(ZLIB)
+
+#set_and_check(FOAM_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+#set_and_check(FOAM_LIBRARY foam)
+
+# Once we split into components
+#set(_supported_components Plot Table)
+
+#foreach(_comp ${FOAM_FIND_COMPONENTS})
+# if (NOT ";${_supported_components};" MATCHES _comp)
+# set(FOAM_FOUND False)
+# set(FOAM_NOTFOUND_MESSAGE "Unsupported component: ${_comp}")
+# endif()
+# include("${CMAKE_CURRENT_LIST_DIR}/FOAM${_comp}Targets.cmake")
+#endforeach()
+
+check_required_components(FOAM)
diff --git a/cmake/FOAMMacros.cmake b/cmake/FOAMMacros.cmake
new file mode 100644
index 000000000..3c4f73899
--- /dev/null
+++ b/cmake/FOAMMacros.cmake
@@ -0,0 +1,115 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_custom_target(ImportMessage
+ ${CMAKE_COMMAND} -E cmake_echo_color --red --bold
+ "Using FOAM ${FOAM_VERSION} in ${CMAKE_CURRENT_LIST_DIR}"
+)
+
+function(add_foam_library lib)
+ set(options USERSPACE)
+ set(oneValueArgs "")
+ set(multiValueArgs "")
+ cmake_parse_arguments(AFL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
+
+ # Create target for lnInclude and use it
+ include_directories(lnInclude)
+ add_custom_command(
+ OUTPUT lnInclude/uptodate
+ DEPENDS CMakeLists.txt
+ COMMAND rm -rf lnInclude
+ COMMAND wmakeLnInclude .
+ COMMAND touch lnInclude/uptodate
+ )
+ add_custom_target(${lib}_lnInclude DEPENDS lnInclude/uptodate)
+
+ if(${AFL_USERSPACE})
+ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY $ENV{FOAM_USER_LIBBIN})
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY $ENV{FOAM_USER_APPBIN})
+ endif()
+
+ # Add the library to the targets and set include paths
+ add_library(${lib} ${AFL_UNPARSED_ARGUMENTS})
+ add_dependencies(${lib} ${lib}_lnInclude)
+ target_include_directories(${lib} PUBLIC
+ $
+ $
+ )
+
+ # Install library and headers to install location
+ install(TARGETS ${lib} DESTINATION lib EXPORT FOAMTargets)
+ file(GLOB _files FOLLOW_SYMLINKS "${CMAKE_CURRENT_SOURCE_DIR}/lnInclude/*")
+ set (_resolvedFiles "")
+ foreach (_file ${_files})
+ get_filename_component(_resolvedFile "${_file}" REALPATH)
+ list (APPEND _resolvedFiles "${_resolvedFile}")
+ endforeach()
+ install(FILES ${_resolvedFiles} DESTINATION include/${lib})
+
+ # Export target to include them from externals builds to build location
+ export(TARGETS ${lib} APPEND FILE ${CMAKE_BINARY_DIR}/cmake/FOAMTargets.cmake)
+
+ #generate_export_header(${lib})
+ set_property(TARGET ${lib} PROPERTY VERSION ${FOAM_VERSION})
+ set_property(TARGET ${lib} PROPERTY SOVERSION 3)
+ set_property(TARGET ${lib} PROPERTY INTERFACE_FOAM_MAJOR_VERSION 4)
+ set_property(TARGET ${lib} APPEND PROPERTY
+ COMPATIBLE_INTERFACE_STRING FOAM_MAJOR_VERSION
+ )
+
+ if(NOT DEFINED HAVE_FOAM)
+ add_dependencies(${lib} ImportMessage)
+ endif()
+endfunction()
+
+function(add_foam_executable exe)
+ set(options USERSPACE)
+ set(oneValueArgs "")
+ set(multiValueArgs DEPENDS SOURCES)
+ cmake_parse_arguments(AFE "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
+
+ if(${AFE_USERSPACE})
+ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY $ENV{FOAM_USER_LIBBIN})
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY $ENV{FOAM_USER_APPBIN})
+ endif()
+
+ add_executable(${exe} ${AFE_SOURCES})
+ target_link_libraries(${exe}
+ "-Xlinker --add-needed -Xlinker --no-as-needed"
+ )
+ target_link_libraries(${exe} ${AFE_DEPENDS})
+ install (TARGETS ${exe} DESTINATION bin)
+
+ if(NOT DEFINED HAVE_FOAM)
+ add_dependencies(${exe} ImportMessage)
+ endif()
+endfunction()
diff --git a/cmake/FindCCMIO.cmake b/cmake/FindCCMIO.cmake
new file mode 100644
index 000000000..700bc2c56
--- /dev/null
+++ b/cmake/FindCCMIO.cmake
@@ -0,0 +1,42 @@
+
+include(LibFindMacros)
+
+# Use pkg-config to get hints about paths
+libfind_pkg_check_modules(CCMIO_PKGCONF mesquite)
+
+# Include dir
+find_path(CCMIO_INCLUDE_DIR
+ NAMES libccmio/ccmio.h
+ HINTS
+ ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/include
+ ${MESQUITE_PKGCONF_INCLUDE_DIRS}
+)
+
+find_path(CCMIO_INCLUDE_DIR2
+ NAMES ccmio.h
+ HINTS
+ ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/include/libccmio
+ ${MESQUITE_PKGCONF_INCLUDE_DIRS}
+)
+
+# Finally the library itself
+find_library(CCMIO_LIBRARY
+ NAMES ccmio
+ HINTS
+ ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/lib
+ ${CCMIO_PKGCONF_LIBRARY_DIRS}
+)
+
+find_library(CCMIO_LIBRARY2
+ NAMES adf_ccmio
+ HINTS
+ ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/lib
+ ${CCMIO_PKGCONF_LIBRARY_DIRS}
+)
+
+# Set the include dir variables and the libraries and let libfind_process do the rest.
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
+
+set(CCMIO_PROCESS_INCLUDES CCMIO_INCLUDE_DIR CCMIO_INCLUDE_DIR2)
+set(CCMIO_PROCESS_LIBS CCMIO_LIBRARY CCMIO_LIBRARY2)
+libfind_process(CCMIO)
diff --git a/cmake/FindMesquite.cmake b/cmake/FindMesquite.cmake
new file mode 100644
index 000000000..a797bf753
--- /dev/null
+++ b/cmake/FindMesquite.cmake
@@ -0,0 +1,28 @@
+
+include(LibFindMacros)
+
+# Use pkg-config to get hints about paths
+libfind_pkg_check_modules(MESQUITE_PKGCONF mesquite)
+
+# Include dir
+find_path(MESQUITE_INCLUDE_DIR
+ NAMES Mesquite_all_headers.hpp
+ HINTS
+ ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/include
+ ${MESQUITE_PKGCONF_INCLUDE_DIRS}
+)
+
+# Finally the library itself
+find_library(MESQUITE_LIBRARY
+ NAMES mesquite
+ HINTS
+ ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/lib
+ ${MESQUITE_PKGCONF_LIBRARY_DIRS}
+)
+
+# Set the include dir variables and the libraries and let libfind_process do the rest.
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
+
+set(MESQUITE_PROCESS_INCLUDE MESQUITE_INCLUDE_DIR)
+set(MESQUITE_PROCESS_LIB MESQUITE_LIBRARY)
+libfind_process(MESQUITE)
diff --git a/cmake/FindMetis.cmake b/cmake/FindMetis.cmake
new file mode 100644
index 000000000..7ce176b79
--- /dev/null
+++ b/cmake/FindMetis.cmake
@@ -0,0 +1,28 @@
+
+include(LibFindMacros)
+
+# Use pkg-config to get hints about paths
+libfind_pkg_check_modules(METIS_PKGCONF metis)
+
+# Include dir
+find_path(METIS_INCLUDE_DIR
+ NAMES metis.h
+ HINTS
+ ThirdParty/packages/metis-5.1.0/platforms/linux64GccDPOpt/include
+ ${METIS_PKGCONF_INCLUDE_DIRS}
+)
+
+# Finally the library itself
+find_library(METIS_LIBRARY
+ NAMES metis
+ HINTS
+ ThirdParty/packages/metis-5.1.0/platforms/linux64GccDPOpt/lib
+ ${METIS_PKGCONF_LIBRARY_DIRS}
+)
+
+# Set the include dir variables and the libraries and let libfind_process do the rest.
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
+
+set(METIS_PROCESS_INCLUDES METIS_INCLUDE_DIR)
+set(METIS_PROCESS_LIBS METIS_LIBRARY)
+libfind_process(METIS)
diff --git a/cmake/FindParMGridGen.cmake b/cmake/FindParMGridGen.cmake
new file mode 100644
index 000000000..3082250fa
--- /dev/null
+++ b/cmake/FindParMGridGen.cmake
@@ -0,0 +1,36 @@
+
+include(LibFindMacros)
+
+# Use pkg-config to get hints about paths
+libfind_pkg_check_modules(PARMGRIDGEN_PKGCONF scotch)
+
+# Include dir
+find_path(PARMGRIDGEN_INCLUDE_DIR
+ NAMES mgridgen.h
+ HINTS
+ ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/include/Lib
+ ${PARMGRIDGEN_PKGCONF_INCLUDE_DIRS}
+)
+
+find_path(PARMGRIDGEN_INCLUDE_DIR2
+ NAMES IMlib.h
+ HINTS
+ ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/include/IMlib
+ ${PARMGRIDGEN_PKGCONF_INCLUDE_DIRS}
+)
+
+# Finally the library itself
+find_library(PARMGRIDGEN_LIBRARY
+ NAMES MGridGen
+ HINTS
+ ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/lib
+ ${PARMGRIDGEN_PKGCONF_LIBRARY_DIRS}
+)
+
+# Set the include dir variables and the libraries and let libfind_process do the rest.
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
+
+set(PARMGRIDGEN_PROCESS_INCLUDE PARMGRIDGEN_INCLUDE_DIR)
+set(PARMGRIDGEN_PROCESS_INCLUDES PARMGRIDGEN_INCLUDE_DIR2)
+set(PARMGRIDGEN_PROCESS_LIB PARMGRIDGEN_LIBRARY)
+libfind_process(PARMGRIDGEN)
diff --git a/cmake/FindParMetis.cmake b/cmake/FindParMetis.cmake
new file mode 100644
index 000000000..138bf3dfb
--- /dev/null
+++ b/cmake/FindParMetis.cmake
@@ -0,0 +1,28 @@
+
+include(LibFindMacros)
+
+# Use pkg-config to get hints about paths
+libfind_pkg_check_modules(PARMETIS_PKGCONF parmetis)
+
+# Include dir
+find_path(PARMETIS_INCLUDE_DIR
+ NAMES parmetis.h
+ HINTS
+ ThirdParty/packages/parmetis-4.0.3/platforms/linux64GccDPOpt/include
+ ${PARMETIS_PKGCONF_INCLUDE_DIRS}
+)
+
+# Finally the library itself
+find_library(PARMETIS_LIBRARY
+ NAMES parmetis
+ HINTS
+ ThirdParty/packages/parmetis-4.0.3/platforms/linux64GccDPOpt/lib
+ ${PARMETIS_PKGCONF_LIBRARY_DIRS}
+)
+
+# Set the include dir variables and the libraries and let libfind_process do the rest.
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
+
+set(PARMETIS_PROCESS_INCLUDES PARMETIS_INCLUDE_DIR)
+set(PARMETIS_PROCESS_LIBS PARMETIS_LIBRARY)
+libfind_process(PARMETIS)
diff --git a/cmake/FindScotch.cmake b/cmake/FindScotch.cmake
new file mode 100644
index 000000000..e2803c3b1
--- /dev/null
+++ b/cmake/FindScotch.cmake
@@ -0,0 +1,28 @@
+
+include(LibFindMacros)
+
+# Use pkg-config to get hints about paths
+libfind_pkg_check_modules(SCOTCH_PKGCONF scotch)
+
+# Include dir
+find_path(SCOTCH_INCLUDE_DIR
+ NAMES scotch.h
+ HINTS
+ ThirdParty/packages/scotch-6.0.4/platforms/linux64GccDPOpt/include
+ ${SCOTCH_PKGCONF_INCLUDE_DIRS}
+)
+
+# Finally the library itself
+find_library(SCOTCH_LIBRARY
+ NAMES scotch
+ HINTS
+ ThirdParty/packages/scotch-6.0.4/platforms/linux64GccDPOpt/lib
+ ${SCOTCH_PKGCONF_LIBRARY_DIRS}
+)
+
+# Set the include dir variables and the libraries and let libfind_process do the rest.
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
+
+set(SCOTCH_PROCESS_INCLUDE SCOTCH_INCLUDE_DIR)
+set(SCOTCH_PROCESS_LIB SCOTCH_LIBRARY)
+libfind_process(SCOTCH)
diff --git a/cmake/LibFindMacros.cmake b/cmake/LibFindMacros.cmake
new file mode 100644
index 000000000..3ef5844dd
--- /dev/null
+++ b/cmake/LibFindMacros.cmake
@@ -0,0 +1,266 @@
+# Version 2.2
+# Public Domain, originally written by Lasse Kärkkäinen
+# Maintained at https://github.com/Tronic/cmake-modules
+# Please send your improvements as pull requests on Github.
+
+# Find another package and make it a dependency of the current package.
+# This also automatically forwards the "REQUIRED" argument.
+# Usage: libfind_package( [extra args to find_package])
+macro (libfind_package PREFIX PKG)
+ set(${PREFIX}_args ${PKG} ${ARGN})
+ if (${PREFIX}_FIND_REQUIRED)
+ set(${PREFIX}_args ${${PREFIX}_args} REQUIRED)
+ endif()
+ find_package(${${PREFIX}_args})
+ set(${PREFIX}_DEPENDENCIES ${${PREFIX}_DEPENDENCIES};${PKG})
+ unset(${PREFIX}_args)
+endmacro()
+
+# A simple wrapper to make pkg-config searches a bit easier.
+# Works the same as CMake's internal pkg_check_modules but is always quiet.
+macro (libfind_pkg_check_modules)
+ find_package(PkgConfig QUIET)
+ if (PKG_CONFIG_FOUND)
+ pkg_check_modules(${ARGN} QUIET)
+ endif()
+endmacro()
+
+# Avoid useless copy&pasta by doing what most simple libraries do anyway:
+# pkg-config, find headers, find library.
+# Usage: libfind_pkg_detect( FIND_PATH [other args] FIND_LIBRARY [other args])
+# E.g. libfind_pkg_detect(SDL2 sdl2 FIND_PATH SDL.h PATH_SUFFIXES SDL2 FIND_LIBRARY SDL2)
+function (libfind_pkg_detect PREFIX)
+ # Parse arguments
+ set(argname pkgargs)
+ foreach (i ${ARGN})
+ if ("${i}" STREQUAL "FIND_PATH")
+ set(argname pathargs)
+ elseif ("${i}" STREQUAL "FIND_LIBRARY")
+ set(argname libraryargs)
+ else()
+ set(${argname} ${${argname}} ${i})
+ endif()
+ endforeach()
+ if (NOT pkgargs)
+ message(FATAL_ERROR "libfind_pkg_detect requires at least a pkg_config package name to be passed.")
+ endif()
+ # Find library
+ libfind_pkg_check_modules(${PREFIX}_PKGCONF ${pkgargs})
+ if (pathargs)
+ find_path(${PREFIX}_INCLUDE_DIR NAMES ${pathargs} HINTS ${${PREFIX}_PKGCONF_INCLUDE_DIRS})
+ endif()
+ if (libraryargs)
+ find_library(${PREFIX}_LIBRARY NAMES ${libraryargs} HINTS ${${PREFIX}_PKGCONF_LIBRARY_DIRS})
+ endif()
+endfunction()
+
+# Extracts a version #define from a version.h file, output stored to _VERSION.
+# Usage: libfind_version_header(Foobar foobar/version.h FOOBAR_VERSION_STR)
+# Fourth argument "QUIET" may be used for silently testing different define names.
+# This function does nothing if the version variable is already defined.
+function (libfind_version_header PREFIX VERSION_H DEFINE_NAME)
+ # Skip processing if we already have a version or if the include dir was not found
+ if (${PREFIX}_VERSION OR NOT ${PREFIX}_INCLUDE_DIR)
+ return()
+ endif()
+ set(quiet ${${PREFIX}_FIND_QUIETLY})
+ # Process optional arguments
+ foreach(arg ${ARGN})
+ if (arg STREQUAL "QUIET")
+ set(quiet TRUE)
+ else()
+ message(AUTHOR_WARNING "Unknown argument ${arg} to libfind_version_header ignored.")
+ endif()
+ endforeach()
+ # Read the header and parse for version number
+ set(filename "${${PREFIX}_INCLUDE_DIR}/${VERSION_H}")
+ if (NOT EXISTS ${filename})
+ if (NOT quiet)
+ message(AUTHOR_WARNING "Unable to find ${${PREFIX}_INCLUDE_DIR}/${VERSION_H}")
+ endif()
+ return()
+ endif()
+ file(READ "${filename}" header)
+ string(REGEX REPLACE ".*#[ \t]*define[ \t]*${DEFINE_NAME}[ \t]*\"([^\n]*)\".*" "\\1" match "${header}")
+ # No regex match?
+ if (match STREQUAL header)
+ if (NOT quiet)
+ message(AUTHOR_WARNING "Unable to find \#define ${DEFINE_NAME} \"\" from ${${PREFIX}_INCLUDE_DIR}/${VERSION_H}")
+ endif()
+ return()
+ endif()
+ # Export the version string
+ set(${PREFIX}_VERSION "${match}" PARENT_SCOPE)
+endfunction()
+
+# Do the final processing once the paths have been detected.
+# If include dirs are needed, ${PREFIX}_PROCESS_INCLUDES should be set to contain
+# all the variables, each of which contain one include directory.
+# Ditto for ${PREFIX}_PROCESS_LIBS and library files.
+# Will set ${PREFIX}_FOUND, ${PREFIX}_INCLUDE_DIRS and ${PREFIX}_LIBRARIES.
+# Also handles errors in case library detection was required, etc.
+function (libfind_process PREFIX)
+ # Skip processing if already processed during this configuration run
+ if (${PREFIX}_FOUND)
+ return()
+ endif()
+
+ set(found TRUE) # Start with the assumption that the package was found
+
+ # Did we find any files? Did we miss includes? These are for formatting better error messages.
+ set(some_files FALSE)
+ set(missing_headers FALSE)
+
+ # Shorthands for some variables that we need often
+ set(quiet ${${PREFIX}_FIND_QUIETLY})
+ set(required ${${PREFIX}_FIND_REQUIRED})
+ set(exactver ${${PREFIX}_FIND_VERSION_EXACT})
+ set(findver "${${PREFIX}_FIND_VERSION}")
+ set(version "${${PREFIX}_VERSION}")
+
+ # Lists of config option names (all, includes, libs)
+ unset(configopts)
+ set(includeopts ${${PREFIX}_PROCESS_INCLUDES})
+ set(libraryopts ${${PREFIX}_PROCESS_LIBS})
+
+ # Process deps to add to
+ foreach (i ${PREFIX} ${${PREFIX}_DEPENDENCIES})
+ if (DEFINED ${i}_INCLUDE_OPTS OR DEFINED ${i}_LIBRARY_OPTS)
+ # The package seems to export option lists that we can use, woohoo!
+ list(APPEND includeopts ${${i}_INCLUDE_OPTS})
+ list(APPEND libraryopts ${${i}_LIBRARY_OPTS})
+ else()
+ # If plural forms don't exist or they equal singular forms
+ if ((NOT DEFINED ${i}_INCLUDE_DIRS AND NOT DEFINED ${i}_LIBRARIES) OR
+ ({i}_INCLUDE_DIR STREQUAL ${i}_INCLUDE_DIRS AND ${i}_LIBRARY STREQUAL ${i}_LIBRARIES))
+ # Singular forms can be used
+ if (DEFINED ${i}_INCLUDE_DIR)
+ list(APPEND includeopts ${i}_INCLUDE_DIR)
+ endif()
+ if (DEFINED ${i}_LIBRARY)
+ list(APPEND libraryopts ${i}_LIBRARY)
+ endif()
+ else()
+ # Oh no, we don't know the option names
+ message(FATAL_ERROR "We couldn't determine config variable names for ${i} includes and libs. Aieeh!")
+ endif()
+ endif()
+ endforeach()
+
+ if (includeopts)
+ list(REMOVE_DUPLICATES includeopts)
+ endif()
+
+ if (libraryopts)
+ list(REMOVE_DUPLICATES libraryopts)
+ endif()
+
+ string(REGEX REPLACE ".*[ ;]([^ ;]*(_INCLUDE_DIRS|_LIBRARIES))" "\\1" tmp "${includeopts} ${libraryopts}")
+ if (NOT tmp STREQUAL "${includeopts} ${libraryopts}")
+ message(AUTHOR_WARNING "Plural form ${tmp} found in config options of ${PREFIX}. This works as before but is now deprecated. Please only use singular forms INCLUDE_DIR and LIBRARY, and update your find scripts for LibFindMacros > 2.0 automatic dependency system (most often you can simply remove the PROCESS variables entirely).")
+ endif()
+
+ # Include/library names separated by spaces (notice: not CMake lists)
+ unset(includes)
+ unset(libs)
+
+ # Process all includes and set found false if any are missing
+ foreach (i ${includeopts})
+ list(APPEND configopts ${i})
+ if (NOT "${${i}}" STREQUAL "${i}-NOTFOUND")
+ list(APPEND includes "${${i}}")
+ else()
+ set(found FALSE)
+ set(missing_headers TRUE)
+ endif()
+ endforeach()
+
+ # Process all libraries and set found false if any are missing
+ foreach (i ${libraryopts})
+ list(APPEND configopts ${i})
+ if (NOT "${${i}}" STREQUAL "${i}-NOTFOUND")
+ list(APPEND libs "${${i}}")
+ else()
+ set (found FALSE)
+ endif()
+ endforeach()
+
+ # Version checks
+ if (found AND findver)
+ if (NOT version)
+ message(WARNING "The find module for ${PREFIX} does not provide version information, so we'll just assume that it is OK. Please fix the module or remove package version requirements to get rid of this warning.")
+ elseif (version VERSION_LESS findver OR (exactver AND NOT version VERSION_EQUAL findver))
+ set(found FALSE)
+ set(version_unsuitable TRUE)
+ endif()
+ endif()
+
+ # If all-OK, hide all config options, export variables, print status and exit
+ if (found)
+ foreach (i ${configopts})
+ mark_as_advanced(${i})
+ endforeach()
+ if (NOT quiet)
+ message(STATUS "Found ${PREFIX} ${${PREFIX}_VERSION}")
+ if (LIBFIND_DEBUG)
+ message(STATUS " ${PREFIX}_DEPENDENCIES=${${PREFIX}_DEPENDENCIES}")
+ message(STATUS " ${PREFIX}_INCLUDE_OPTS=${includeopts}")
+ message(STATUS " ${PREFIX}_INCLUDE_DIRS=${includes}")
+ message(STATUS " ${PREFIX}_LIBRARY_OPTS=${libraryopts}")
+ message(STATUS " ${PREFIX}_LIBRARIES=${libs}")
+ endif()
+ set (${PREFIX}_INCLUDE_OPTS ${includeopts} PARENT_SCOPE)
+ set (${PREFIX}_LIBRARY_OPTS ${libraryopts} PARENT_SCOPE)
+ set (${PREFIX}_INCLUDE_DIRS ${includes} PARENT_SCOPE)
+ set (${PREFIX}_LIBRARIES ${libs} PARENT_SCOPE)
+ set (${PREFIX}_FOUND TRUE PARENT_SCOPE)
+ endif()
+ return()
+ endif()
+
+ # Format messages for debug info and the type of error
+ set(vars "Relevant CMake configuration variables:\n")
+ foreach (i ${configopts})
+ mark_as_advanced(CLEAR ${i})
+ set(val ${${i}})
+ if ("${val}" STREQUAL "${i}-NOTFOUND")
+ set (val "")
+ elseif (val AND NOT EXISTS ${val})
+ set (val "${val} (does not exist)")
+ else()
+ set(some_files TRUE)
+ endif()
+ set(vars "${vars} ${i}=${val}\n")
+ endforeach()
+ set(vars "${vars}You may use CMake GUI, cmake -D or ccmake to modify the values. Delete CMakeCache.txt to discard all values and force full re-detection if necessary.\n")
+ if (version_unsuitable)
+ set(msg "${PREFIX} ${${PREFIX}_VERSION} was found but")
+ if (exactver)
+ set(msg "${msg} only version ${findver} is acceptable.")
+ else()
+ set(msg "${msg} version ${findver} is the minimum requirement.")
+ endif()
+ else()
+ if (missing_headers)
+ set(msg "We could not find development headers for ${PREFIX}. Do you have the necessary dev package installed?")
+ elseif (some_files)
+ set(msg "We only found some files of ${PREFIX}, not all of them. Perhaps your installation is incomplete or maybe we just didn't look in the right place?")
+ if(findver)
+ set(msg "${msg} This could also be caused by incompatible version (if it helps, at least ${PREFIX} ${findver} should work).")
+ endif()
+ else()
+ set(msg "We were unable to find package ${PREFIX}.")
+ endif()
+ endif()
+
+ # Fatal error out if REQUIRED
+ if (required)
+ set(msg "REQUIRED PACKAGE NOT FOUND\n${msg} This package is REQUIRED and you need to install it or adjust CMake configuration in order to continue building ${CMAKE_PROJECT_NAME}.")
+ message(FATAL_ERROR "${msg}\n${vars}")
+ endif()
+ # Otherwise just print a nasty warning
+ if (NOT quiet)
+ message(WARNING "WARNING: MISSING PACKAGE\n${msg} This package is NOT REQUIRED and you may ignore this warning but by doing so you may miss some functionality of ${CMAKE_PROJECT_NAME}. \n${vars}")
+ endif()
+endfunction()
+
diff --git a/cmake/compileFOAM.cmake b/cmake/compileFOAM.cmake
new file mode 100644
index 000000000..4088e047e
--- /dev/null
+++ b/cmake/compileFOAM.cmake
@@ -0,0 +1,242 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+#
+# Determine project version & Set-up automatic update during build
+#
+
+include(getGitVersion)
+
+add_custom_target(getGitVersion ALL
+ COMMAND ${CMAKE_COMMAND} -P cmake/getGitVersion.cmake
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ COMMENT "Getting GIT version"
+)
+
+set(PROJECT_VERSION ${FOAM_VERSION})
+
+
+#
+# Include helper functions
+#
+
+include(FOAMMacros)
+
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+
+
+#
+# External dependencies
+#
+
+find_package(MPI REQUIRED)
+add_library(mpi SHARED IMPORTED)
+set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH})
+set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_C_LIBRARIES})
+set_property(TARGET mpi PROPERTY INTERFACE_COMPILE_DEFINITIONS OMPI_SKIP_MPICXX)
+
+find_package(ZLIB REQUIRED)
+
+find_package(FLEX REQUIRED)
+
+find_package(Git REQUIRED)
+
+# Path to ParaViewConfig.cmake
+set(ParaView_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParaView-4.4.0/platforms/linux64GccDPOpt/lib/cmake/paraview-4.4)
+find_package(ParaView REQUIRED)
+
+find_package(Mesquite REQUIRED)
+if(MESQUITE_FOUND)
+ add_library(mesquite SHARED IMPORTED)
+ set_property(TARGET mesquite PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MESQUITE_INCLUDE_DIRS})
+ set_property(TARGET mesquite PROPERTY IMPORTED_LOCATION ${MESQUITE_LIBRARY})
+endif()
+
+find_package(Scotch REQUIRED)
+if(SCOTCH_FOUND)
+ add_library(scotch SHARED IMPORTED)
+ set_property(TARGET scotch PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${SCOTCH_INCLUDE_DIRS})
+ set_property(TARGET scotch PROPERTY IMPORTED_LOCATION ${SCOTCH_LIBRARY})
+ set_property(TARGET scotch PROPERTY IMPORTED_NO_SONAME TRUE)
+endif()
+
+find_package(Metis REQUIRED)
+if(METIS_FOUND)
+ add_library(metis STATIC IMPORTED)
+ set_property(TARGET metis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${METIS_INCLUDE_DIRS})
+ set_property(TARGET metis PROPERTY IMPORTED_LOCATION ${METIS_LIBRARY})
+endif()
+
+find_package(ParMetis REQUIRED)
+if(PARMETIS_FOUND)
+ add_library(parmetis STATIC IMPORTED)
+ set_property(TARGET parmetis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMETIS_INCLUDE_DIRS})
+ set_property(TARGET parmetis PROPERTY IMPORTED_LOCATION ${PARMETIS_LIBRARY})
+endif()
+
+find_package(ParMGridGen REQUIRED)
+if(PARMGRIDGEN_FOUND)
+ add_library(parmgridgen SHARED IMPORTED)
+ set_property(TARGET parmgridgen PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMGRIDGEN_INCLUDE_DIRS})
+ set_property(TARGET parmgridgen PROPERTY IMPORTED_LOCATION ${PARMGRIDGEN_LIBRARY})
+ set_property(TARGET parmgridgen PROPERTY IMPORTED_NO_SONAME TRUE)
+endif()
+
+find_package(CCMIO REQUIRED)
+if(CCMIO_FOUND)
+ add_library(ccmio SHARED IMPORTED)
+ set_property(TARGET ccmio PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CCMIO_INCLUDE_DIRS})
+ set_property(TARGET ccmio PROPERTY IMPORTED_LOCATION ${CCMIO_LIBRARY})
+ set_property(TARGET ccmio PROPERTY INTERFACE_LINK_LIBRARIES ${CCMIO_LIBRARIES})
+endif()
+
+
+#
+# Recurse into the source
+#
+
+# Set variable to indicate that we are compiling internally. Used in applications.
+set(FOAM_FOUND 1)
+
+# Write something into FOAMTargets.cmake so that we can append to the file.
+file(WRITE ${CMAKE_BINARY_DIR}/cmake/FOAMTargets.cmake "#" )
+
+add_subdirectory(src)
+add_subdirectory(applications)
+
+
+#
+# Set default build type
+#
+
+if(NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE Release CACHE STRING
+ "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
+ FORCE)
+endif()
+
+
+#
+# Definitions inherited by all targets
+#
+
+# Single/Double precision
+set(FOAM_PRECISION "double" CACHE STRING "Numerical precision")
+set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double)
+if(FOAM_PRECISION EQUAL "single")
+ target_compile_definitions(OSspecific PUBLIC WM_SP)
+else()
+ target_compile_definitions(OSspecific PUBLIC WM_DP)
+endif()
+
+# Label size
+set(FOAM_LABEL_SIZE "32" CACHE STRING "Label size")
+set_property(CACHE FOAM_LABEL_SIZE PROPERTY STRINGS 32 64)
+target_compile_definitions(OSspecific PUBLIC WM_LABEL_SIZE=${FOAM_LABEL_SIZE})
+
+# No Repository
+target_compile_definitions(OSspecific PUBLIC NoRepository)
+
+# linux64 - hardcoded for the moment
+target_compile_definitions(OSspecific PUBLIC linux64)
+
+# FOAM's full debug mode
+if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
+ target_compile_definitions(OSspecific PUBLIC FULLDEBUG)
+ target_compile_options(OSspecific PUBLIC -fdefault-inline -ggdb3)
+endif()
+
+#target_link_libraries(
+# OSspecific INTERFACE
+# "-Xlinker --add-needed -Xlinker --no-as-needed"
+#)
+
+#target_compile_options(
+# OSspecific PUBLIC
+# -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
+#)
+
+#
+# Exports and install
+#
+
+include(GenerateExportHeader)
+set(ConfigPackageLocation lib/cmake/foam)
+
+include(CMakePackageConfigHelpers)
+write_basic_package_version_file(
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake"
+ VERSION ${FOAM_VERSION}
+ COMPATIBILITY AnyNewerVersion
+)
+
+configure_package_config_file(cmake/FOAMConfig.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfig.cmake
+ INSTALL_DESTINATION ${ConfigPackageLocation}
+)
+
+install(EXPORT FOAMTargets
+ FILE FOAMTargets.cmake
+ DESTINATION ${ConfigPackageLocation}
+)
+
+install(FILES
+ cmake/FOAMConfig.cmake
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMMacros.cmake"
+ DESTINATION ${ConfigPackageLocation}
+ COMPONENT Devel
+)
+
+file(GLOB_RECURSE files "${CMAKE_CURRENT_SOURCE_DIR}/etc/*")
+install(FILES ${files} DESTINATION etc)
+
+#
+# Register with CMake user package registry
+#
+
+export(PACKAGE FOAM)
+
+
+#
+# Make a package
+#
+
+set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Henrik Rusche")
+set(CPACK_PACKAGE_CONTACT "h.rusche@wikki-gmbh.de")
+set(CPACK_GENERATOR "DEB")
+set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/foam-extend-4.1")
+set(CPACK_SOURCE_STRIP_FILES "1")
+include(CPack)
+
diff --git a/cmake/getGitVersion.cmake b/cmake/getGitVersion.cmake
new file mode 100644
index 000000000..216adcf48
--- /dev/null
+++ b/cmake/getGitVersion.cmake
@@ -0,0 +1,74 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+if(NOT GIT_FOUND)
+ find_package(Git QUIET)
+endif()
+
+if(GIT_FOUND)
+ # Try to get version from from git
+ execute_process(
+ COMMAND ${GIT_EXECUTABLE} describe --tags --dirty=-dirty
+ OUTPUT_VARIABLE GIT_VERSION
+ ERROR_VARIABLE dummy
+ RESULT_VARIABLE res
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+
+ if(res EQUAL 0)
+ string(REPLACE "g" "" GIT_VERSION "${GIT_VERSION}")
+ string(REGEX REPLACE "^v([0-9]+\\.?[0-9]*\\.?([0-9]*)).*" "\\1" FOAM_VERSION "${GIT_VERSION}")
+ endif()
+endif()
+
+if(NOT GIT_VERSION)
+ if(EXISTS cmake/storedVersion.cmake)
+ # Fall-back to stored version
+ include(cmake/storedVersion.cmake)
+ else()
+ # We should not be here. Set some defaults!
+ set(GIT_VERSION "4.0-unknown")
+ set(FOAM_VERSION "4.0")
+ endif()
+endif()
+
+# Save version information so that it can be exported with the project
+# and included as a fall-back - see above
+configure_file(cmake/storedVersion.cmake.in
+ cmake/storedVersion.cmake
+)
+
+# Configure global.C
+configure_file(${CMAKE_SOURCE_DIR}/src/foam/global/global.C.in
+ src/foam/global/global.C
+)
+
diff --git a/cmake/storedVersion.cmake.in b/cmake/storedVersion.cmake.in
new file mode 100644
index 000000000..cdf2a9efe
--- /dev/null
+++ b/cmake/storedVersion.cmake.in
@@ -0,0 +1,2 @@
+set(GIT_VERSION "@GIT_VERSION@")
+set(FOAM_VERSION "@FOAM_VERSION@")
diff --git a/cmake/testFOAM.cmake b/cmake/testFOAM.cmake
new file mode 100644
index 000000000..8aa681e76
--- /dev/null
+++ b/cmake/testFOAM.cmake
@@ -0,0 +1,398 @@
+# /*-------------------------------------------------------------------------*\
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration | Version: 4.1
+# \\ / A nd | Web: http://www.foam-extend.org
+# \\/ M anipulation | For copyright notice see file Copyright
+# -----------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for implementing a test harness for the compilation
+# and test of foam-extend-4.1 using Kitware CTest/CMake/CDash
+#
+# The results will be submitted to the CDash server identified by the file
+# CTestConfig.cmake
+#
+# Author
+# Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved
+#
+#
+# \*-------------------------------------------------------------------------*/
+
+#-----------------------------------------------------------------------------
+# Utility functions
+#
+# GetHostName(var)
+#
+# Set the variable named ${var} to the host hostname
+#
+function(GetHostName var)
+ set( thisHostName "unknown")
+
+ if(CMAKE_HOST_WIN32)
+ execute_process(
+ COMMAND hostname
+ OUTPUT_VARIABLE thisHostname
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+ else()
+ execute_process(
+ COMMAND hostname -f
+ OUTPUT_VARIABLE thisHostname
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+ endif()
+
+ set(${var} ${thisHostname} PARENT_SCOPE)
+endfunction()
+
+#
+# GetGitStatus(status ecode)
+#
+# Get the git status for the local git repository of the source code
+# The variable named ${status} will get the git status
+# The variable named ${ecode} will get the command error code
+#
+function(GetGitStatus _status _ecode)
+ set( git_status "unknown")
+ set( git_ecode "1")
+
+ execute_process(
+ COMMAND git status
+ WORKING_DIRECTORY ${FOAM_ROOT}
+ OUTPUT_VARIABLE git_status
+ RESULT_VARIABLE git_ecode
+ ERROR_QUIET
+ )
+ set(${_status} ${git_status} PARENT_SCOPE)
+ set(${_ecode} ${git_ecode} PARENT_SCOPE)
+endfunction()
+
+#
+# GetGitBranchName(var)
+#
+# Set the variable named ${var} to the git branch name of the source code
+#
+function(GetGitBranchName var)
+ set( retValue "unknown")
+
+ execute_process(
+ COMMAND git branch --no-color
+ WORKING_DIRECTORY ${FOAM_ROOT}
+ OUTPUT_VARIABLE listOfGitBranches
+ )
+ # Create list of strings
+ string(REPLACE "\n" ";" listOfGitBranches ${listOfGitBranches})
+
+ # Iterate over list, find the string beginning with "* "
+ foreach(branch ${listOfGitBranches})
+ string(REGEX MATCH "\\* .*$" matchString ${branch})
+ string(LENGTH "${matchString}" lengthMatchString)
+ if(lengthMatchString GREATER 0)
+ # We have match. Cleanup and set retValue
+ string(REPLACE "* " "" retValue ${matchString})
+ endif()
+ endforeach()
+
+ set(${var} ${retValue} PARENT_SCOPE)
+endfunction()
+
+#
+# GetGitRevNumber(var)
+#
+# Set the variable named ${var} to the git revision number of the source code
+#
+function(GetGitRevNumber var)
+ set( retValue "unknown")
+
+ execute_process(
+ COMMAND git rev-parse --short=12 HEAD
+ WORKING_DIRECTORY ${FOAM_ROOT}
+ OUTPUT_VARIABLE git_rev_number
+ )
+
+ # Minimal check that we do have a valid string
+ string(LENGTH "${git_rev_number}" lengthString)
+ if(lengthString GREATER 0)
+ set(retValue ${git_rev_number})
+ endif()
+
+ set(${var} ${retValue} PARENT_SCOPE)
+endfunction()
+
+# CleanUpStringForCDash(var)
+#
+# Cleanup the variable named ${value} for characters not supported
+# for CDash identifiers. Return the modified value in retVar
+#
+function(CleanUpStringForCDash value retVar)
+ string(REPLACE "/" "_" value "${value}")
+ string(REPLACE " " "_" value ${value})
+ set(${retVar} ${value} PARENT_SCOPE)
+endfunction()
+
+#-----------------------------------------------------------------------------
+#
+#
+# Initialization of CTest specific variables
+#
+## Run ctest in parallel if environment variable WM_NCOMPPROCS is set
+IF (NOT $ENV{WM_NCOMPPROCS} STREQUAL "")
+ # Will run ctest in parallel over $WM_NCOMPPROCS processors
+ set(CMAKE_CTEST_COMMAND ${CMAKE_CTEST_COMMAND} --parallel $ENV{WM_NCOMPPROCS})
+ MESSAGE("Running tests in parallel using $ENV{WM_NCOMPPROCS} processors")
+ENDIF ()
+
+# Initialize the site name
+
+IF (NOT $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} STREQUAL "")
+ # We can override the site name with the environment variable
+ # $CDASH_SUBMIT_LOCAL_HOST_ID
+ SET(
+ SITENAME $ENV{CDASH_SUBMIT_LOCAL_HOST_ID}
+ CACHE STRING "Name of the local site"
+ )
+ELSE ()
+ # Grab the hostname FQN; will be used for the sitename
+ GetHostName(SITENAME)
+
+ENDIF()
+
+MESSAGE("Initializing the name of this local site to: ${SITENAME}")
+
+SET(
+ SITE ${SITENAME}
+ CACHE STRING "Name of the local site"
+)
+
+#Grab the FOAM installation directory.
+SET(
+ FOAM_ROOT $ENV{WM_PROJECT_DIR}
+ CACHE INTERNAL "FOAM root directory."
+)
+
+# Construct the build name.
+# No need to add $WM_PROJECT_VERSION to the name of the build,
+# the test harness name should have taken care of that.
+SET(
+ BUILDNAME $ENV{WM_OPTIONS}
+ CACHE STRING "Build ID"
+)
+
+# We allow overriding the git branch and revision information with some
+# user-supplied information using the CDASH_SCM_INFO environment variable.
+#
+# Mercurial or other SCM users should be using this environment variable
+# in order to provide branch and revision information for the buildname.
+#
+# Git users should use this environment variable in order to provide
+# additionnal information instead of just the branch and revision number.
+#
+# Otherwise, the buildname will be appended with the following information:
+# -git-branch=the_git_branch_name-git-rev=the_git_revision_number
+SET(
+ BUILDNAME_SCM_INFO $ENV{CDASH_SCM_INFO}
+ CACHE STRING "SCM info for CDash buildname"
+)
+
+# Find out the version of the compiler being used.
+# Add this information to the buildname
+# This is for gcc or icc because they both support the -dumpversion option
+EXEC_PROGRAM($ENV{WM_CC}
+ ARGS -dumpversion
+ OUTPUT_VARIABLE COMPILER_VERSION
+)
+SET(BUILDNAME "${BUILDNAME}-$ENV{WM_CC}${COMPILER_VERSION}")
+#
+# We will support more compilers eventually.
+#
+
+# Timeout for running every single test: 4 hours: 4 x 3600 seconds
+#SET(
+# DART_TESTING_TIMEOUT 14400
+# CACHE STRING "Maximum time allowed (4 hours) before CTest will kill the test."
+#)
+# Timeout for running all this: 20 minutes : 1200 seconds (for debug)
+SET(
+ DART_TESTING_TIMEOUT 1200
+ CACHE STRING "Maximum time allowed (20 minutes) before CTest will kill the test."
+)
+
+SET(
+ CMAKE_VERBOSE_MAKEFILE TRUE
+)
+
+
+# Update section
+#-----------------------------------------------------------------------------
+set (UPDATE_TYPE git)
+
+#
+# Using GIT as SCM
+#
+find_package(Git)
+
+if(NOT BUILDNAME_SCM_INFO STREQUAL "")
+ SET(BUILDNAME "${BUILDNAME}-${BUILDNAME_SCM_INFO}")
+
+elseif(GIT_FOUND)
+ message("The git command was found: ${GIT_EXECUTABLE}")
+
+ # Check if the source code is under a valid git repository
+ GetGitStatus(GIT_STATUS GIT_ECODE)
+
+ if(NOT GIT_ECODE)
+ # We have a valid git repository.
+ # Grab the branch and revision info. Add to the build name
+ GetGitBranchName(GIT_BRANCH_NAME)
+ message("Git branch: ${GIT_BRANCH_NAME}")
+
+ GetGitRevNumber(GIT_REV_NUMBER)
+ message("Git revision: ${GIT_REV_NUMBER}")
+
+ SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}")
+ SET(BUILDNAME "${BUILDNAME}-git-rev=${GIT_REV_NUMBER}")
+ else()
+ execute_process(
+ COMMAND hg id
+ WORKING_DIRECTORY ${FOAM_ROOT}
+ OUTPUT_VARIABLE HG_STATUS
+ RESULT_VARIABLE HG_ECODE
+ ERROR_QUIET
+ )
+ if(NOT HG_ECODE)
+ # We have a valid git repository. Grab the branch and revision info.
+ # Add to the build name
+ message("No git-branch. Mercurial?")
+ EXEC_PROGRAM(hg
+ ARGS id --bookmarks
+ OUTPUT_VARIABLE GIT_BRANCH_NAME
+ )
+ EXEC_PROGRAM(hg
+ ARGS id --id
+ OUTPUT_VARIABLE GIT_REV_NUMBER
+ )
+ EXEC_PROGRAM(hg
+ ARGS log --template='git_{gitnode|short}' -l 1
+ OUTPUT_VARIABLE GIT_REAL_REV_NUMBER
+ )
+ string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
+ string(REPLACE "+" ":modified" GIT_REV_NUMBER ${GIT_REV_NUMBER})
+ SET(GIT_REV_NUMBER "${GIT_REV_NUMBER}_${GIT_REAL_REV_NUMBER}")
+ message("Git branch (mercurial): ${GIT_BRANCH_NAME} Revision: ${GIT_REV_NUMBER}")
+
+ SET(BUILDNAME "${BUILDNAME}-hg-branch=${GIT_BRANCH_NAME}")
+ SET(BUILDNAME "${BUILDNAME}-hg-rev=${GIT_REV_NUMBER}")
+ else()
+ # Not a git or mercurial repository: no branch nor revision information available
+ SET(BUILDNAME "${BUILDNAME}-git-branch=unknown")
+ SET(BUILDNAME "${BUILDNAME}-git-rev=unknown")
+ endif()
+ endif()
+else()
+ # Git is not available: no branch nor revision information supplied
+ SET(BUILDNAME "${BUILDNAME}-git-branch=unknown")
+ SET(BUILDNAME "${BUILDNAME}-git-rev=unknown")
+endif()
+
+# Some last minute cleanup
+# Seems like no '/' or ' 'are allowed in the BUILDNAME or in the SITE name
+CleanUpStringForCDash(${BUILDNAME} BUILDNAME)
+CleanUpStringForCDash(${SITE} SITE)
+
+message("Build name: ${BUILDNAME}")
+message("Site name: ${SITE}")
+
+#
+# Build section
+#-----------------------------------------------------------------------------
+
+# Compile FOAM, libs and apps
+add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION} ALL
+ ${FOAM_ROOT}/Allwmake
+)
+
+set_property(
+ TARGET foam-extend-$ENV{WM_PROJECT_VERSION}
+ PROPERTY LABELS foam-extend-$ENV{WM_PROJECT_VERSION}
+)
+
+# Compile the FOAM unit tests located under applications/test
+# This part will not be compiled and run by default.
+# This would be a good candidate for a sub-project
+add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION}_unitTests
+ wmake all ${FOAM_ROOT}/applications/test
+)
+
+# Test section
+#-----------------------------------------------------------------------------
+
+#Enable testing and dashboard
+ENABLE_TESTING()
+INCLUDE(CTest)
+
+SET (CTEST_UPDATE_COMMAND ${GIT_EXECUTABLE})
+
+SET(
+ CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000
+ CACHE INTERNAL "Max number of errors"
+)
+SET(
+ CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000
+ CACHE INTERNAL "Max number of warnings"
+)
+
+IF(BUILD_TESTING)
+
+ # Modify this variable if you want the full length test case simulations
+ # Beware, this might take a long time to execute.
+ # Otherwise, the default behaviour is to run each tutorial for 1 "timestep"
+ #SET(RUN_FROM_ONE_TIMESTEP 0)
+ SET(RUN_FROM_ONE_TIMESTEP 1)
+
+ IF(RUN_FROM_ONE_TIMESTEP)
+ SET(testIdSuffix "_oneTimeStep")
+ ENDIF(RUN_FROM_ONE_TIMESTEP)
+
+ # FOAM will run against this test suite:
+
+ # Add the suite of FOAM tutorials
+ #
+ INCLUDE($ENV{FOAM_TEST_HARNESS_DIR}/CMakeFiles/FOAM_Tutorials.cmake)
+
+ IF(RUN_FROM_ONE_TIMESTEP)
+ # Modify the cases controlDict file in order to run for only one time step
+ MESSAGE("${testRunTimeDirectory}: Modifying the controlDict files for running only one time step in directory: ${TEST_CASE_DIR}")
+ if(CMAKE_HOST_WIN32)
+ # Need to supply a bash shell to run the script under Windows
+ EXECUTE_PROCESS(
+ COMMAND bash -c "$ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}"
+ WORKING_DIRECTORY .
+ )
+ else()
+ EXECUTE_PROCESS(
+ COMMAND $ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}
+ WORKING_DIRECTORY .
+ )
+ endif()
+ ENDIF(RUN_FROM_ONE_TIMESTEP)
+
+ENDIF(BUILD_TESTING)
+
+# That's it.
+#
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 000000000..f87e07b8d
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,66 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(foam)
+add_subdirectory(immersedBoundary)
+add_subdirectory(overset)
+add_subdirectory(lagrangian)
+add_subdirectory(edgeMesh)
+add_subdirectory(coupledMatrix)
+add_subdirectory(turbulenceModels)
+add_subdirectory(tetFiniteElement)
+add_subdirectory(finiteArea)
+add_subdirectory(errorEstimation)
+add_subdirectory(randomProcesses)
+add_subdirectory(decompositionMethods)
+add_subdirectory(conversion)
+add_subdirectory(surfMesh)
+add_subdirectory(transportModels)
+add_subdirectory(multiSolver)
+add_subdirectory(OSspecific)
+add_subdirectory(equationReader)
+add_subdirectory(POD)
+add_subdirectory(solidModels)
+add_subdirectory(ODE)
+add_subdirectory(engine)
+add_subdirectory(lduSolvers)
+#add_subdirectory(cudaSolvers)
+add_subdirectory(mesh)
+add_subdirectory(postProcessing)
+add_subdirectory(finiteVolume)
+add_subdirectory(sampling)
+add_subdirectory(fvAgglomerationMethods)
+add_subdirectory(meshTools)
+add_subdirectory(dynamicMesh)
+add_subdirectory(thermophysicalModels)
+add_subdirectory(dbns)
+add_subdirectory(conjugateHeatTransfer)
diff --git a/src/ODE/CMakeLists.txt b/src/ODE/CMakeLists.txt
new file mode 100644
index 000000000..6819357de
--- /dev/null
+++ b/src/ODE/CMakeLists.txt
@@ -0,0 +1,75 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(ODESolvers ODESolvers)
+list(APPEND SOURCES
+ ${ODESolvers}/ODESolver/ODESolver.C
+ ${ODESolvers}/ODESolver/newODESolver.C
+ ${ODESolvers}/Euler/Euler.C
+ ${ODESolvers}/RK/RK.C
+ ${ODESolvers}/KRR4/KRR4.C
+ ${ODESolvers}/SIBS/SIBS.C
+ ${ODESolvers}/SIBS/SIMPR.C
+ ${ODESolvers}/SIBS/polyExtrapolate.C
+)
+
+set(translationODE translationODE)
+list(APPEND SOURCES
+ ${translationODE}/translationODE.C
+)
+
+set(sixDOF sixDOF)
+list(APPEND SOURCES
+ ${sixDOF}/finiteRotation/finiteRotation.C
+ ${sixDOF}/sixDOFqODE/sixDOFqODE.C
+ ${sixDOF}/sixDOFODE/constraints/rotationalConstraints/rotationalConstraint/rotationalConstraint.C
+ ${sixDOF}/sixDOFODE/constraints/rotationalConstraints/constantAngularAcceleration/constantAngularAcceleration.C
+ ${sixDOF}/sixDOFODE/constraints/translationalConstraints/translationalConstraint/translationalConstraint.C
+ ${sixDOF}/sixDOFODE/constraints/translationalConstraints/constantTranslationalAcceleration/constantTranslationalAcceleration.C
+ ${sixDOF}/sixDOFODE/constraints/translationalConstraints/periodicOscillation/periodicOscillation.C
+
+ ${sixDOF}/sixDOFODE/restraints/translationalRestraints/translationalRestraint/translationalRestraint.C
+ ${sixDOF}/sixDOFODE/restraints/translationalRestraints/linearSpringDamper/linearSpringDamper.C
+ ${sixDOF}/sixDOFODE/restraints/rotationalRestraints/rotationalRestraint/rotationalRestraint.C
+ ${sixDOF}/sixDOFODE/restraints/rotationalRestraints/angularDamper/angularDamper.C
+
+ ${sixDOF}/sixDOFODE/sixDOFODE.C
+ ${sixDOF}/sixDOFODE/newSixDOFODE.C
+ ${sixDOF}/quaternionSixDOF/quaternionSixDOF.C
+ ${sixDOF}/geometricSixDOF/geometricSixDOF.C
+
+ ${sixDOF}/sixDOFBodies/sixDOFBodies.C
+)
+
+add_foam_library(ODE SHARED ${SOURCES})
+
+target_link_libraries(ODE PUBLIC meshTools)
diff --git a/src/OSspecific/CMakeLists.txt b/src/OSspecific/CMakeLists.txt
new file mode 100644
index 000000000..3dd5d9cb0
--- /dev/null
+++ b/src/OSspecific/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+#add_subdirectory(MSWindows)
+add_subdirectory(POSIX)
diff --git a/src/OSspecific/MSWindows/CMakeLists.txt b/src/OSspecific/MSWindows/CMakeLists.txt
new file mode 100644
index 000000000..87e2c8c5a
--- /dev/null
+++ b/src/OSspecific/MSWindows/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ signals/sigFpe.C
+ signals/sigSegv.C
+ signals/sigInt.C
+ signals/sigQuit.C
+ regExp.C
+ timer.C
+ fileStat.C
+ MSwindows.C
+ cpuTime/cpuTime.C
+ clockTime/clockTime.C
+ multiThreader/multiThreader.C
+ printStack.C
+)
+
+add_foam_library(OSspecific SHARED ${SOURCES})
+
+#target_link_libraries(OSspecific finiteVolume)
diff --git a/src/OSspecific/POSIX/CMakeLists.txt b/src/OSspecific/POSIX/CMakeLists.txt
new file mode 100644
index 000000000..5f1fcb057
--- /dev/null
+++ b/src/OSspecific/POSIX/CMakeLists.txt
@@ -0,0 +1,67 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+get_property(inc TARGET foam PROPERTY INCLUDE_DIRECTORIES)
+include_directories(${inc})
+
+list(APPEND SOURCES
+ signals/sigFpe.C
+ signals/sigSegv.C
+ signals/sigInt.C
+ signals/sigQuit.C
+ regExp.C
+ timer.C
+ fileStat.C
+ POSIX.C
+ cpuTime/cpuTime.C
+ clockTime/clockTime.C
+ memInfo/memInfo.C
+ multiThreader/multiThreader.C
+
+# Note: fileMonitor assumes inotify by default. Compile with -DFOAM_USE_STAT
+# to use stat (=timestamps) instead of inotify
+ fileMonitor.C
+)
+
+#ifdef SunOS64
+#list(APPEND SOURCES
+# dummyPrintStack.C
+#)
+#else
+list(APPEND SOURCES
+ printStack.C
+)
+#endif
+
+add_foam_library(OSspecific SHARED ${SOURCES})
+
+add_dependencies(OSspecific foam_lnInclude)
diff --git a/src/POD/CMakeLists.txt b/src/POD/CMakeLists.txt
new file mode 100644
index 000000000..6b35ad4a5
--- /dev/null
+++ b/src/POD/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ PODEigenBase/PODEigenBase.C
+ PODOrthoNormalBase/scalarPODOrthoNormalBase.C
+ PODODE/PODODE.C
+ scalarTransportPOD/scalarTransportPOD.C
+)
+
+add_foam_library(POD SHARED ${SOURCES})
+
+target_link_libraries(POD PUBLIC finiteVolume ODE)
diff --git a/src/conjugateHeatTransfer/CMakeLists.txt b/src/conjugateHeatTransfer/CMakeLists.txt
new file mode 100644
index 000000000..300b3a9f4
--- /dev/null
+++ b/src/conjugateHeatTransfer/CMakeLists.txt
@@ -0,0 +1,92 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ thermalModel/thermalModel.C
+)
+set(thermalLaws thermalModel/thermalLaws)
+
+list(APPEND SOURCES
+ ${thermalLaws}/thermalLaw/thermalLaw.C
+ ${thermalLaws}/thermalLaw/newThermalLaw.C
+ ${thermalLaws}/constantThermal/constantThermal.C
+ ${thermalLaws}/multiMaterialThermal/multiMaterialThermal.C
+ ${thermalLaws}/multiMaterialZonesThermal/multiMaterialZonesThermal.C
+)
+
+set(thermalGaps thermalModel/thermalGaps)
+
+list(APPEND SOURCES
+ ${thermalGaps}/thermalGap/thermalGap.C
+ ${thermalGaps}/thermalGap/newThermalGap.C
+ ${thermalGaps}/constantThermalGap/constantThermalGap.C
+ ${thermalGaps}/constantResistanceThermalGap/constantResistanceThermalGap.C
+)
+
+set(thermalSource thermalModel/thermalSource)
+
+list(APPEND SOURCES
+ ${thermalSource}/thermalSource/thermalSource.C
+ ${thermalSource}/thermalSource/newThermalSource.C
+ ${thermalSource}/constantThermalSource/constantThermalSource.C
+)
+
+set(BCs fvPatchFields)
+
+list(APPEND SOURCES
+ ${BCs}/controlledParabolicVelocity/controlledParabolicVelocityFvPatchVectorField.C
+ ${BCs}/chtRegionCoupleBase/chtRegionCoupleBase.C
+ ${BCs}/chtRcThermalDiffusivity/chtRcThermalDiffusivityFvPatchScalarField.C
+ ${BCs}/chtRcTemperature/chtRcTemperatureFvPatchScalarField.C
+ ${BCs}/chtRcThermalDiffusivityResistance/chtRcThermalDiffusivityResistanceFvPatchScalarField.C
+ ${BCs}/chtRcThermalDiffusivitySlave/chtRcThermalDiffusivitySlaveFvPatchScalarField.C
+ ${BCs}/extendedWallHeatTransfer/extendedWallHeatTransferFvPatchScalarField.C
+ ${BCs}/externalRadiation/externalRadiationSource/externalRadiationSource.C
+ ${BCs}/externalRadiation/externalRadiationSource/newExternalRadiationSource.C
+ ${BCs}/externalRadiation/ersConstantFlux/ersConstantFlux.C
+ ${BCs}/externalRadiation/ersViewFactor/ersViewFactor.C
+ ${BCs}/externalRadiation/ersPlaneToCylinder/ersPlaneToCylinder.C
+ ${BCs}/externalRadiation/ersPointSource/ersPointSource.C
+ ${BCs}/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+ ${BCs}/adiabatic/adiabaticFvPatchScalarField.C
+)
+
+set(FOs functionObjects)
+
+list(APPEND SOURCES
+ ${FOs}/heatFlux/heatFlux/heatFlux.C
+ ${FOs}/heatFlux/heatFluxFunctionObject/heatFluxFunctionObject.C
+)
+
+add_foam_library(conjugateHeatTransfer SHARED ${SOURCES})
+
+target_link_libraries(conjugateHeatTransfer PUBLIC radiation)
diff --git a/src/conversion/CMakeLists.txt b/src/conversion/CMakeLists.txt
new file mode 100644
index 000000000..511f5d895
--- /dev/null
+++ b/src/conversion/CMakeLists.txt
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ ensight/file/ensightFile.C
+ ensight/file/ensightGeoFile.C
+ ensight/part/ensightPart.C
+ ensight/part/ensightPartIO.C
+ ensight/part/ensightPartCells.C
+ ensight/part/ensightPartFaces.C
+ ensight/part/ensightParts.C
+ meshTables/boundaryRegion.C
+ meshTables/cellTable.C
+ meshReader/meshReader.C
+ meshReader/meshReaderAux.C
+ meshReader/calcPointCells.C
+ meshReader/createPolyCells.C
+ meshReader/createPolyBoundary.C
+ meshReader/starcd/STARCDMeshReader.C
+ meshWriter/meshWriter.C
+ meshWriter/starcd/STARCDMeshWriter.C
+ meshWriter/elmer/ElmerMeshWriter.C
+ polyDualMesh/polyDualMesh.C
+)
+
+add_foam_library(conversion SHARED ${SOURCES})
+
+target_link_libraries(conversion PUBLIC finiteVolume)
diff --git a/src/coupledMatrix/CMakeLists.txt b/src/coupledMatrix/CMakeLists.txt
new file mode 100644
index 000000000..4cb4d7035
--- /dev/null
+++ b/src/coupledMatrix/CMakeLists.txt
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ coupledLduMatrix/coupledLduMatrix.C
+ coupledLduPrecon/coupledLduPrecon/coupledLduPrecon.C
+ coupledLduPrecon/noPrecon/coupledNoPrecon.C
+ coupledLduPrecon/diagonalPrecon/coupledDiagonalPrecon.C
+ coupledLduPrecon/GaussSeidelPrecon/coupledGaussSeidelPrecon.C
+ coupledLduPrecon/CholeskyPrecon/coupledCholeskyPrecon.C
+ coupledLduSmoother/coupledLduSmoother/coupledLduSmoother.C
+ coupledLduSmoother/GaussSeidelSmoother/coupledGaussSeidelSmoother.C
+ coupledLduSmoother/iluSmoother/coupledIluSmoother.C
+ coupledLduSolver/coupledSolverPerformance/coupledSolverPerformance.C
+ coupledLduSolver/coupledLduSolver/coupledLduSolver.C
+ coupledLduSolver/iterativeSolver/coupledIterativeSolver.C
+ coupledLduSolver/diagonalSolver/coupledDiagonalSolver.C
+ coupledLduSolver/smoothSolver/coupledSmoothSolver.C
+ coupledLduSolver/cgSolver/coupledCgSolver.C
+ coupledLduSolver/bicgSolver/coupledBicgSolver.C
+ coupledLduSolver/bicgStabSolver/coupledBicgStabSolver.C
+ coupledFvMatrices/coupledFvMatrices.C
+ coupledFvMatrices/coupledFvScalarMatrix/coupledFvScalarMatrix.C
+)
+
+add_foam_library(coupledLduMatrix SHARED ${SOURCES})
+
+target_link_libraries(coupledLduMatrix PUBLIC finiteVolume)
diff --git a/src/cudaSolvers/CMakeLists.txt b/src/cudaSolvers/CMakeLists.txt
new file mode 100644
index 000000000..9ef4d2af0
--- /dev/null
+++ b/src/cudaSolvers/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cudaSolver/cudaSolver.C
+ cudaCG/cgDiag.cu
+ cudaCG/cgAmg.cu
+ cudaCG/cgAinv.cu
+ cudaCG/cudaCG.C
+ cudaBiCGStab/bicgDiag.cu
+ cudaBiCGStab/bicgAinv.cu
+ cudaBiCGStab/cudaBiCGStab.C
+)
+
+add_foam_library(cudaSolvers SHARED ${SOURCES})
+
+target_link_libraries(cudaSolvers PUBLIC finiteVolume)
diff --git a/src/dbns/CMakeLists.txt b/src/dbns/CMakeLists.txt
new file mode 100644
index 000000000..145dfe9c4
--- /dev/null
+++ b/src/dbns/CMakeLists.txt
@@ -0,0 +1,59 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dbnsFlux/roeFlux/roeFlux.C
+ dbnsFlux/rusanovFlux/rusanovFlux.C
+ dbnsFlux/betaFlux/betaFlux.C
+ dbnsFlux/hllcFlux/hllcFlux.C
+ dbnsFlux/hllcALEFlux/hllcALEFlux.C
+ basicNumericFlux/basicNumericFlux.C
+ basicNumericFlux/newBasicNumericFlux.C
+ numericFlux/numericFluxes.C
+ multigrid/mgMeshLevel/mgMeshLevel.C
+ multigrid/mgMeshLevel/fineMgMeshLevel.C
+ multigrid/mgMeshLevel/coarseMgMeshLevel.C
+ multigrid/mgFieldLevel/mgFieldLevel.C
+ multigrid/mgFieldLevel/fineMgFieldLevel.C
+ multigrid/mgFieldLevel/coarseMgFieldLevel.C
+ timeStepping/localTimeStep/localTimeStep.C
+ timeStepping/backwardDualDdtScheme/backwardDualDdtSchemes.C
+ timeStepping/EulerLocalDdtScheme/EulerLocalDdtSchemes.C
+)
+
+if(PARMGRIDGEN_FOUND)
+ add_foam_library(dbns SHARED ${SOURCES})
+
+ target_link_libraries(dbns PUBLIC compressibleTurbulenceModel parmgridgen)
+else()
+ message(WARNING dbns will not be build)
+endif()
diff --git a/src/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/CMakeLists.txt
new file mode 100644
index 000000000..10e1a89f7
--- /dev/null
+++ b/src/decompositionMethods/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(parMetisDecomp)
+add_subdirectory(decompositionMethods)
+add_subdirectory(scotchDecomp)
+add_subdirectory(metisDecomp)
+add_subdirectory(decomposeReconstruct)
diff --git a/src/decompositionMethods/decomposeReconstruct/CMakeLists.txt b/src/decompositionMethods/decomposeReconstruct/CMakeLists.txt
new file mode 100644
index 000000000..97ffc23c6
--- /dev/null
+++ b/src/decompositionMethods/decomposeReconstruct/CMakeLists.txt
@@ -0,0 +1,63 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ passivePatches/passiveProcessorPolyPatch/passiveProcessorPolyPatch.C
+ passivePatches/passiveProcessorFvPatch/passiveProcessorFvPatch.C
+
+ passivePatchFields/passiveFvPatchFields/passiveProcessor/passiveProcessorFvPatchFields.C
+ passivePatchFields/passiveFvsPatchFields/passiveProcessor/passiveProcessorFvsPatchFields.C
+
+ decomposeTools/finiteVolume/domainDecomposition.C
+ decomposeTools/finiteVolume/distributeCells.C
+ decomposeTools/finiteVolume/decomposeMesh.C
+ decomposeTools/finiteVolume/fvFieldDecomposer.C
+ decomposeTools/finiteArea/faMeshDecomposition.C
+ decomposeTools/finiteArea/faFieldDecomposer.C
+ decomposeTools/point/pointFieldDecomposer.C
+ decomposeTools/tetFiniteElement/tetPointFieldDecomposer.C
+ decomposeTools/lagrangian/lagrangianFieldDecomposer.C
+
+ reconstructTools/finiteVolume/sharedPoints.C
+ reconstructTools/finiteVolume/processorMeshesReconstructor.C
+ reconstructTools/finiteVolume/processorMeshesRebuild.C
+ reconstructTools/finiteVolume/fvFieldReconstructor.C
+ reconstructTools/finiteArea/processorFaMeshes.C
+ reconstructTools/finiteArea/faFieldReconstructor.C
+ reconstructTools/point/pointFieldReconstructor.C
+ reconstructTools/tetFiniteElement/tetPointFieldReconstructor.C
+ reconstructTools/lagrangian/reconstructLagrangianPositions.C
+)
+
+add_foam_library(decomposeReconstruct SHARED ${SOURCES})
+
+target_link_libraries(decomposeReconstruct PUBLIC decompositionMethods lagrangianBasic finiteVolume finiteArea tetFiniteElement)
diff --git a/src/decompositionMethods/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/decompositionMethods/CMakeLists.txt
new file mode 100644
index 000000000..bb701ac55
--- /dev/null
+++ b/src/decompositionMethods/decompositionMethods/CMakeLists.txt
@@ -0,0 +1,44 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ decompositionMethod/decompositionMethod.C
+ manualDecomp/manualDecomp.C
+ geomDecomp/geomDecomp.C
+ simpleGeomDecomp/simpleGeomDecomp.C
+ hierarchGeomDecomp/hierarchGeomDecomp.C
+ patchConstrainedDecomp/patchConstrainedDecomp.C
+)
+
+add_foam_library(decompositionMethods SHARED ${SOURCES})
+
+target_link_libraries(decompositionMethods PUBLIC foam)
diff --git a/src/decompositionMethods/metisDecomp/CMakeLists.txt b/src/decompositionMethods/metisDecomp/CMakeLists.txt
new file mode 100644
index 000000000..8722b2343
--- /dev/null
+++ b/src/decompositionMethods/metisDecomp/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ metisDecomp.C
+)
+
+add_foam_library(metisDecomp SHARED ${SOURCES})
+
+target_link_libraries(metisDecomp PUBLIC decompositionMethods metis)
diff --git a/src/decompositionMethods/metisDecomp/metisDecomp.C b/src/decompositionMethods/metisDecomp/metisDecomp.C
index 002a760ec..0740c1e14 100644
--- a/src/decompositionMethods/metisDecomp/metisDecomp.C
+++ b/src/decompositionMethods/metisDecomp/metisDecomp.C
@@ -27,7 +27,6 @@ License
#include "addToRunTimeSelectionTable.H"
#include "floatScalar.H"
#include "foamTime.H"
-#include "scotchDecomp.H"
extern "C"
{
diff --git a/src/decompositionMethods/parMetisDecomp/CMakeLists.txt b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt
new file mode 100644
index 000000000..b297683f0
--- /dev/null
+++ b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ parMetisDecomp.C
+)
+
+add_foam_library(parMetisDecomp SHARED ${SOURCES})
+
+target_link_libraries(parMetisDecomp PUBLIC metisDecomp parmetis)
diff --git a/src/decompositionMethods/scotchDecomp/CMakeLists.txt b/src/decompositionMethods/scotchDecomp/CMakeLists.txt
new file mode 100644
index 000000000..4c8158feb
--- /dev/null
+++ b/src/decompositionMethods/scotchDecomp/CMakeLists.txt
@@ -0,0 +1,40 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scotchDecomp/scotchDecomp.C
+ engineScotchDecomp/engineScotchDecomp.C
+)
+
+add_foam_library(scotchDecomp SHARED ${SOURCES})
+
+target_link_libraries(scotchDecomp PUBLIC decompositionMethods scotch)
diff --git a/src/dynamicMesh/CMakeLists.txt b/src/dynamicMesh/CMakeLists.txt
new file mode 100644
index 000000000..41956639b
--- /dev/null
+++ b/src/dynamicMesh/CMakeLists.txt
@@ -0,0 +1,38 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(topoChangerFvMesh)
+add_subdirectory(dynamicMesh)
+add_subdirectory(dynamicTopoFvMesh)
+add_subdirectory(dynamicFvMesh)
+add_subdirectory(meshMotion)
+add_subdirectory(loadBalanceFvMesh)
diff --git a/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt b/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt
new file mode 100644
index 000000000..fbeec613d
--- /dev/null
+++ b/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt
@@ -0,0 +1,53 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dynamicFvMesh/dynamicFvMesh.C
+ dynamicFvMesh/newDynamicFvMesh.C
+ staticFvMesh/staticFvMesh.C
+ solidBodyMotionFvMesh/solidBodyMotionFvMesh.C
+ dynamicBoxFvMesh/dynamicBoxFvMesh.C
+ movingBoxFvMesh/movingBoxFvMesh.C
+ dynamicBodyFvMesh/dynamicBodyFvMesh.C
+ dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C
+ subsetMotionSolverFvMesh/subsetMotionSolverFvMesh.C
+ dynamicInkJetFvMesh/dynamicInkJetFvMesh.C
+ dynamicRefineFvMesh/dynamicRefineFvMesh.C
+ mixerGgiFvMesh/mixerGgiFvMesh.C
+ turboFvMesh/turboFvMesh.C
+ fvMeshAdder/fvMeshAdder.C
+ fvMeshDistribute/fvMeshDistribute.C
+)
+
+add_foam_library(dynamicFvMesh SHARED ${SOURCES})
+
+target_link_libraries(dynamicFvMesh PUBLIC dynamicMesh finiteVolume RBFMotionSolver solidBodyMotion tetMotionSolver)
diff --git a/src/dynamicMesh/dynamicMesh/CMakeLists.txt b/src/dynamicMesh/dynamicMesh/CMakeLists.txt
new file mode 100644
index 000000000..fd916f1fe
--- /dev/null
+++ b/src/dynamicMesh/dynamicMesh/CMakeLists.txt
@@ -0,0 +1,145 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(polyMeshModifiers polyMeshModifiers)
+
+list(APPEND SOURCES
+ ${polyMeshModifiers}/polyMeshModifier/polyMeshModifier.C
+ ${polyMeshModifiers}/polyMeshModifier/newPolyMeshModifier.C
+)
+
+set(attachDetach ${polyMeshModifiers}/attachDetach)
+list(APPEND SOURCES
+ ${attachDetach}/attachDetach.C
+ ${attachDetach}/attachInterface.C
+ ${attachDetach}/detachInterface.C
+ ${attachDetach}/attachDetachPointMatchMap.C
+)
+
+set(layerAdditionRemoval ${polyMeshModifiers}/layerAdditionRemoval)
+list(APPEND SOURCES
+ ${layerAdditionRemoval}/layerAdditionRemoval.C
+ ${layerAdditionRemoval}/setLayerPairing.C
+ ${layerAdditionRemoval}/addCellLayer.C
+ ${layerAdditionRemoval}/removeCellLayer.C
+ ${polyMeshModifiers}/perfectInterface/perfectInterface.C
+ ${polyMeshModifiers}/setUpdater/setUpdater.C
+)
+
+set(slidingInterface ${polyMeshModifiers}/slidingInterface)
+set(enrichedPatch ${slidingInterface}/enrichedPatch)
+list(APPEND SOURCES
+ ${enrichedPatch}/enrichedPatch.C
+ ${enrichedPatch}/enrichedPatchPointMap.C
+ ${enrichedPatch}/enrichedPatchFaces.C
+ ${enrichedPatch}/enrichedPatchPointPoints.C
+ ${enrichedPatch}/enrichedPatchCutFaces.C
+ ${enrichedPatch}/enrichedPatchMasterPoints.C
+ ${slidingInterface}/slidingInterface.C
+ ${slidingInterface}/slidingInterfaceProjectPoints.C
+ ${slidingInterface}/coupleSlidingInterface.C
+ ${slidingInterface}/slidingInterfaceAttachedAddressing.C
+ ${slidingInterface}/slidingInterfaceClearCouple.C
+ ${slidingInterface}/decoupleSlidingInterface.C
+)
+
+set(repatchCoverage ${polyMeshModifiers}/repatchCoverage)
+list(APPEND SOURCES
+ ${repatchCoverage}/repatchCoverage.C
+)
+
+set(polyhedralRefinement ${polyMeshModifiers}/polyhedralRefinement)
+list(APPEND SOURCES
+ ${polyhedralRefinement}/polyhedralRefinement.C
+ polyTopoChange/polyTopoChange/polyTopoChange.C
+ polyTopoChange/polyTopoChange/actions/topoAction/topoActions.C
+ polyTopoChange/polyTopoChanger/polyTopoChanger.C
+ polyTopoChange/polyTopoChanger/polyTopoChangerChangeMesh.C
+ motionSmoother/motionSmoother.C
+ motionSmoother/motionSmootherCheck.C
+ motionSmoother/polyMeshGeometry/polyMeshGeometry.C
+ motionSolver/motionSolver.C
+ refinementData/refinementData.C
+ refinementData/refinementDistanceData.C
+ refinementData/refinementHistory.C
+ directTopoChange/directTopoChange/directTopoChange.C
+)
+
+set(directActions directTopoChange/directTopoChange/directActions)
+list(APPEND SOURCES
+ ${directActions}/addPatchCellLayer.C
+ ${directActions}/edgeCollapser.C
+ ${directActions}/faceCollapser.C
+ ${directActions}/hexRef8.C
+ ${directActions}/removeCells.C
+ ${directActions}/removeFaces.C
+ ${directActions}/removePoints.C
+ ${directActions}/combineFaces.C
+ ${directActions}/localPointRegion.C
+ ${directActions}/duplicatePoints.C
+)
+
+set(meshCut directTopoChange/meshCut)
+list(APPEND SOURCES
+ ${meshCut}/cellLooper/cellLooper.C
+ ${meshCut}/cellLooper/topoCellLooper.C
+ ${meshCut}/cellLooper/geomCellLooper.C
+ ${meshCut}/cellLooper/hexCellLooper.C
+ ${meshCut}/directions/directions.C
+ ${meshCut}/directions/directionInfo/directionInfo.C
+ ${meshCut}/edgeVertex/edgeVertex.C
+ ${meshCut}/cellCuts/cellCuts.C
+ ${meshCut}/splitCell/splitCell.C
+ ${meshCut}/refineCell/refineCell.C
+ ${meshCut}/wallLayerCells/wallLayerCells.C
+ ${meshCut}/wallLayerCells/wallNormalInfo/wallNormalInfo.C
+)
+
+set(modifiers ${meshCut}/modifiers)
+list(APPEND SOURCES
+ ${modifiers}/boundaryCutter/boundaryCutter.C
+ ${modifiers}/meshCutter/meshCutter.C
+ ${modifiers}/meshCutAndRemove/meshCutAndRemove.C
+ ${modifiers}/undoableMeshCutter/undoableMeshCutter.C
+ ${modifiers}/refinementIterator/refinementIterator.C
+ ${modifiers}/multiDirRefinement/multiDirRefinement.C
+ directTopoChange/polyMeshAdder/faceCoupleInfo.C
+ directTopoChange/polyMeshAdder/polyMeshAdder.C
+ directTopoChange/boundaryMesh/octreeDataFaceList.C
+ directTopoChange/boundaryMesh/boundaryPatch.C
+ directTopoChange/boundaryMesh/boundaryMesh.C
+ directTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.C
+)
+
+add_foam_library(dynamicMesh SHARED ${SOURCES})
+
+target_link_libraries(dynamicMesh PUBLIC meshTools)
diff --git a/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt b/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt
new file mode 100644
index 000000000..c66c437d3
--- /dev/null
+++ b/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt
@@ -0,0 +1,77 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ eMesh/eMesh.C
+ eMesh/eMeshDemandDrivenData.C
+ eMesh/eBoundaryMesh/eBoundaryMesh.C
+)
+
+set(ePatches eMesh/ePatches)
+list(APPEND SOURCES
+ ${ePatches}/ePatch/ePatch.C
+ ${ePatches}/ePatch/newEPatch.C
+ dynamicTopoFvMesh.C
+ dynamicTopoFvMeshCheck.C
+ dynamicTopoFvMeshReOrder.C
+ dynamicTopoFvMeshMapping.C
+ edgeSwap.C
+ edgeBisect.C
+ edgeCollapse.C
+ coupledMesh/coupleMap.C
+ coupledMesh/dynamicTopoFvMeshCoupled.C
+ coupledMesh/subMeshProcessorPolyPatch.C
+ coupledMesh/subMeshProcessorFvPatch.C
+ convexSetAlgorithm/convexSetAlgorithm.C
+ convexSetAlgorithm/faceSetAlgorithm.C
+ convexSetAlgorithm/cellSetAlgorithm.C
+ fieldMapping/topoMapper.C
+ fieldMapping/fluxCorrector.C
+ fieldMapping/topoCellMapper.C
+ fieldMapping/topoPatchMapper.C
+ fieldMapping/topoSurfaceMapper.C
+)
+
+set(tetMetrics tetMetrics)
+list(APPEND SOURCES
+ ${tetMetrics}/tetMetric.C
+ ${tetMetrics}/tetMetrics.C
+)
+
+set(lengthScaleEstimator lengthScaleEstimator)
+list(APPEND SOURCES
+ ${lengthScaleEstimator}/lengthScaleEstimator.C
+)
+
+add_foam_library(dynamicTopoFvMesh SHARED ${SOURCES})
+
+target_link_libraries(dynamicTopoFvMesh PUBLIC dynamicFvMesh)
diff --git a/src/dynamicMesh/loadBalanceFvMesh/CMakeLists.txt b/src/dynamicMesh/loadBalanceFvMesh/CMakeLists.txt
new file mode 100644
index 000000000..d337b2d03
--- /dev/null
+++ b/src/dynamicMesh/loadBalanceFvMesh/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ loadBalanceFvMesh/loadBalanceFvMesh.C
+)
+
+add_foam_library(loadBalanceFvMesh SHARED ${SOURCES})
+
+target_link_libraries(loadBalanceFvMesh PUBLIC decomposeReconstruct topoChangerFvMesh)
diff --git a/src/dynamicMesh/meshMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/CMakeLists.txt
new file mode 100644
index 000000000..abaad3de8
--- /dev/null
+++ b/src/dynamicMesh/meshMotion/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(solidBodyMotion)
+add_subdirectory(RBFMotionSolver)
+add_subdirectory(fvMotionSolver)
+if(MESQUITE_FOUND)
+ add_subdirectory(mesquiteMotionSolver)
+endif()
+add_subdirectory(tetMotionSolver)
diff --git a/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt
new file mode 100644
index 000000000..fec3c1bfd
--- /dev/null
+++ b/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ RBFMotionSolver.C
+)
+
+add_foam_library(RBFMotionSolver SHARED ${SOURCES})
+
+target_link_libraries(RBFMotionSolver PUBLIC dynamicMesh)
diff --git a/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt
new file mode 100644
index 000000000..554326386
--- /dev/null
+++ b/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt
@@ -0,0 +1,66 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ fvMotionSolvers/fvMotionSolver/fvMotionSolver.C
+ fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.C
+ fvMotionSolvers/velocity/refLaplacian/refVelocityLaplacianFvMotionSolver.C
+ fvMotionSolvers/displacement/displacementFvMotionSolver/displacementFvMotionSolver.C
+ fvMotionSolvers/displacement/interpolation/displacementInterpolationFvMotionSolver.C
+ fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.C
+ fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.C
+ fvMotionSolvers/velocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.C
+ fvMotionSolvers/displacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.C
+ motionDiffusivity/motionDiffusivity/motionDiffusivity.C
+ motionDiffusivity/uniform/uniformDiffusivity.C
+ motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.C
+ motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.C
+ motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.C
+ motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.C
+ motionDiffusivity/directional/directionalDiffusivity.C
+ motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.C
+ motionDiffusivity/file/fileDiffusivity.C
+ motionDiffusivity/manipulators/quadratic/quadraticDiffusivity.C
+ motionDiffusivity/manipulators/exponential/exponentialDiffusivity.C
+ fvPatchFields/derived/cellMotion/cellMotionFvPatchFields.C
+ fvPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementFvPatchFields.C
+ pointPatchFields/derived/oscillatingVelocity/oscillatingVelocityPointPatchVectorField.C
+ pointPatchFields/derived/angularOscillatingVelocity/angularOscillatingVelocityPointPatchVectorField.C
+ pointPatchFields/derived/oscillatingDisplacement/oscillatingDisplacementPointPatchVectorField.C
+ pointPatchFields/derived/angularOscillatingDisplacement/angularOscillatingDisplacementPointPatchVectorField.C
+ pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C
+ pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C
+)
+
+add_foam_library(fvMotionSolver SHARED ${SOURCES})
+
+target_link_libraries(fvMotionSolver PUBLIC finiteVolume dynamicMesh)
diff --git a/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt
new file mode 100644
index 000000000..4cd7d7c64
--- /dev/null
+++ b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mesquiteMotionSolver.C
+)
+
+add_foam_library(mesquiteMotionSolver SHARED ${SOURCES})
+
+target_link_libraries(mesquiteMotionSolver PUBLIC dynamicMesh mesquite)
diff --git a/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt
new file mode 100644
index 000000000..37340bd20
--- /dev/null
+++ b/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ solidBodyMotionFunction/solidBodyMotionFunction.C
+ solidBodyMotionFunction/newSolidBodyMotionFunction.C
+ noMotion/noMotion.C
+ translation/translation.C
+ graphMotion/graphMotion.C
+ linearOscillation/linearOscillation.C
+ rotatingOscillation/rotatingOscillation.C
+ harmonicOscillation/harmonicOscillation.C
+ SDA/SDA.C
+ SKA/SKA.C
+ constantVelocity/constantVelocity.C
+ graphVelocity/graphVelocity.C
+)
+
+add_foam_library(solidBodyMotion SHARED ${SOURCES})
+
+target_link_libraries(solidBodyMotion PUBLIC foam)
diff --git a/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt
new file mode 100644
index 000000000..5c6b37b49
--- /dev/null
+++ b/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ tetMotionSolver/tetMotionSolver.C
+ tetMotionSolver/laplace/laplaceTetMotionSolver.C
+ tetMotionSolver/pseudoSolid/pseudoSolidTetMotionSolver.C
+ cellQuality/cellQuality.C
+ motionDiffs/motionDiff/motionDiff.C
+ motionDiffs/uniform/uniformDiff.C
+ motionDiffs/deformationEnergy/deformationEnergyDiff.C
+ motionDiffs/distortionEnergy/distortionEnergyDiff.C
+ motionDiffs/linear/linearDiff.C
+ motionDiffs/quadratic/quadraticDiff.C
+ motionDiffs/exponential/exponentialDiff.C
+ motionDiffs/patchEnhanced/patchEnhancedDiff.C
+ motionDiffs/file/fileDiff.C
+)
+
+add_foam_library(tetMotionSolver SHARED ${SOURCES})
+
+target_link_libraries(tetMotionSolver PUBLIC tetFiniteElement dynamicMesh)
diff --git a/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt b/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt
new file mode 100644
index 000000000..2b2b31190
--- /dev/null
+++ b/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ topoChangerFvMesh/topoChangerFvMesh.C
+ topoChangerFvMesh/topoChangerFvMeshLoadBalance.C
+ attachDetachFvMesh/attachDetachFvMesh.C
+ linearValveFvMesh/linearValveFvMesh.C
+ linearValveLayersFvMesh/linearValveLayersFvMesh.C
+ movingBodyTopoFvMesh/movingBodyTopoFvMesh.C
+ multiTopoBodyFvMesh/topoBody.C
+ multiTopoBodyFvMesh/multiTopoBodyFvMesh.C
+ mixerFvMesh/mixerFvMesh.C
+ multiMixerFvMesh/mixerRotor.C
+ multiMixerFvMesh/multiMixerFvMesh.C
+ dynamicPolyRefinementFvMesh/dynamicPolyRefinementFvMesh.C
+ dynamicPolyRefinementFvMesh/refinementSelection/refinementSelection/refinementSelection.C
+ dynamicPolyRefinementFvMesh/refinementSelection/fieldBoundsRefinement/fieldBoundsRefinement.C
+ dynamicPolyRefinementFvMesh/refinementSelection/minCellVolumeRefinement/minCellVolumeRefinement.C
+ dynamicPolyRefinementFvMesh/refinementSelection/minCellSizeRefinement/minCellSizeRefinement.C
+ dynamicPolyRefinementFvMesh/refinementSelection/minPatchDistanceRefinement/minPatchDistanceRefinement.C
+ dynamicPolyRefinementFvMesh/refinementSelection/compositeRefinementSelection/compositeRefinementSelection.C
+)
+
+add_foam_library(topoChangerFvMesh SHARED ${SOURCES})
+
+target_link_libraries(topoChangerFvMesh PUBLIC dynamicFvMesh decomposeReconstruct)
+
diff --git a/src/edgeMesh/CMakeLists.txt b/src/edgeMesh/CMakeLists.txt
new file mode 100644
index 000000000..a3365972a
--- /dev/null
+++ b/src/edgeMesh/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ edgeMesh.C
+ edgeMeshIO.C
+ featureEdgeMesh.C
+)
+
+add_foam_library(edgeMesh SHARED ${SOURCES})
+
+target_link_libraries(edgeMesh PUBLIC foam)
diff --git a/src/engine/CMakeLists.txt b/src/engine/CMakeLists.txt
new file mode 100644
index 000000000..25bd1200c
--- /dev/null
+++ b/src/engine/CMakeLists.txt
@@ -0,0 +1,121 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ engineTime/engineTime.C
+ ignition/ignition.C
+ ignition/ignitionIO.C
+ ignition/ignitionSite.C
+ ignition/ignitionSiteIO.C
+ engineValve/engineValve.C
+ engineVerticalValve/engineVerticalValve.C
+ thoboisSlidingValve/thoboisSlidingValve.C
+ dieselEngineValve/dieselEngineValve.C
+ thoboisValve/thoboisValve.C
+ accordionValve/accordionValve.C
+ simpleEnginePiston/simpleEnginePiston.C
+ enginePiston/enginePiston.C
+ engineTopoChangerMesh/regionSide/regionSide.C
+ engineTopoChangerMesh/attachDetachFunctions/attachDetachFunctions.C
+ engineMesh/engineMesh/engineMesh.C
+ engineMesh/engineMesh/newEngineMesh.C
+ engineMesh/staticEngineMesh/staticEngineMesh.C
+ engineMesh/layeredEngineMesh/layeredEngineMesh.C
+ engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C
+ engineMesh/tetDecompositionEngineMesh/tetDecompositionEngineMesh.C
+ simpleEngineTopoFvMesh/simpleEngineTopoFvMesh.C
+ simpleEngineTopoFvMesh/addSimpleEngineTopoFvMeshModifiers.C
+ engineTopoChangerMesh/engineTopoChangerMesh/engineTopoChangerMesh.C
+ engineTopoChangerMesh/engineTopoChangerMesh/newEngineTopoChangerMesh.C
+ engineTopoChangerMesh/accordionEngineMesh/accordionEngineMesh.C
+ engineTopoChangerMesh/accordionEngineMesh/accordionEngineMeshInitialize.C
+ engineTopoChangerMesh/accordionEngineMesh/accordionEngineMeshMove.C
+ engineTopoChangerMesh/accordionEngineMesh/addAccordionEngineMeshZones.C
+ engineTopoChangerMesh/deformingEngineMesh/deformingEngineMesh.C
+ engineTopoChangerMesh/deformingEngineMesh/deformingEngineMeshInitialize.C
+ engineTopoChangerMesh/deformingEngineMesh/deformingEngineMeshMove.C
+ engineTopoChangerMesh/deformingEngineMesh/addDeformingEngineMeshZones.C
+ engineTopoChangerMesh/engineValveSliding/addEngineValveSlidingMeshModifiers.C
+ engineTopoChangerMesh/engineValveSliding/engineValveSliding.C
+ engineTopoChangerMesh/engineValveSliding/engineValveSlidingInitialize.C
+ engineTopoChangerMesh/engineValveSliding/engineValveSlidingMove.C
+ engineTopoChangerMesh/layerAR/layerAR.C
+ engineTopoChangerMesh/layerAR/addLayerARMeshModifiers.C
+ engineTopoChangerMesh/layerARGambit/layerARGambit.C
+ engineTopoChangerMesh/layerARGambit/addLayerARGambitMeshModifiers.C
+ engineTopoChangerMesh/pistonLayer/pistonLayer.C
+ engineTopoChangerMesh/pistonLayer/addPistonLayerMeshModifiers.C
+ engineTopoChangerMesh/pistonDeform/pistonDeform.C
+ engineTopoChangerMesh/thoboisMesh/addThoboisMeshModifiers.C
+ engineTopoChangerMesh/thoboisMesh/thoboisMesh.C
+ engineTopoChangerMesh/thoboisMesh/thoboisMeshInitialize.C
+ engineTopoChangerMesh/thoboisMesh/thoboisMeshMove.C
+ engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngine.C
+ engineTopoChangerMesh/twoStrokeEngine/addTwoStrokeEngineModifiers.C
+ engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineCalculate.C
+ engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineInitialize.C
+ engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineMove.C
+ engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineCheckMotionFluxes.C
+ engineTopoChangerMesh/simpleTwoStroke/simpleTwoStroke.C
+ engineTopoChangerMesh/simpleTwoStroke/addSimpleTwoStrokeModifiers.C
+ engineTopoChangerMesh/simpleTwoStroke/simpleTwoStrokeCalculate.C
+ engineTopoChangerMesh/simpleTwoStroke/simpleTwoStrokeInitialize.C
+ engineTopoChangerMesh/simpleTwoStroke/simpleTwoStrokeMove.C
+ engineTopoChangerMesh/verticalValves/verticalValves.C
+ engineTopoChangerMesh/verticalValves/addVerticalValvesMeshModifiers.C
+ engineTopoChangerMesh/verticalValves/verticalValvesCalculate.C
+ engineTopoChangerMesh/verticalValves/verticalValvesInitialize.C
+ engineTopoChangerMesh/verticalValves/verticalValvesMove.C
+ engineTopoChangerMesh/thoboisSliding/addThoboisSlidingMeshModifiers.C
+ engineTopoChangerMesh/thoboisSliding/thoboisSliding.C
+ engineTopoChangerMesh/thoboisSliding/thoboisSlidingCalculate.C
+ engineTopoChangerMesh/thoboisSliding/thoboisSlidingInitialize.C
+ engineTopoChangerMesh/thoboisSliding/thoboisSlidingMove.C
+ engineTopoChangerMesh/pistonSliding/addPistonSlidingMeshModifiers.C
+ engineTopoChangerMesh/pistonSliding/pistonSliding.C
+ engineTopoChangerMesh/pistonSliding/pistonSlidingCalculate.C
+ engineTopoChangerMesh/pistonSliding/pistonSlidingInitialize.C
+ engineTopoChangerMesh/pistonSliding/pistonSlidingMove.C
+ engineTopoChangerMesh/pistonRefine/pistonRefine.C
+ engineTopoChangerMesh/noEngineMesh/noEngineMesh.C
+)
+
+# derivedFvPatchFields/engineTimeVaryingUniformFixedValue/engineTimeVaryingUniformFixedValueFvPatchField.C
+list(APPEND SOURCES
+ derivedFvPatchFields/engineTimeVaryingUniformFixedValue/engineTimeVaryingUniformFixedValueFvPatchFields.C
+ derivedFvPatchFields/engineMassFlowRateInletVelocity/engineMassFlowRateInletVelocityFvPatchVectorField.C
+ derivedFvPatchFields/engineTimeVaryingTotalPressureFvPatchScalarField/engineTimeVaryingTotalPressureFvPatchScalarField.C
+)
+
+add_foam_library(engine SHARED ${SOURCES})
+
+target_link_libraries(engine PUBLIC dynamicFvMesh fvMotionSolver)
diff --git a/src/equationReader/CMakeLists.txt b/src/equationReader/CMakeLists.txt
new file mode 100644
index 000000000..e3dbf97b8
--- /dev/null
+++ b/src/equationReader/CMakeLists.txt
@@ -0,0 +1,47 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ equationSource/equationSources.C
+ equation/equation.C
+ equation/equationIO.C
+ equationOperation/equationOperation.C
+ equationReader/equationReader.C
+ equationReader/equationReaders.C
+ equationReader/equationReaderIO.C
+ IOEquationReader/IOEquationReader.C
+ IOEquationReader/IOEquationReaderIO.C
+)
+
+add_foam_library(equationReader SHARED ${SOURCES})
+
+target_link_libraries(equationReader PUBLIC foam)
diff --git a/src/errorEstimation/CMakeLists.txt b/src/errorEstimation/CMakeLists.txt
new file mode 100644
index 000000000..509e38f37
--- /dev/null
+++ b/src/errorEstimation/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+
+
+list(APPEND SOURCES errorEstimate/errorEstimate.H)
+
+add_foam_library(errorEstimation SHARED ${SOURCES})
+
+target_link_libraries(errorEstimation PUBLIC finiteVolume)
+
+set_target_properties(errorEstimation PROPERTIES LINKER_LANGUAGE CXX)
diff --git a/src/finiteArea/CMakeLists.txt b/src/finiteArea/CMakeLists.txt
new file mode 100644
index 000000000..261c78601
--- /dev/null
+++ b/src/finiteArea/CMakeLists.txt
@@ -0,0 +1,227 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ faMesh/faGlobalMeshData/faGlobalMeshData.C
+ faMesh/faMesh.C
+ faMesh/faMeshDemandDrivenData.C
+ faMesh/faMeshUpdate.C
+ faMesh/faBoundaryMesh/faBoundaryMesh.C
+)
+
+set(faPatches faMesh/faPatches)
+list(APPEND SOURCES
+ ${faPatches}/faPatch/faPatch.C
+ ${faPatches}/faPatch/newFaPatch.C
+ ${faPatches}/basic/coupled/coupledFaPatch.C
+ ${faPatches}/constraint/empty/emptyFaPatch.C
+ ${faPatches}/constraint/processor/processorFaPatch.C
+ ${faPatches}/constraint/wedge/wedgeFaPatch.C
+ ${faPatches}/constraint/cyclic/cyclicFaPatch.C
+ ${faPatches}/constraint/symmetry/symmetryFaPatch.C
+)
+
+set(faMeshMapper faMesh/faMeshMapper)
+list(APPEND SOURCES
+ ${faMeshMapper}/faMeshMapper.C
+ ${faMeshMapper}/faAreaMapper.C
+ ${faMeshMapper}/faEdgeMapper.C
+ ${faMeshMapper}/faPatchMapper.C
+)
+
+set(faPatchFields fields/faPatchFields)
+list(APPEND SOURCES
+ ${faPatchFields}/faPatchField/faPatchFields.C
+ ${faPatchFields}/faPatchField/faPatchVectorNFields.C
+)
+
+set(basicFaPatchFields ${faPatchFields}/basic)
+list(APPEND SOURCES
+ ${basicFaPatchFields}/basicSymmetry/basicSymmetryFaPatchScalarField.C
+ ${basicFaPatchFields}/calculated/calculatedFaPatchFields.C
+ ${basicFaPatchFields}/calculated/calculatedFaPatchVectorNFields.C
+ ${basicFaPatchFields}/coupled/coupledFaPatchFields.C
+ ${basicFaPatchFields}/coupled/coupledFaPatchVectorNFields.C
+ ${basicFaPatchFields}/zeroGradient/zeroGradientFaPatchFields.C
+ ${basicFaPatchFields}/zeroGradient/zeroGradientFaPatchVectorNFields.C
+ ${basicFaPatchFields}/fixedValue/fixedValueFaPatchFields.C
+ ${basicFaPatchFields}/fixedValue/fixedValueFaPatchVectorNFields.C
+ ${basicFaPatchFields}/fixedGradient/fixedGradientFaPatchFields.C
+ ${basicFaPatchFields}/fixedGradient/fixedGradientFaPatchVectorNFields.C
+ ${basicFaPatchFields}/mixed/mixedFaPatchFields.C
+ ${basicFaPatchFields}/transform/transformFaPatchFields.C
+ ${basicFaPatchFields}/transform/transformFaPatchScalarField.C
+ ${basicFaPatchFields}/transform/transformFaPatchVectorNFields.C
+)
+
+set(constraintFaPatchFields ${faPatchFields}/constraint)
+list(APPEND SOURCES
+ ${constraintFaPatchFields}/empty/emptyFaPatchFields.C
+ ${constraintFaPatchFields}/empty/emptyFaPatchVectorNFields.C
+ ${constraintFaPatchFields}/processor/processorFaPatchFields.C
+ ${constraintFaPatchFields}/processor/processorFaPatchScalarField.C
+ ${constraintFaPatchFields}/processor/processorFaPatchVectorNFields.C
+ ${constraintFaPatchFields}/wedge/wedgeFaPatchFields.C
+ ${constraintFaPatchFields}/wedge/wedgeFaPatchScalarField.C
+ ${constraintFaPatchFields}/wedge/wedgeFaPatchVectorNFields.C
+ ${constraintFaPatchFields}/cyclic/cyclicFaPatchFields.C
+ ${constraintFaPatchFields}/cyclic/cyclicFaPatchVectorNFields.C
+ ${constraintFaPatchFields}/symmetry/symmetryFaPatchFields.C
+)
+
+set(derivedFaPatchFields ${faPatchFields}/derived)
+list(APPEND SOURCES
+ ${derivedFaPatchFields}/fixedValueOutflow/fixedValueOutflowFaPatchFields.C
+ ${derivedFaPatchFields}/inletOutlet/inletOutletFaPatchFields.C
+ ${derivedFaPatchFields}/slip/slipFaPatchFields.C
+ ${derivedFaPatchFields}/edgeNormalFixedValue/edgeNormalFixedValueFaPatchVectorField.C
+ ${derivedFaPatchFields}/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFaPatchFields.C
+)
+
+set(faePatchFields fields/faePatchFields)
+list(APPEND SOURCES
+ ${faePatchFields}/faePatchField/faePatchFields.C
+)
+
+set(basicFaePatchFields ${faePatchFields}/basic)
+list(APPEND SOURCES
+ ${basicFaePatchFields}/calculated/calculatedFaePatchFields.C
+ ${basicFaePatchFields}/coupled/coupledFaePatchFields.C
+ ${basicFaePatchFields}/fixedValue/fixedValueFaePatchFields.C
+)
+
+set(constraintFaePatchFields ${faePatchFields}/constraint)
+list(APPEND SOURCES
+ ${constraintFaePatchFields}/empty/emptyFaePatchFields.C
+ ${constraintFaePatchFields}/processor/processorFaePatchFields.C
+ ${constraintFaePatchFields}/wedge/wedgeFaePatchFields.C
+ ${constraintFaePatchFields}/cyclic/cyclicFaePatchFields.C
+ ${constraintFaePatchFields}/symmetry/symmetryFaePatchFields.C
+)
+
+set(faePatchVectorNFields ${faePatchFields}/faePatchVectorNFields)
+list(APPEND SOURCES
+ ${faePatchVectorNFields}/faePatchVectorNFields.C
+ ${faePatchVectorNFields}/calculatedFaePatchVectorNFields.C
+ ${faePatchVectorNFields}/emptyFaePatchVectorNFields.C
+ ${faePatchVectorNFields}/wedgeFaePatchVectorNFields.C
+ ${faePatchVectorNFields}/coupledFaePatchVectorNFields.C
+ ${faePatchVectorNFields}/processorFaePatchVectorNFields.C
+
+ fields/areaFields/areaFields.C
+ fields/areaFields/areaVectorNFields.C
+ fields/edgeFields/edgeFields.C
+ fields/edgeFields/edgeVectorNFields.C
+ faMatrices/faMatrices.C
+ faMatrices/faScalarMatrix/faScalarMatrix.C
+)
+
+set(edgeInterpolation interpolation/edgeInterpolation)
+list(APPEND SOURCES
+ ${edgeInterpolation}/edgeInterpolation.C
+ ${edgeInterpolation}/edgeInterpolationScheme/edgeInterpolationSchemes.C
+)
+
+set(schemes ${edgeInterpolation}/schemes)
+list(APPEND SOURCES
+ ${schemes}/linear/linearEdgeInterpolationMake.C
+ ${schemes}/upwind/upwindEdgeInterpolationMake.C
+ ${schemes}/linearUpwind/linearUpwindEdgeInterpolationMake.C
+ ${schemes}/Gamma/GammaEdgeInterpolationMake.C
+ ${schemes}/blended/blendedEdgeInterpolationMake.C
+ finiteArea/fa/fa.C
+ finiteArea/faSchemes/faSchemes.C
+)
+
+set(ddtSchemes finiteArea/ddtSchemes)
+list(APPEND SOURCES
+ ${ddtSchemes}/faDdtScheme/faDdtSchemes.C
+ ${ddtSchemes}/steadyStateFaDdtScheme/steadyStateFaDdtSchemes.C
+ ${ddtSchemes}/EulerFaDdtScheme/EulerFaDdtSchemes.C
+ ${ddtSchemes}/backwardFaDdtScheme/backwardFaDdtSchemes.C
+ ${ddtSchemes}/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.C
+)
+
+set(divSchemes finiteArea/divSchemes)
+list(APPEND SOURCES
+ finiteArea/fam/vectorFamDiv.C
+ ${divSchemes}/faDivScheme/faDivSchemes.C
+ ${divSchemes}/gaussFaDivScheme/gaussFaDivSchemes.C
+)
+
+set(gradSchemes finiteArea/gradSchemes)
+list(APPEND SOURCES
+ ${gradSchemes}/faGradScheme/faGradSchemes.C
+ ${gradSchemes}/gaussFaGrad/gaussFaGrads.C
+ ${gradSchemes}/leastSquaresFaGrad/leastSquaresFaVectors.C
+ ${gradSchemes}/leastSquaresFaGrad/leastSquaresFaGrads.C
+)
+
+set(limitedGradSchemes ${gradSchemes}/limitedGradSchemes)
+list(APPEND SOURCES
+ ${limitedGradSchemes}/faceLimitedFaGrad/faceLimitedFaGrads.C
+ ${limitedGradSchemes}/edgeLimitedFaGrad/edgeLimitedFaGrads.C
+)
+
+set(lnGradSchemes finiteArea/lnGradSchemes)
+list(APPEND SOURCES
+ ${lnGradSchemes}/lnGradScheme/lnGradSchemes.C
+ ${lnGradSchemes}/correctedLnGrad/correctedLnGrads.C
+ ${lnGradSchemes}/limitedLnGrad/limitedLnGrads.C
+ ${lnGradSchemes}/fourthLnGrad/fourthLnGrads.C
+)
+
+set(laplacianSchemes finiteArea/laplacianSchemes)
+list(APPEND SOURCES
+ ${laplacianSchemes}/faLaplacianScheme/faLaplacianSchemes.C
+ ${laplacianSchemes}/gaussFaLaplacianScheme/gaussFaLaplacianSchemes.C
+)
+
+set(convectionSchemes finiteArea/convectionSchemes)
+list(APPEND SOURCES
+ ${convectionSchemes}/faConvectionScheme/faConvectionSchemes.C
+ ${convectionSchemes}/gaussFaConvectionScheme/gaussFaConvectionSchemes.C
+)
+
+set(general cfdTools/general)
+
+set(solutionFaControl ${general}/solutionFaControl)
+list(APPEND SOURCES
+ ${solutionFaControl}/solutionFaControl/solutionFaControl.C
+ ${solutionFaControl}/simpleFaControl/simpleFaControl.C
+ ${solutionFaControl}/pimpleFaControl/pimpleFaControl.C
+ ${solutionFaControl}/pisoFaControl/pisoFaControl.C
+)
+
+add_foam_library(finiteArea SHARED ${SOURCES})
+
+target_link_libraries(finiteArea PUBLIC foam)
diff --git a/src/finiteVolume/CMakeLists.txt b/src/finiteVolume/CMakeLists.txt
new file mode 100644
index 000000000..b2c545239
--- /dev/null
+++ b/src/finiteVolume/CMakeLists.txt
@@ -0,0 +1,546 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ fvMesh/fvMeshGeometry.C
+ fvMesh/fvMesh.C
+ fvMesh/singleCellFvMesh/singleCellFvMesh.C
+ fvMesh/fvMeshSubset/fvMeshSubset.C
+)
+
+set(fvBoundaryMesh fvMesh/fvBoundaryMesh)
+list(APPEND SOURCES
+ ${fvBoundaryMesh}/fvBoundaryMesh.C
+)
+
+set(fvPatches fvMesh/fvPatches)
+list(APPEND SOURCES
+ ${fvPatches}/fvPatch/fvPatch.C
+ ${fvPatches}/fvPatch/newFvPatch.C
+)
+
+set(basicFvPatches ${fvPatches}/basic)
+list(APPEND SOURCES
+ ${basicFvPatches}/coupled/coupledFvPatch.C
+ ${basicFvPatches}/generic/genericFvPatch.C
+)
+
+set(constraintFvPatches ${fvPatches}/constraint)
+list(APPEND SOURCES
+ ${constraintFvPatches}/empty/emptyFvPatch.C
+ ${constraintFvPatches}/symmetry/symmetryFvPatch.C
+ ${constraintFvPatches}/wedge/wedgeFvPatch.C
+ ${constraintFvPatches}/cyclic/cyclicFvPatch.C
+ ${constraintFvPatches}/processor/processorFvPatch.C
+ ${constraintFvPatches}/ggi/ggiFvPatch.C
+ ${constraintFvPatches}/cyclicGgi/cyclicGgiFvPatch.C
+ ${constraintFvPatches}/overlapGgi/overlapGgiFvPatch.C
+ ${constraintFvPatches}/mixingPlane/mixingPlaneFvPatch.C
+ ${constraintFvPatches}/regionCouple/regionCoupleFvPatch.C
+)
+
+set(derivedFvPatches ${fvPatches}/derived)
+list(APPEND SOURCES
+ ${derivedFvPatches}/wall/wallFvPatch.C
+ ${derivedFvPatches}/directMapped/directMappedFvPatch.C
+ ${derivedFvPatches}/cohesive/cohesiveFvPatch.C
+ ${derivedFvPatches}/directMapped/directMappedWallFvPatch.C
+)
+
+set(wallDist fvMesh/wallDist)
+list(APPEND SOURCES
+ ${wallDist}/wallPointYPlus/wallPointYPlus.C
+ ${wallDist}/nearWallDistNoSearch.C
+ ${wallDist}/nearWallDist.C
+ ${wallDist}/wallDist.C
+ ${wallDist}/reflectionVectors.C
+ ${wallDist}/wallDistReflection.C
+)
+
+
+set(fvMeshMapper fvMesh/fvMeshMapper)
+list(APPEND SOURCES
+ ${fvMeshMapper}/fvPatchMapper.C
+ ${fvMeshMapper}/fvSurfaceMapper.C
+)
+
+set(extendedStencil fvMesh/extendedStencil)
+
+set(cellToCell ${extendedStencil}/cellToCell)
+list(APPEND SOURCES
+ ${cellToCell}/fullStencils/cellToCellStencil.C
+ ${cellToCell}/fullStencils/CFCCellToCellStencil.C
+ ${cellToCell}/fullStencils/CPCCellToCellStencil.C
+ ${cellToCell}/fullStencils/CECCellToCellStencil.C
+)
+
+set(cellToFace ${extendedStencil}/cellToFace)
+list(APPEND SOURCES
+ ${cellToFace}/fullStencils/cellToFaceStencil.C
+ ${cellToFace}/fullStencils/CFCCellToFaceStencil.C
+ ${cellToFace}/fullStencils/CECCellToFaceStencil.C
+ ${cellToFace}/fullStencils/CPCCellToFaceStencil.C
+ ${cellToFace}/fullStencils/FECCellToFaceStencil.C
+ ${cellToFace}/extendedCellToFaceStencil.C
+ ${cellToFace}/extendedCentredCellToFaceStencil.C
+ ${cellToFace}/extendedUpwindCellToFaceStencil.C
+ ${cellToFace}/MeshObjects/centredCECCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/centredCFCCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/centredCPCCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/centredFECCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/upwindCECCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/upwindCFCCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/upwindCPCCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/upwindFECCellToFaceStencilObject.C
+ ${cellToFace}/MeshObjects/pureUpwindCFCCellToFaceStencilObject.C
+)
+
+set(faceToCell ${extendedStencil}/faceToCell)
+list(APPEND SOURCES
+ ${faceToCell}/fullStencils/faceToCellStencil.C
+ ${faceToCell}/fullStencils/CFCFaceToCellStencil.C
+ ${faceToCell}/extendedFaceToCellStencil.C
+ ${faceToCell}/extendedCentredFaceToCellStencil.C
+ ${faceToCell}/MeshObjects/centredCFCFaceToCellStencilObject.C
+)
+
+
+set(fvPatchFields fields/fvPatchFields)
+list(APPEND SOURCES
+ ${fvPatchFields}/fvPatchField/fvPatchFields.C
+ ${fvPatchFields}/fvPatchField/fvPatchVectorNFields.C
+)
+
+set(basicFvPatchFields ${fvPatchFields}/basic)
+list(APPEND SOURCES
+# ${basicFvPatchFields}/basicSymmetry/basicSymmetryFvPatchFields.C
+ ${basicFvPatchFields}/basicSymmetry/basicSymmetryFvPatchScalarField.C
+ ${basicFvPatchFields}/calculated/calculatedFvPatchFields.C
+ ${basicFvPatchFields}/calculated/calculatedFvPatchVectorNFields.C
+ ${basicFvPatchFields}/coupled/coupledFvPatchFields.C
+ ${basicFvPatchFields}/coupled/coupledFvPatchVectorNFields.C
+ ${basicFvPatchFields}/directionMixed/directionMixedFvPatchFields.C
+ ${basicFvPatchFields}/fixedGradient/fixedGradientFvPatchFields.C
+ ${basicFvPatchFields}/fixedGradient/fixedGradientFvPatchVectorNFields.C
+ ${basicFvPatchFields}/fixedValue/fixedValueFvPatchFields.C
+ ${basicFvPatchFields}/fixedValue/fixedValueFvPatchVectorNFields.C
+ ${basicFvPatchFields}/generic/genericFvPatchFields.C
+ ${basicFvPatchFields}/generic/genericFvPatchVectorNFields.C
+ ${basicFvPatchFields}/mixed/mixedFvPatchFields.C
+ ${basicFvPatchFields}/sliced/slicedFvPatchFields.C
+ ${basicFvPatchFields}/transform/transformFvPatchFields.C
+ ${basicFvPatchFields}/transform/transformFvPatchScalarField.C
+ ${basicFvPatchFields}/transform/transformFvPatchVectorNFields.C
+ ${basicFvPatchFields}/zeroGradient/zeroGradientFvPatchFields.C
+ ${basicFvPatchFields}/zeroGradient/zeroGradientFvPatchVectorNFields.C
+)
+
+set(constraintFvPatchFields ${fvPatchFields}/constraint)
+list(APPEND SOURCES
+ ${constraintFvPatchFields}/cyclic/cyclicFvPatchFields.C
+ ${constraintFvPatchFields}/cyclic/cyclicFvPatchVectorNFields.C
+ ${constraintFvPatchFields}/empty/emptyFvPatchFields.C
+ ${constraintFvPatchFields}/empty/emptyFvPatchVectorNFields.C
+ ${constraintFvPatchFields}/jumpCyclic/jumpCyclicFvPatchFields.C
+ ${constraintFvPatchFields}/processor/processorFvPatchFields.C
+ ${constraintFvPatchFields}/processor/processorFvPatchScalarField.C
+ ${constraintFvPatchFields}/processor/processorFvPatchVectorNFields.C
+ ${constraintFvPatchFields}/symmetry/symmetryFvPatchFields.C
+ ${constraintFvPatchFields}/wedge/wedgeFvPatchFields.C
+ ${constraintFvPatchFields}/wedge/wedgeFvPatchScalarField.C
+ ${constraintFvPatchFields}/wedge/wedgeFvPatchVectorNFields.C
+ ${constraintFvPatchFields}/ggi/ggiFvPatchScalarField.C
+ ${constraintFvPatchFields}/ggi/ggiFvPatchFields.C
+ ${constraintFvPatchFields}/ggi/ggiFvPatchVectorNFields.C
+ ${constraintFvPatchFields}/jumpGgi/jumpGgiFvPatchFields.C
+ ${constraintFvPatchFields}/cyclicGgi/cyclicGgiFvPatchFields.C
+ ${constraintFvPatchFields}/overlapGgi/overlapGgiFvPatchFields.C
+ ${constraintFvPatchFields}/jumpOverlapGgi/jumpOverlapGgiFvPatchFields.C
+ ${constraintFvPatchFields}/mixingPlane/mixingPlaneFvPatchFields.C
+ ${constraintFvPatchFields}/jumpMixingPlane/jumpMixingPlaneFvPatchFields.C
+ ${constraintFvPatchFields}/regionCoupling/regionCouplingFvPatchFields.C
+)
+
+set(derivedFvPatchFields ${fvPatchFields}/derived)
+list(APPEND SOURCES
+ ${derivedFvPatchFields}/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/advective/advectiveFvPatchFields.C
+ ${derivedFvPatchFields}/directMappedFixedValue/directMappedFixedValueFvPatchFields.C
+ ${derivedFvPatchFields}/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C
+ ${derivedFvPatchFields}/fan/fanFvPatchFields.C
+ ${derivedFvPatchFields}/buoyantPressure/buoyantPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/fixedInternalValueFvPatchField/fixedInternalValueFvPatchFields.C
+ ${derivedFvPatchFields}/fixedNormalSlip/fixedNormalSlipFvPatchFields.C
+ ${derivedFvPatchFields}/fixedPressureCompressibleDensity/fixedPressureCompressibleDensityFvPatchScalarField.C
+ ${derivedFvPatchFields}/fluxCorrectedVelocity/fluxCorrectedVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/flux/fluxFvPatchFields.C
+ ${derivedFvPatchFields}/freestream/freestreamFvPatchFields.C
+ ${derivedFvPatchFields}/freestreamPressure/freestreamPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/inletOutlet/inletOutletFvPatchFields.C
+ ${derivedFvPatchFields}/inletOutletTotalTemperature/inletOutletTotalTemperatureFvPatchScalarField.C
+ ${derivedFvPatchFields}/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/movingWallVelocity/movingWallVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/translatingWallVelocity/translatingWallVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/movingRotatingWallVelocity/movingRotatingWallVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/oscillatingFixedValue/oscillatingFixedValueFvPatchFields.C
+ ${derivedFvPatchFields}/fixedMeanValue/fixedMeanValueFvPatchFields.C
+ ${derivedFvPatchFields}/outletInlet/outletInletFvPatchFields.C
+ ${derivedFvPatchFields}/partialSlip/partialSlipFvPatchFields.C
+ ${derivedFvPatchFields}/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/pressureNormalInletOutletVelocity/pressureNormalInletOutletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/timeVaryingMappedPressureDirectedInletVelocity/timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/pressureInletOutletVelocity/pressureInletOutletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/pressureInletVelocity/pressureInletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/rotatingPressureInletOutletVelocity/rotatingPressureInletOutletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/rotatingTotalPressure/rotatingTotalPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/slip/slipFvPatchFields.C
+ ${derivedFvPatchFields}/supersonicFreestream/supersonicFreestreamFvPatchVectorField.C
+ ${derivedFvPatchFields}/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.C
+ ${derivedFvPatchFields}/syringePressure/syringePressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/parabolicVelocity/parabolicVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/timeVaryingMappedFixedValue/AverageIOFields.C
+ ${derivedFvPatchFields}/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchFields.C
+ ${derivedFvPatchFields}/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.C
+ ${derivedFvPatchFields}/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchFields.C
+ ${derivedFvPatchFields}/timeVaryingUniformInletOutlet/timeVaryingUniformInletOutletFvPatchFields.C
+ ${derivedFvPatchFields}/totalPressure/totalPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/totalTemperature/totalTemperatureFvPatchScalarField.C
+ ${derivedFvPatchFields}/turbulentInlet/turbulentInletFvPatchFields.C
+ ${derivedFvPatchFields}/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.C
+ ${derivedFvPatchFields}/uniformFixedValue/uniformFixedValueFvPatchFields.C
+ ${derivedFvPatchFields}/waveTransmissive/waveTransmissiveFvPatchFields.C
+ ${derivedFvPatchFields}/uniformDensityHydrostaticPressure/uniformDensityHydrostaticPressureFvPatchScalarField.C
+ ${derivedFvPatchFields}/pulseFixedValue/pulseFixedValueFvPatchFields.C
+ ${derivedFvPatchFields}/waveTransmissiveInlet/waveTransmissiveInletFvPatchFields.C
+ ${derivedFvPatchFields}/noSlipWall/noSlipWallFvPatchVectorField.C
+ ${derivedFvPatchFields}/noSlipMovingWall/noSlipMovingWallFvPatchVectorField.C
+ ${derivedFvPatchFields}/blockSymmPlane/blockSymmPlaneFvPatchVectorField.C
+)
+
+set(fvsPatchFields fields/fvsPatchFields)
+list(APPEND SOURCES
+ ${fvsPatchFields}/fvsPatchField/fvsPatchFields.C
+)
+
+set(basicFvsPatchFields ${fvsPatchFields}/basic)
+list(APPEND SOURCES
+ ${basicFvsPatchFields}/calculated/calculatedFvsPatchFields.C
+ ${basicFvsPatchFields}/coupled/coupledFvsPatchFields.C
+ ${basicFvsPatchFields}/fixedValue/fixedValueFvsPatchFields.C
+ ${basicFvsPatchFields}/sliced/slicedFvsPatchFields.C
+)
+
+set(constraintFvsPatchFields ${fvsPatchFields}/constraint)
+list(APPEND SOURCES
+ ${constraintFvsPatchFields}/cyclic/cyclicFvsPatchFields.C
+ ${constraintFvsPatchFields}/empty/emptyFvsPatchFields.C
+ ${constraintFvsPatchFields}/processor/processorFvsPatchFields.C
+ ${constraintFvsPatchFields}/symmetry/symmetryFvsPatchFields.C
+ ${constraintFvsPatchFields}/wedge/wedgeFvsPatchFields.C
+ ${constraintFvsPatchFields}/ggi/ggiFvsPatchFields.C
+ ${constraintFvsPatchFields}/cyclicGgi/cyclicGgiFvsPatchFields.C
+ ${constraintFvsPatchFields}/overlapGgi/overlapGgiFvsPatchFields.C
+ ${constraintFvsPatchFields}/mixingPlane/mixingPlaneFvsPatchFields.C
+ ${constraintFvsPatchFields}/regionCoupling/regionCouplingFvsPatchFields.C
+)
+
+set(fvsPatchVectorNFields ${fvsPatchFields}/fvsPatchVectorNFields)
+list(APPEND SOURCES
+ ${fvsPatchVectorNFields}/fvsPatchVectorNFields.C
+ ${fvsPatchVectorNFields}/calculatedFvsPatchVectorNFields.C
+ ${fvsPatchVectorNFields}/emptyFvsPatchVectorNFields.C
+ ${fvsPatchVectorNFields}/wedgeFvsPatchVectorNFields.C
+ ${fvsPatchVectorNFields}/coupledFvsPatchVectorNFields.C
+ ${fvsPatchVectorNFields}/processorFvsPatchVectorNFields.C
+ fields/volFields/volFields.C
+ fields/volFields/volVectorNFields.C
+ fields/surfaceFields/surfaceFields.C
+ fields/surfaceFields/surfaceVectorNFields.C
+ fvMatrices/fvMatrices.C
+ fvMatrices/fvScalarMatrix/fvScalarMatrix.C
+ fvMatrices/solvers/MULES/MULES.C
+ fvMatrices/solvers/GAMGSymSolver/GAMGAgglomerations/faceAreaPairGAMGAgglomeration/faceAreaPairGAMGAgglomeration.C
+)
+
+set(interpolation interpolation/interpolation)
+list(APPEND SOURCES
+ ${interpolation}/interpolation/interpolations.C
+ ${interpolation}/interpolationCell/makeInterpolationCell.C
+ ${interpolation}/interpolationCellPoint/cellPointWeight/cellPointWeight.C
+ ${interpolation}/interpolationCellPoint/makeInterpolationCellPoint.C
+ ${interpolation}/interpolationCellPointFace/makeInterpolationCellPointFace.C
+ ${interpolation}/interpolationCellPointWallModified/cellPointWeightWallModified/cellPointWeightWallModified.C
+ ${interpolation}/interpolationCellPointWallModified/makeInterpolationCellPointWallModified.C
+)
+
+set(volPointInterpolation interpolation/volPointInterpolation)
+list(APPEND SOURCES
+ ${volPointInterpolation}/pointPatchInterpolation/pointPatchInterpolation.C
+ ${volPointInterpolation}/volPointInterpolation.C
+ ${volPointInterpolation}/leastSquaresVolPointInterpolation/leastSquaresVolPointInterpolation.C
+)
+
+set(pointVolInterpolation interpolation/pointVolInterpolation)
+list(APPEND SOURCES
+ ${pointVolInterpolation}/pointVolInterpolation.C
+)
+
+set(surfaceInterpolation interpolation/surfaceInterpolation)
+list(APPEND SOURCES
+ ${surfaceInterpolation}/surfaceInterpolation/surfaceInterpolation.C
+ ${surfaceInterpolation}/surfaceInterpolationScheme/surfaceInterpolationSchemes.C
+ ${surfaceInterpolation}/VectorNSurfaceInterpolationSchemes/VectorNSurfaceInterpolationSchemes.C
+)
+
+set(schemes ${surfaceInterpolation}/schemes)
+list(APPEND SOURCES
+ ${schemes}/linear/linear.C
+ ${schemes}/midPoint/midPoint.C
+ ${schemes}/downwind/downwind.C
+ ${schemes}/weighted/weighted.C
+ ${schemes}/cubic/cubic.C
+ ${schemes}/skewCorrected/skewCorrectionVectors.C
+ ${schemes}/skewCorrected/skewCorrected.C
+ ${schemes}/leastSquaresSkewCorrected/leastSquaresSkewCorrected.C
+ ${schemes}/outletStabilised/outletStabilised.C
+ ${schemes}/reverseLinear/reverseLinear.C
+ ${schemes}/clippedLinear/clippedLinear.C
+ ${schemes}/harmonic/magLongDelta.C
+ ${schemes}/harmonic/harmonic.C
+ ${schemes}/fixedBlended/fixedBlended.C
+ ${schemes}/localBlended/localBlended.C
+ ${schemes}/localMax/localMax.C
+ ${schemes}/localMin/localMin.C
+ ${schemes}/linearFit/linearFit.C
+ ${schemes}/biLinearFit/biLinearFit.C
+ ${schemes}/quadraticLinearFit/quadraticLinearFit.C
+ ${schemes}/quadraticFit/quadraticFit.C
+ ${schemes}/quadraticLinearUpwindFit/quadraticLinearUpwindFit.C
+ ${schemes}/quadraticUpwindFit/quadraticUpwindFit.C
+ ${schemes}/cubicUpwindFit/cubicUpwindFit.C
+)
+#
+# $(schemes)/quadraticLinearPureUpwindFit/quadraticLinearPureUpwindFit.C
+list(APPEND SOURCES
+ ${schemes}/linearPureUpwindFit/linearPureUpwindFit.C
+)
+
+set(limitedSchemes ${surfaceInterpolation}/limitedSchemes)
+list(APPEND SOURCES
+ ${limitedSchemes}/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationSchemes.C
+ ${limitedSchemes}/upwind/upwind.C
+ ${limitedSchemes}/blended/blended.C
+ ${limitedSchemes}/linearUpwind/linearUpwind.C
+ ${limitedSchemes}/linearUpwind/linearUpwindV.C
+ ${limitedSchemes}/reconCentral/reconCentral.C
+ ${limitedSchemes}/Gamma/Gamma.C
+ ${limitedSchemes}/SFCD/SFCD.C
+ ${limitedSchemes}/Minmod/Minmod.C
+ ${limitedSchemes}/vanLeer/vanLeer.C
+ ${limitedSchemes}/vanAlbada/vanAlbada.C
+ ${limitedSchemes}/OSPRE/OSPRE.C
+ ${limitedSchemes}/limitedLinear/limitedLinear.C
+ ${limitedSchemes}/limitedCubic/limitedCubic.C
+ ${limitedSchemes}/SuperBee/SuperBee.C
+ ${limitedSchemes}/QUICK/QUICK.C
+ ${limitedSchemes}/MUSCL/MUSCL.C
+ ${limitedSchemes}/UMIST/UMIST.C
+ ${limitedSchemes}/Phi/Phi.C
+ ${limitedSchemes}/filteredLinear/filteredLinear.C
+ ${limitedSchemes}/filteredLinear2/filteredLinear2.C
+ ${limitedSchemes}/filteredLinear3/filteredLinear3.C
+ ${limitedSchemes}/limitWith/limitWith.C
+)
+
+set(multivariateSchemes ${surfaceInterpolation}/multivariateSchemes)
+list(APPEND SOURCES
+ ${multivariateSchemes}/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationSchemes.C
+ ${multivariateSchemes}/multivariateSelectionScheme/multivariateSelectionSchemes.C
+ ${multivariateSchemes}/upwind/multivariateUpwind.C
+ ${multivariateSchemes}/Gamma/multivariateGamma.C
+ ${multivariateSchemes}/vanLeer/multivariateVanLeer.C
+ ${multivariateSchemes}/Minmod/multivariateMinmod.C
+ ${multivariateSchemes}/SuperBee/multivariateSuperBee.C
+ ${multivariateSchemes}/MUSCL/multivariateMUSCL.C
+ ${multivariateSchemes}/limitedLinear/multivariateLimitedLinear.C
+ ${multivariateSchemes}/limitedCubic/multivariateLimitedCubic.C
+ finiteVolume/fv/fv.C
+ finiteVolume/fvSchemes/fvSchemes.C
+)
+
+set(ddtSchemes finiteVolume/ddtSchemes)
+list(APPEND SOURCES
+ ${ddtSchemes}/ddtScheme/ddtSchemes.C
+ ${ddtSchemes}/steadyStateDdtScheme/steadyStateDdtSchemes.C
+ ${ddtSchemes}/EulerDdtScheme/EulerDdtSchemes.C
+ ${ddtSchemes}/CoEulerDdtScheme/CoEulerDdtSchemes.C
+ ${ddtSchemes}/SLTSDdtScheme/SLTSDdtSchemes.C
+ ${ddtSchemes}/backwardDdtScheme/backwardDdtSchemes.C
+ ${ddtSchemes}/boundedBackwardDdtScheme/boundedBackwardDdtScheme.C
+ ${ddtSchemes}/boundedBackwardDdtScheme/boundedBackwardDdtSchemes.C
+ ${ddtSchemes}/CrankNicolsonDdtScheme/CrankNicolsonDdtSchemes.C
+ ${ddtSchemes}/steadyInertialDdtScheme/steadyInertialDdtSchemes.C
+)
+
+set(d2dt2Schemes finiteVolume/d2dt2Schemes)
+list(APPEND SOURCES
+ ${d2dt2Schemes}/d2dt2Scheme/d2dt2Schemes.C
+ ${d2dt2Schemes}/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C
+ ${d2dt2Schemes}/EulerD2dt2Scheme/EulerD2dt2Schemes.C
+ ${d2dt2Schemes}/backwardD2dt2Scheme/backwardD2dt2Schemes.C
+)
+
+set(divSchemes finiteVolume/divSchemes)
+list(APPEND SOURCES
+ ${divSchemes}/divScheme/divSchemes.C
+ ${divSchemes}/gaussDivScheme/gaussDivSchemes.C
+ ${divSchemes}/gaussDivScheme/vectorGaussDivScheme.C
+)
+
+set(gradSchemes finiteVolume/gradSchemes)
+list(APPEND SOURCES
+ ${gradSchemes}/gradScheme/gradSchemes.C
+ ${gradSchemes}/gaussGrad/scalarGaussGrad.C
+ ${gradSchemes}/gaussGrad/gaussGrads.C
+ ${gradSchemes}/beGaussGrad/beGaussGrads.C
+ ${gradSchemes}/leastSquaresGrad/leastSquaresVectors.C
+ ${gradSchemes}/leastSquaresGrad/scalarLeastSquaresGrad.C
+ ${gradSchemes}/leastSquaresGrad/leastSquaresGrads.C
+ ${gradSchemes}/extendedLeastSquaresGrad/extendedLeastSquaresVectors.C
+ ${gradSchemes}/extendedLeastSquaresGrad/extendedLeastSquaresGrads.C
+ ${gradSchemes}/fourthGrad/fourthGrads.C
+)
+
+set(limitedGradSchemes ${gradSchemes}/limitedGradSchemes)
+list(APPEND SOURCES
+ ${limitedGradSchemes}/faceLimitedGrad/faceLimitedGrads.C
+ ${limitedGradSchemes}/cellLimitedGrad/cellLimitedGrads.C
+ ${limitedGradSchemes}/faceMDLimitedGrad/faceMDLimitedGrads.C
+ ${limitedGradSchemes}/cellMDLimitedGrad/cellMDLimitedGrads.C
+)
+
+set(snGradSchemes finiteVolume/snGradSchemes)
+list(APPEND SOURCES
+ ${snGradSchemes}/snGradScheme/snGradSchemes.C
+ ${snGradSchemes}/correctedSnGrad/correctedSnGrads.C
+ ${snGradSchemes}/limitedSnGrad/limitedSnGrads.C
+ ${snGradSchemes}/uncorrectedSnGrad/uncorrectedSnGrads.C
+ ${snGradSchemes}/orthogonalSnGrad/orthogonalSnGrads.C
+ ${snGradSchemes}/skewCorrectedSnGrad/skewCorrectedSnGrads.C
+ ${snGradSchemes}/fourthSnGrad/fourthSnGrads.C
+)
+#
+# $(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGradData.C
+# $(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGrads.C
+
+set(convectionSchemes finiteVolume/convectionSchemes)
+list(APPEND SOURCES
+ ${convectionSchemes}/convectionScheme/convectionSchemes.C
+ ${convectionSchemes}/gaussConvectionScheme/gaussConvectionSchemes.C
+ ${convectionSchemes}/noConvectionScheme/noConvectionSchemes.C
+ ${convectionSchemes}/explicitConvectionScheme/explicitConvectionSchemes.C
+ ${convectionSchemes}/multivariateGaussConvectionScheme/multivariateGaussConvectionSchemes.C
+)
+
+set(adjConvectionSchemes finiteVolume/adjConvectionSchemes)
+list(APPEND SOURCES
+ ${adjConvectionSchemes}/adjConvectionScheme/adjConvectionSchemes.C
+ ${adjConvectionSchemes}/noAdjConvectionScheme/noAdjConvectionSchemes.C
+ ${adjConvectionSchemes}/explicitAdjConvectionScheme/explicitAdjConvectionSchemes.C
+)
+
+set(laplacianSchemes finiteVolume/laplacianSchemes)
+list(APPEND SOURCES
+ ${laplacianSchemes}/laplacianScheme/laplacianSchemes.C
+ ${laplacianSchemes}/gaussLaplacianScheme/gaussLaplacianSchemes.C
+ ${laplacianSchemes}/noLaplacianScheme/noLaplacianSchemes.C
+ finiteVolume/fvc/fvcMeshPhi.C
+)
+
+set(general cfdTools/general)
+list(APPEND SOURCES
+ ${general}/findRefCell/findRefCell.C
+ ${general}/adjustPhi/adjustPhi.C
+ ${general}/bound/bound.C
+)
+
+set(solutionControl ${general}/solutionControl)
+list(APPEND SOURCES
+ ${solutionControl}/solutionControl/solutionControl.C
+ ${solutionControl}/simpleControl/simpleControl.C
+ ${solutionControl}/pimpleControl/pimpleControl.C
+ ${solutionControl}/pisoControl/pisoControl.C
+)
+
+set(porousMedia ${general}/porousMedia)
+list(APPEND SOURCES
+ ${porousMedia}/porousZone.C
+ ${porousMedia}/porousZones.C
+)
+
+set(MRF ${general}/MRF)
+list(APPEND SOURCES
+ ${MRF}/MRFZone.C
+ ${MRF}/MRFZones.C
+)
+
+set(SRF ${general}/SRF)
+list(APPEND SOURCES
+ ${SRF}/SRFModel/SRFModel/SRFModel.C
+ ${SRF}/SRFModel/SRFModel/newSRFModel.C
+ ${SRF}/SRFModel/rpm/rpm.C
+ ${SRF}/derivedFvPatchFields/SRFVelocityFvPatchVectorField/SRFVelocityFvPatchVectorField.C
+ ${SRF}/derivedFvPatchFields/SRFSurfaceNormalVelocityFvPatchVectorField/SRFSurfaceNormalVelocityFvPatchVectorField.C
+ ${SRF}/derivedFvPatchFields/SRFTotalTemperature/SRFTotalTemperatureFvPatchScalarField.C
+ ${SRF}/derivedFvPatchFields/SRFFlowRateInletVelocity/SRFFlowRateInletVelocityFvPatchVectorField.C
+ ${SRF}/derivedFvPatchFields/SRFTotalPressure/SRFTotalPressureFvPatchScalarField.C
+)
+
+set(fieldSources ${general}/fieldSources)
+list(APPEND SOURCES
+ ${fieldSources}/pressureGradientExplicitSource/pressureGradientExplicitSource.C
+ ${fieldSources}/timeActivatedExplicitSource/timeActivatedExplicitSource.C
+)
+
+add_foam_library(finiteVolume SHARED ${SOURCES})
+
+target_link_libraries(finiteVolume PUBLIC meshTools)
+
+target_include_directories(finiteVolume PUBLIC
+$
+)
diff --git a/src/foam/CMakeLists.txt b/src/foam/CMakeLists.txt
new file mode 100644
index 000000000..992229c63
--- /dev/null
+++ b/src/foam/CMakeLists.txt
@@ -0,0 +1,973 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ global/global.C
+ global/dimensionedConstants/dimensionedConstants.C
+ global/argList/argList.C
+ global/clock/clock.C
+ global/controlSwitches/debugSwitch.C
+ global/controlSwitches/infoSwitch.C
+ global/controlSwitches/optimisationSwitch.C
+ global/controlSwitches/tolerancesSwitch.C
+ global/controlSwitches/constantsSwitch.C
+ global/profiling/profilingInfo.C
+ global/profiling/profilingPool.C
+ global/profiling/profilingStack.C
+ global/profiling/profilingTrigger.C
+)
+
+set(bools primitives/bools)
+list(APPEND SOURCES
+ ${bools}/bool/bool.C
+ ${bools}/bool/boolIO.C
+ ${bools}/Switch/Switch.C
+ ${bools}/Switch/SwitchIO.C
+ primitives/char/charIO.C
+)
+
+set(ints primitives/ints)
+list(APPEND SOURCES
+ ${ints}/uint32/uint32.C
+ ${ints}/uint32/uint32IO.C
+ ${ints}/uint64/uint64.C
+ ${ints}/uint64/uint64IO.C
+ ${ints}/uint/uintIO.C
+ ${ints}/int32/int32.C
+ ${ints}/int32/int32IO.C
+ ${ints}/int64/int64.C
+ ${ints}/int64/int64IO.C
+ ${ints}/int/intIO.C
+ ${ints}/label/label.C
+ ${ints}/uLabel/uLabel.C
+ primitives/Scalar/doubleScalar/doubleScalar.C
+ primitives/Scalar/longDoubleScalar/longDoubleScalar.C
+ primitives/Scalar/floatScalar/floatScalar.C
+ primitives/Scalar/scalar/scalar.C
+ primitives/DiagTensor/diagTensor/diagTensor.C
+ primitives/DiagTensor/labelDiagTensor/labelDiagTensor.C
+ primitives/SphericalTensor/sphericalTensor/sphericalTensor.C
+ primitives/SphericalTensor/labelSphericalTensor/labelSphericalTensor.C
+ primitives/SymmTensor/labelSymmTensor/labelSymmTensor.C
+ primitives/SymmTensor/symmTensor/symmTensor.C
+ primitives/SymmTensor4thOrder/labelSymmTensor4thOrder/labelSymmTensor4thOrder.C
+ primitives/SymmTensor4thOrder/symmTensor4thOrder/symmTensor4thOrder.C
+ primitives/Tensor/labelTensor/labelTensor.C
+ primitives/Tensor/tensor/tensor.C
+ primitives/Vector/complexVector/complexVector.C
+ primitives/Vector/labelVector/labelVector.C
+ primitives/Vector/vector/vector.C
+ primitives/Tensor2D/tensor2D/tensor2D.C
+ primitives/SphericalTensor2D/sphericalTensor2D/sphericalTensor2D.C
+ primitives/SymmTensor2D/symmTensor2D/symmTensor2D.C
+ primitives/Vector2D/vector2D/vector2D.C
+ primitives/complex/complex.C
+ primitives/quaternion/quaternion.C
+ primitives/septernion/septernion.C
+# functions, data entries
+ primitives/functions/Function1/makeDataEntries.C
+ primitives/functions/Polynomial/polynomialFunction.C
+)
+
+set(strings primitives/strings)
+list(APPEND SOURCES
+ ${strings}/string/foamString.C
+ ${strings}/string/foamStringIO.C
+ ${strings}/word/word.C
+ ${strings}/word/wordIO.C
+ ${strings}/fileName/fileName.C
+ ${strings}/fileName/fileNameIO.C
+ ${strings}/keyType/keyType.C
+ ${strings}/wordRe/wordRe.C
+ ${strings}/stringOps/stringOps.C
+ primitives/hashes/Hasher/Hasher.C
+)
+
+set(sha1 primitives/hashes/SHA1)
+list(APPEND SOURCES
+ ${sha1}/SHA1.C
+ ${sha1}/SHA1Digest.C
+ coordinateSystems/coordinateSystem.C
+ coordinateSystems/coordinateSystems.C
+ coordinateSystems/parabolicCylindricalCS.C
+ coordinateSystems/ellipticCylindricalCS.C
+ coordinateSystems/toroidalCS.C
+ coordinateSystems/newCoordinateSystem.C
+ coordinateSystems/cylindricalCS.C
+ coordinateSystems/sphericalCS.C
+ coordinateSystems/coordinateRotation/coordinateRotation.C
+ coordinateSystems/coordinateRotation/EulerCoordinateRotation.C
+ coordinateSystems/coordinateRotation/STARCDCoordinateRotation.C
+ coordinateSystems/coordinateRotation/axisCoordinateRotation.C
+ primitives/random/Random.C
+ containers/HashTables/HashTable/HashTableCore.C
+ containers/HashTables/StaticHashTable/StaticHashTableCore.C
+# containers/Lists/SortableList/ParSortableListName.C
+# containers/Lists/PackedList/PackedListName.C
+ containers/Lists/ListOps/ListOps.C
+ containers/LinkedLists/linkTypes/SLListBase/SLListBase.C
+ containers/LinkedLists/linkTypes/DLListBase/DLListBase.C
+)
+
+set(primitiveLists primitives/Lists)
+list(APPEND SOURCES
+ ${primitiveLists}/boolList.C
+ ${primitiveLists}/diagTensorList.C
+ ${primitiveLists}/labelIOList.C
+ ${primitiveLists}/scalarList.C
+ ${primitiveLists}/scalarIOList.C
+ ${primitiveLists}/vectorList.C
+ ${primitiveLists}/sphericalTensorList.C
+ ${primitiveLists}/symmTensorList.C
+ ${primitiveLists}/symmTensor4thOrderList.C
+ ${primitiveLists}/tensorList.C
+ ${primitiveLists}/VectorNLists.C
+ ${primitiveLists}/wordIOList.C
+ ${primitiveLists}/hashedWordList.C
+ ${primitiveLists}/PackedBoolList.C
+)
+
+set(Streams db/IOstreams)
+list(APPEND SOURCES
+ ${Streams}/token/tokenIO.C
+)
+
+set(IOstreams ${Streams}/IOstreams)
+list(APPEND SOURCES
+ ${IOstreams}/IOstream.C
+ ${IOstreams}/Istream.C
+ ${IOstreams}/Ostream.C
+)
+
+set(Sstreams ${Streams}/Sstreams)
+list(APPEND SOURCES
+ ${Sstreams}/ISstream.C
+ ${Sstreams}/OSstream.C
+ ${Sstreams}/SstreamsPrint.C
+ ${Sstreams}/readHexLabel.C
+ ${Sstreams}/prefixOSstream.C
+)
+
+set(gzstream ${Streams}/gzstream)
+list(APPEND SOURCES
+ ${gzstream}/gzstream.C
+)
+
+set(Fstreams ${Streams}/Fstreams)
+list(APPEND SOURCES
+ ${Fstreams}/IFstream.C
+ ${Fstreams}/OFstream.C
+)
+
+set(Tstreams ${Streams}/Tstreams)
+list(APPEND SOURCES
+ ${Tstreams}/ITstream.C
+)
+
+set(StringStreams ${Streams}/StringStreams)
+list(APPEND SOURCES
+ ${StringStreams}/StringStreamsPrint.C
+)
+
+set(Pstreams ${Streams}/Pstreams)
+list(APPEND SOURCES
+ ${Pstreams}/Pstream.C
+ ${Pstreams}/PstreamReduceOps.C
+ ${Pstreams}/PstreamCommsStruct.C
+ ${Pstreams}/PstreamGlobals.C
+ ${Pstreams}/IPstream.C
+ ${Pstreams}/OPstream.C
+ ${Pstreams}/IPread.C
+ ${Pstreams}/OPwrite.C
+)
+
+set(dictionary db/dictionary)
+list(APPEND SOURCES
+ ${dictionary}/dictionary.C
+ ${dictionary}/dictionaryIO.C
+)
+
+set(entry ${dictionary}/entry)
+list(APPEND SOURCES
+ ${entry}/entry.C
+ ${entry}/entryIO.C
+)
+
+set(primitiveEntry ${dictionary}/primitiveEntry)
+list(APPEND SOURCES
+ ${primitiveEntry}/primitiveEntry.C
+ ${primitiveEntry}/primitiveEntryIO.C
+)
+
+set(dictionaryEntry ${dictionary}/dictionaryEntry)
+list(APPEND SOURCES
+ ${dictionaryEntry}/dictionaryEntry.C
+ ${dictionaryEntry}/dictionaryEntryIO.C
+)
+
+set(functionEntries ${dictionary}/functionEntries)
+list(APPEND SOURCES
+ ${functionEntries}/calcEntry/calcEntry.C
+ ${functionEntries}/codeStream/codeStream.C
+ ${functionEntries}/functionEntry/functionEntry.C
+ ${functionEntries}/includeEntry/includeEntry.C
+ ${functionEntries}/includeEtcEntry/includeEtcEntry.C
+ ${functionEntries}/includeIfPresentEntry/includeIfPresentEntry.C
+ ${functionEntries}/inputModeEntry/inputModeEntry.C
+ ${functionEntries}/removeEntry/removeEntry.C
+)
+
+set(IOdictionary db/IOobjects/IOdictionary)
+list(APPEND SOURCES
+ ${IOdictionary}/IOdictionary.C
+ ${IOdictionary}/IOdictionaryIO.C
+ db/IOobjects/IOMap/IOMapName.C
+)
+
+set(IOobject db/IOobject)
+list(APPEND SOURCES
+ ${IOobject}/IOobject.C
+ ${IOobject}/IOobjectIO.C
+ ${IOobject}/IOobjectReadHeader.C
+ ${IOobject}/IOobjectWriteHeader.C
+)
+
+set(regIOobject db/regIOobject)
+list(APPEND SOURCES
+ ${regIOobject}/regIOobject.C
+ ${regIOobject}/regIOobjectRead.C
+ ${regIOobject}/regIOobjectWrite.C
+ db/IOobjectList/IOobjectList.C
+ db/objectRegistry/objectRegistry.C
+ db/postfixedSubRegistry/postfixedSubRegistry.C
+ db/CallbackRegistry/CallbackRegistryName.C
+ db/functionObjects/functionObject/functionObject.C
+ db/functionObjects/functionObjectList/functionObjectList.C
+ db/functionObjects/functionObjectFile/functionObjectFile.C
+ db/functionObjects/outputFilterOutputControl/outputFilterOutputControl.C
+)
+
+set(dll db/dynamicLibrary)
+list(APPEND SOURCES
+ ${dll}/dlLibraryTable/dlLibraryTable.C
+ ${dll}/dynamicCode/dynamicCode.C
+ ${dll}/dynamicCode/dynamicCodeContext.C
+ ${dll}/codedBase/codedBase.C
+)
+
+set(Time db/Time)
+list(APPEND SOURCES
+ ${Time}/TimePaths.C
+ ${Time}/TimeState.C
+ ${Time}/foamTime.C
+ ${Time}/foamTimeIO.C
+ ${Time}/findTimes.C
+ ${Time}/subCycleTime.C
+ ${Time}/findInstance.C
+ ${Time}/timeSelector.C
+ ${Time}/instant/instant.C
+ db/scalarRange/scalarRange.C
+ db/scalarRange/scalarRanges.C
+ dimensionSet/dimensionSet.C
+ dimensionSet/dimensionSetIO.C
+ dimensionSet/dimensionSets.C
+ dimensionedTypes/dimensionedScalar/dimensionedScalar.C
+ dimensionedTypes/dimensionedSphericalTensor/dimensionedSphericalTensor.C
+ dimensionedTypes/dimensionedDiagTensor/dimensionedDiagTensor.C
+ dimensionedTypes/dimensionedSymmTensor/dimensionedSymmTensor.C
+ dimensionedTypes/dimensionedSymmTensor4thOrder/dimensionedSymmTensor4thOrder.C
+ dimensionedTypes/dimensionedTensor/dimensionedTensor.C
+ dimensionedTypes/dimensionedVectorTensorN/dimensionedVectorTensorN.C
+ matrices/solution/solution.C
+ matrices/constraint/scalarConstraint.C
+)
+
+set(scalarMatrices matrices/scalarMatrices)
+list(APPEND SOURCES
+ ${scalarMatrices}/scalarMatrices.C
+ ${scalarMatrices}/scalarSquareMatrix.C
+ ${scalarMatrices}/SVD/SVD.C
+)
+
+set(LUscalarMatrix matrices/LUscalarMatrix)
+list(APPEND SOURCES
+ ${LUscalarMatrix}/LUscalarMatrix.C
+ ${LUscalarMatrix}/procLduMatrix.C
+ ${LUscalarMatrix}/procLduInterface.C
+)
+
+set(crMatrix matrices/crMatrix)
+list(APPEND SOURCES
+ ${crMatrix}/crAddressing.C
+ ${crMatrix}/crMatrix.C
+)
+
+set(lduMatrix matrices/lduMatrix)
+list(APPEND SOURCES
+ ${lduMatrix}/lduMatrix/lduMatrix.C
+ ${lduMatrix}/lduMatrix/lduMatrixOperations.C
+ ${lduMatrix}/lduMatrix/lduMatrixATmul.C
+ ${lduMatrix}/lduMatrix/lduMatrixUpdateMatrixInterfaces.C
+ ${lduMatrix}/lduMatrix/lduMatrixSolver.C
+ ${lduMatrix}/lduMatrix/lduMatrixSmoother.C
+ ${lduMatrix}/lduMatrix/lduMatrixPreconditioner.C
+ ${lduMatrix}/lduMatrix/extendedLduMatrix/extendedLduMatrix.C
+ ${lduMatrix}/solvers/diagonalSolver/diagonalSolver.C
+ ${lduMatrix}/solvers/smoothSolver/smoothSolver.C
+ ${lduMatrix}/solvers/PCG/PCG.C
+ ${lduMatrix}/solvers/PBiCG/PBiCG.C
+ ${lduMatrix}/solvers/ICCG/ICCG.C
+ ${lduMatrix}/solvers/BICCG/BICCG.C
+ ${lduMatrix}/smoothers/GaussSeidel/GaussSeidelSmoother.C
+ ${lduMatrix}/smoothers/DIC/DICSmoother.C
+ ${lduMatrix}/smoothers/DICGaussSeidel/DICGaussSeidelSmoother.C
+ ${lduMatrix}/smoothers/DILU/DILUSmoother.C
+ ${lduMatrix}/smoothers/DILUGaussSeidel/DILUGaussSeidelSmoother.C
+ ${lduMatrix}/preconditioners/noPreconditioner/noPreconditioner.C
+ ${lduMatrix}/preconditioners/diagonalPreconditioner/diagonalPreconditioner.C
+ ${lduMatrix}/preconditioners/DICPreconditioner/DICPreconditioner.C
+ ${lduMatrix}/preconditioners/FDICPreconditioner/FDICPreconditioner.C
+ ${lduMatrix}/preconditioners/DILUPreconditioner/DILUPreconditioner.C
+ ${lduMatrix}/preconditioners/GAMGPreconditioner/GAMGPreconditioner.C
+)
+
+set(lduAddressing ${lduMatrix}/lduAddressing)
+list(APPEND SOURCES
+ ${lduAddressing}/lduAddressing.C
+ ${lduAddressing}/extendedLduAddressing/extendedLduAddressing.C
+)
+
+set(lduInterfaces ${lduAddressing}/lduInterfaces)
+list(APPEND SOURCES
+ ${lduInterfaces}/lduInterface/lduInterface.C
+ ${lduInterfaces}/processorLduInterface/processorLduInterface.C
+ ${lduInterfaces}/cyclicLduInterface/cyclicLduInterface.C
+ ${lduInterfaces}/ggiLduInterface/ggiLduInterface.C
+ ${lduInterfaces}/overlapGGILduInterface/overlapGGILduInterface.C
+ ${lduInterfaces}/mixingPlaneLduInterface/mixingPlaneLduInterface.C
+ ${lduInterfaces}/regionCoupleLduInterface/regionCoupleLduInterface.C
+)
+
+set(lduInterfaceFields ${lduAddressing}/lduInterfaceFields)
+list(APPEND SOURCES
+ ${lduInterfaceFields}/lduInterfaceField/lduInterfaceField.C
+ ${lduInterfaceFields}/processorLduInterfaceField/processorLduInterfaceField.C
+ ${lduInterfaceFields}/cyclicLduInterfaceField/cyclicLduInterfaceField.C
+ ${lduInterfaceFields}/ggiLduInterfaceField/ggiLduInterfaceField.C
+ ${lduInterfaceFields}/mixingPlaneLduInterfaceField/mixingPlaneLduInterfaceField.C
+ ${lduInterfaceFields}/overlapGGILduInterfaceField/overlapGGILduInterfaceField.C
+ ${lduInterfaceFields}/regionCoupleLduInterfaceField/regionCoupleLduInterfaceField.C
+)
+
+set(AMG ${lduMatrix}/solvers/AMG)
+list(APPEND SOURCES
+ ${AMG}/GAMGSolver.C
+ ${AMG}/GAMGSolverAgglomerateMatrix.C
+ ${AMG}/GAMGSolverScalingFactor.C
+ ${AMG}/GAMGSolverSolve.C
+)
+
+set(AMGInterfaces ${AMG}/interfaces/AMGInterfaces)
+list(APPEND SOURCES
+ ${AMGInterfaces}/AMGInterface/AMGInterface.C
+ ${AMGInterfaces}/AMGInterface/newAMGInterface.C
+ ${AMGInterfaces}/processorAMGInterface/processorAMGInterface.C
+ ${AMGInterfaces}/cyclicAMGInterface/cyclicAMGInterface.C
+ ${AMGInterfaces}/ggiAMGInterface/ggiAMGInterface.C
+ ${AMGInterfaces}/cyclicGGIAMGInterface/cyclicGGIAMGInterface.C
+ ${AMGInterfaces}/regionCoupleAMGInterface/regionCoupleAMGInterface.C
+ ${AMGInterfaces}/mixingPlaneAMGInterface/mixingPlaneAMGInterface.C
+)
+
+set(SAMGInterfaces ${AMG}/interfaces/SAMGInterfaces)
+list(APPEND SOURCES
+ ${SAMGInterfaces}/SAMGInterface/SAMGInterface.C
+ ${SAMGInterfaces}/SAMGInterface/newSAMGInterface.C
+ ${SAMGInterfaces}/processorSAMGInterface/processorSAMGInterface.C
+ ${SAMGInterfaces}/ggiSAMGInterface/ggiSAMGInterface.C
+)
+
+set(AMGInterfaceFields ${AMG}/interfaceFields/AMGInterfaceFields)
+list(APPEND SOURCES
+ ${AMGInterfaceFields}/AMGInterfaceField/AMGInterfaceField.C
+ ${AMGInterfaceFields}/AMGInterfaceField/newAMGInterfaceField.C
+ ${AMGInterfaceFields}/processorAMGInterfaceField/processorAMGInterfaceField.C
+ ${AMGInterfaceFields}/cyclicAMGInterfaceField/cyclicAMGInterfaceField.C
+ ${AMGInterfaceFields}/ggiAMGInterfaceField/ggiAMGInterfaceField.C
+ ${AMGInterfaceFields}/cyclicGgiAMGInterfaceField/cyclicGgiAMGInterfaceField.C
+ ${AMGInterfaceFields}/regionCoupleAMGInterfaceField/regionCoupleAMGInterfaceField.C
+ ${AMGInterfaceFields}/mixingPlaneAMGInterfaceField/mixingPlaneAMGInterfaceField.C
+)
+
+set(SAMGInterfaceFields ${AMG}/interfaceFields/SAMGInterfaceFields)
+list(APPEND SOURCES
+ ${SAMGInterfaceFields}/SAMGInterfaceField/SAMGInterfaceField.C
+ ${SAMGInterfaceFields}/SAMGInterfaceField/newSAMGInterfaceField.C
+ ${SAMGInterfaceFields}/processorSAMGInterfaceField/processorSAMGInterfaceField.C
+ ${SAMGInterfaceFields}/ggiSAMGInterfaceField/ggiSAMGInterfaceField.C
+)
+
+set(AMGAgglomerations ${AMG}/AMGAgglomerations)
+
+set(GAMGAgglomeration ${AMGAgglomerations}/GAMGAgglomeration)
+list(APPEND SOURCES
+ ${GAMGAgglomeration}/GAMGAgglomeration.C
+ ${GAMGAgglomeration}/GAMGAgglomerateLduAddressing.C
+)
+
+set(pairGAMGAgglomeration ${AMGAgglomerations}/pairGAMGAgglomeration)
+list(APPEND SOURCES
+ ${pairGAMGAgglomeration}/pairGAMGAgglomeration.C
+ ${pairGAMGAgglomeration}/pairGAMGAgglomerate.C
+ ${pairGAMGAgglomeration}/pairGAMGAgglomerationCombineLevels.C
+)
+
+set(algebraicPairGAMGAgglomeration ${AMGAgglomerations}/algebraicPairGAMGAgglomeration)
+list(APPEND SOURCES
+ ${algebraicPairGAMGAgglomeration}/algebraicPairGAMGAgglomeration.C
+ meshes/lduMesh/lduMesh.C
+ meshes/MeshObject/meshObjectBase.C
+)
+
+set(primitiveShapes meshes/primitiveShapes)
+
+list(APPEND SOURCES
+ ${primitiveShapes}/line/line.C
+ ${primitiveShapes}/plane/plane.C
+ ${primitiveShapes}/triangle/triangleFuncs.C
+ ${primitiveShapes}/triangle/intersection.C
+)
+
+set(meshShapes meshes/meshShapes)
+list(APPEND SOURCES
+ ${meshShapes}/edge/edge.C
+ ${meshShapes}/edge/edgeIOList.C
+)
+
+set(face ${meshShapes}/face)
+list(APPEND SOURCES
+ ${face}/face.C
+ ${face}/faceIntersection.C
+ ${face}/faceContactSphere.C
+ ${face}/faceAreaInContact.C
+ ${face}/faceIOList.C
+)
+
+set(cell ${meshShapes}/cell)
+list(APPEND SOURCES
+ ${cell}/cell.C
+ ${cell}/oppositeCellFace.C
+ ${cell}/cellIOList.C
+)
+
+set(tetCell ${meshShapes}/tetCell)
+list(APPEND SOURCES
+ ${tetCell}/tetCell.C
+)
+
+set(cellModeller ${meshShapes}/cellModeller)
+list(APPEND SOURCES
+ ${cellModeller}/cellModeller.C
+)
+
+set(cellModel ${meshShapes}/cellModel)
+list(APPEND SOURCES
+ ${cellModel}/cellModel.C
+ ${cellModel}/cellModelIO.C
+)
+
+set(cellShape ${meshShapes}/cellShape)
+list(APPEND SOURCES
+ ${cellShape}/cellShape.C
+ ${cellShape}/cellShapeEqual.C
+ ${cellShape}/cellShapeIO.C
+ ${cellShape}/cellShapeIOList.C
+ meshes/patchIdentifier/patchIdentifier.C
+)
+
+set(polyMesh meshes/polyMesh)
+
+set(polyPatches ${polyMesh}/polyPatches)
+list(APPEND SOURCES
+ ${polyPatches}/polyPatch/polyPatch.C
+ ${polyPatches}/polyPatch/newPolyPatch.C
+)
+
+set(basicPolyPatches ${polyPatches}/basic)
+list(APPEND SOURCES
+ ${basicPolyPatches}/coupled/coupledPolyPatch.C
+ ${basicPolyPatches}/generic/genericPolyPatch.C
+)
+
+set(constraintPolyPatches ${polyPatches}/constraint)
+list(APPEND SOURCES
+ ${constraintPolyPatches}/empty/emptyPolyPatch.C
+ ${constraintPolyPatches}/symmetry/symmetryPolyPatch.C
+ ${constraintPolyPatches}/wedge/wedgePolyPatch.C
+ ${constraintPolyPatches}/cyclic/cyclicPolyPatch.C
+ ${constraintPolyPatches}/processor/processorPolyPatch.C
+ ${constraintPolyPatches}/ggi/ggiPolyPatch.C
+ ${constraintPolyPatches}/cyclicGgi/cyclicGgiPolyPatch.C
+ ${constraintPolyPatches}/overlapGgi/overlapGgiPolyPatch.C
+ ${constraintPolyPatches}/overlapGgi/overlapGgiPolyPatchGeometry.C
+ ${constraintPolyPatches}/mixingPlane/mixingPlanePolyPatch.C
+ ${constraintPolyPatches}/regionCouple/regionCouplePolyPatch.C
+)
+
+set(derivedPolyPatches ${polyPatches}/derived)
+list(APPEND SOURCES
+ ${derivedPolyPatches}/wall/wallPolyPatch.C
+ ${derivedPolyPatches}/cohesive/cohesivePolyPatch.C
+)
+
+set(polyBoundaryMesh ${polyMesh}/polyBoundaryMesh)
+list(APPEND SOURCES
+ ${polyBoundaryMesh}/polyBoundaryMesh.C
+ ${polyBoundaryMesh}/polyBoundaryMeshEntries.C
+ meshes/ProcessorTopology/commSchedule.C
+)
+
+set(globalMeshData ${polyMesh}/globalMeshData)
+list(APPEND SOURCES
+ ${globalMeshData}/globalMeshData.C
+ ${globalMeshData}/globalPoints.C
+ ${globalMeshData}/globalIndex.C
+ ${globalMeshData}/globalProcFaceIndex.C
+ ${polyMesh}/syncTools/syncTools.C
+)
+
+set(zones ${polyMesh}/zones)
+
+set(cellZone ${zones}/cellZone)
+list(APPEND SOURCES
+ ${cellZone}/cellZone.C
+ ${cellZone}/newCellZone.C
+)
+
+set(faceZone ${zones}/faceZone)
+list(APPEND SOURCES
+ ${faceZone}/faceZone.C
+ ${faceZone}/newFaceZone.C
+)
+
+set(pointZone ${polyMesh}/zones/pointZone)
+list(APPEND SOURCES
+ ${pointZone}/pointZone.C
+ ${pointZone}/newPointZone.C
+ ${polyMesh}/polyMesh.C
+ ${polyMesh}/polyMeshFromShapeMesh.C
+ ${polyMesh}/polyMeshIO.C
+ ${polyMesh}/polyMeshInitMesh.C
+ ${polyMesh}/polyMeshClear.C
+ ${polyMesh}/polyMeshUpdate.C
+)
+
+set(primitiveMesh meshes/primitiveMesh)
+list(APPEND SOURCES
+ ${primitiveMesh}/primitiveMesh.C
+ ${primitiveMesh}/primitiveMeshCellCells.C
+ ${primitiveMesh}/primitiveMeshCellCentresAndVols.C
+ ${primitiveMesh}/primitiveMeshCellEdges.C
+ ${primitiveMesh}/primitiveMeshCells.C
+ ${primitiveMesh}/primitiveMeshClear.C
+ ${primitiveMesh}/primitiveMeshEdgeCells.C
+ ${primitiveMesh}/primitiveMeshEdgeFaces.C
+ ${primitiveMesh}/primitiveMeshEdges.C
+ ${primitiveMesh}/primitiveMeshFaceCentresAndAreas.C
+ ${primitiveMesh}/primitiveMeshFindCell.C
+ ${primitiveMesh}/primitiveMeshPointCells.C
+ ${primitiveMesh}/primitiveMeshPointFaces.C
+ ${primitiveMesh}/primitiveMeshPointEdges.C
+ ${primitiveMesh}/primitiveMeshPointPoints.C
+ ${primitiveMesh}/primitiveMeshCellPoints.C
+ ${primitiveMesh}/primitiveMeshCalcCellShapes.C
+)
+
+set(primitiveMeshCheck ${primitiveMesh}/primitiveMeshCheck)
+list(APPEND SOURCES
+ ${primitiveMeshCheck}/primitiveMeshCheck.C
+ ${primitiveMeshCheck}/primitiveMeshCheckMotion.C
+ ${primitiveMeshCheck}/primitiveMeshCheckPointNearness.C
+ ${primitiveMeshCheck}/primitiveMeshCheckEdgeLength.C
+)
+
+set(primitivePatch ${primitiveMesh}/primitivePatch)
+list(APPEND SOURCES
+ ${primitivePatch}/patchZones.C
+ ${primitivePatch}/walkPatch.C
+)
+
+set(cellMatcher ${meshShapes}/cellMatcher)
+list(APPEND SOURCES
+ ${cellMatcher}/cellMatcher.C
+ ${cellMatcher}/hexMatcher.C
+ ${cellMatcher}/wedgeMatcher.C
+ ${cellMatcher}/prismMatcher.C
+ ${cellMatcher}/pyrMatcher.C
+ ${cellMatcher}/tetWedgeMatcher.C
+ ${cellMatcher}/tetMatcher.C
+ ${cellMatcher}/degenerateMatcher.C
+)
+
+set(mapPolyMesh ${polyMesh}/mapPolyMesh)
+list(APPEND SOURCES
+ ${mapPolyMesh}/mapPolyMesh.C
+ ${mapPolyMesh}/pointMapper/pointMapper.C
+ ${mapPolyMesh}/faceMapper/faceMapper.C
+ ${mapPolyMesh}/cellMapper/cellMapper.C
+ ${mapPolyMesh}/mapDistribute/mapDistribute.C
+ ${mapPolyMesh}/mapDistribute/mapDistributePolyMesh.C
+ ${mapPolyMesh}/mapAddedPolyMesh.C
+)
+
+set(PrimitivePatch ${primitiveMesh}/PrimitivePatchTemplate)
+list(APPEND SOURCES
+ ${PrimitivePatch}/PrimitivePatchName.C
+)
+
+set(pointMesh meshes/pointMesh)
+list(APPEND SOURCES
+ ${pointMesh}/pointMesh.C
+)
+
+set(pointMeshMapper ${pointMesh}/pointMeshMapper)
+list(APPEND SOURCES
+ ${pointMeshMapper}/pointPatchMapper.C
+)
+
+set(pointPatches ${pointMesh}/pointPatches)
+list(APPEND SOURCES
+ ${pointPatches}/pointPatch/pointPatch.C
+ ${pointPatches}/facePointPatch/facePointPatch.C
+ ${pointPatches}/facePointPatch/newFacePointPatch.C
+)
+
+set(basicPointPatches ${pointPatches}/basic)
+list(APPEND SOURCES
+ ${basicPointPatches}/coupled/coupledPointPatch.C
+ ${basicPointPatches}/generic/genericPointPatch.C
+)
+
+set(constraintPointPatches ${pointPatches}/constraint)
+list(APPEND SOURCES
+ ${constraintPointPatches}/empty/emptyPointPatch.C
+ ${constraintPointPatches}/symmetry/symmetryPointPatch.C
+ ${constraintPointPatches}/wedge/wedgePointPatch.C
+ ${constraintPointPatches}/cyclic/cyclicPointPatch.C
+ ${constraintPointPatches}/processor/processorPointPatch.C
+ ${constraintPointPatches}/ggi/ggiPointPatch.C
+ ${constraintPointPatches}/cyclicGgi/cyclicGgiPointPatch.C
+ ${constraintPointPatches}/overlapGgi/overlapGgiPointPatch.C
+ ${constraintPointPatches}/mixingPlane/mixingPlanePointPatch.C
+ ${constraintPointPatches}/regionCouple/regionCouplePointPatch.C
+)
+
+set(derivedPointPatches ${pointPatches}/derived)
+list(APPEND SOURCES
+ ${derivedPointPatches}/coupled/coupledFacePointPatch.C
+ ${derivedPointPatches}/global/globalPointPatch.C
+ ${derivedPointPatches}/wall/wallPointPatch.C
+ ${derivedPointPatches}/cohesive/cohesivePointPatch.C
+)
+
+set(pointBoundaryMesh ${pointMesh}/pointBoundaryMesh)
+list(APPEND SOURCES
+ ${pointBoundaryMesh}/pointBoundaryMesh.C
+ meshes/boundBox/boundBox.C
+)
+
+set(meshTools meshes/meshTools)
+list(APPEND SOURCES
+ ${meshTools}/meshTools.C
+ ${meshTools}/matchPoints.C
+ ${meshTools}/mergePoints.C
+ fields/UniformDimensionedFields/uniformDimensionedFields.C
+ fields/cloud/cloud.C
+)
+
+set(Fields fields/Fields)
+list(APPEND SOURCES
+ ${Fields}/labelField/labelField.C
+ ${Fields}/scalarField/scalarField.C
+ ${Fields}/vectorField/vectorField.C
+ ${Fields}/sphericalTensorField/sphericalTensorField.C
+ ${Fields}/diagTensorField/diagTensorField.C
+ ${Fields}/symmTensorField/symmTensorField.C
+ ${Fields}/symmTensor4thOrderField/symmTensor4thOrderField.C
+ ${Fields}/tensorField/tensorField.C
+ ${Fields}/complexFields/complexFields.C
+ ${Fields}/VectorNFields/VectorNFields.C
+ ${Fields}/VectorNFields/SphericalTensorNFields.C
+ ${Fields}/VectorNFields/DiagTensorNFields.C
+ ${Fields}/VectorNFields/TensorNFields.C
+ ${Fields}/VectorNFields/expandContract/ExpandTensorNField.C
+ ${Fields}/labelField/labelIOField.C
+ ${Fields}/scalarField/scalarIOField.C
+ ${Fields}/vectorField/vectorIOField.C
+ ${Fields}/vector2DField/vector2DIOField.C
+ ${Fields}/sphericalTensorField/sphericalTensorIOField.C
+ ${Fields}/diagTensorField/diagTensorIOField.C
+ ${Fields}/symmTensorField/symmTensorIOField.C
+ ${Fields}/symmTensor4thOrderField/symmTensor4thOrderIOField.C
+ ${Fields}/tensorField/tensorIOField.C
+ ${Fields}/transformField/transformField.C
+)
+
+set(pointPatchFields fields/pointPatchFields)
+list(APPEND SOURCES
+ ${pointPatchFields}/pointPatchField/pointPatchFields.C
+)
+
+set(basicPointPatchFields ${pointPatchFields}/basic)
+list(APPEND SOURCES
+ ${basicPointPatchFields}/calculated/calculatedPointPatchFields.C
+ ${basicPointPatchFields}/generic/genericPointPatchFields.C
+ ${basicPointPatchFields}/coupled/coupledPointPatchFields.C
+ ${basicPointPatchFields}/value/valuePointPatchFields.C
+ ${basicPointPatchFields}/fixedValue/fixedValuePointPatchFields.C
+ ${basicPointPatchFields}/zeroGradient/zeroGradientPointPatchFields.C
+ ${basicPointPatchFields}/mixed/mixedPointPatchFields.C
+)
+
+set(constraintPointPatchFields ${pointPatchFields}/constraint)
+list(APPEND SOURCES
+ ${constraintPointPatchFields}/empty/emptyPointPatchFields.C
+ ${constraintPointPatchFields}/symmetry/symmetryPointPatchFields.C
+ ${constraintPointPatchFields}/wedge/wedgePointPatchFields.C
+ ${constraintPointPatchFields}/cyclic/cyclicPointPatchFields.C
+ ${constraintPointPatchFields}/processor/processorPointPatchFields.C
+)
+
+set(derivedPointPatchFields ${pointPatchFields}/derived)
+list(APPEND SOURCES
+ ${derivedPointPatchFields}/slip/slipPointPatchFields.C
+ ${derivedPointPatchFields}/global/globalPointPatchFields.C
+ ${derivedPointPatchFields}/uniformFixedValue/uniformFixedValuePointPatchFields.C
+ ${derivedPointPatchFields}/timeVaryingUniformFixedValue/timeVaryingUniformFixedValuePointPatchFields.C
+ ${derivedPointPatchFields}/oscillatingFixedValue/oscillatingFixedValuePointPatchFields.C
+ fields/GeometricFields/pointFields/pointFields.C
+ meshes/bandCompression/bandCompression.C
+ meshes/preservePatchTypes/preservePatchTypes.C
+)
+
+set(interpolations interpolations)
+set(interpolation ${interpolations}/interpolation)
+list(APPEND SOURCES
+ ${interpolations}/splineInterpolateXY/splineInterpolateXY.C
+ ${interpolations}/patchToPatchInterpolation/PatchToPatchInterpolationName.C
+ ${interpolations}/GGIInterpolation/GGIInterpolationName.C
+ ${interpolations}/MixingPlaneInterpolation/MixingPlaneInterpolationName.C
+ ${interpolations}/RBFInterpolation/RBFInterpolation.C
+ ${interpolations}/RBFInterpolation/RBFFunctions/RBFFunction/RBFFunction.C
+ ${interpolations}/RBFInterpolation/RBFFunctions/RBFFunction/newRBFFunction.C
+ ${interpolations}/RBFInterpolation/RBFFunctions/W2/W2.C
+ ${interpolations}/RBFInterpolation/RBFFunctions/Gauss/Gauss.C
+ ${interpolations}/RBFInterpolation/RBFFunctions/TPS/TPS.C
+ ${interpolations}/RBFInterpolation/RBFFunctions/IMQB/IMQB.C
+ ${interpolations}/interpolationTable/tableReaders/tableReaders.C
+ ${interpolations}/interpolationTable/tableReaders/openFoam/openFoamTableReaders.C
+ ${interpolations}/interpolationTable/tableReaders/csv/csvTableReaders.C
+)
+
+set(interpolationWeights ${interpolations}/interpolationWeights)
+list(APPEND SOURCES
+ ${interpolationWeights}/interpolationWeights/interpolationWeights.C
+ ${interpolationWeights}/linearInterpolationWeights/linearInterpolationWeights.C
+ ${interpolationWeights}/splineInterpolationWeights/splineInterpolationWeights.C
+)
+
+list(APPEND SOURCES
+ algorithms/MeshWave/MeshWaveName.C
+ algorithms/MeshWave/FaceCellWaveName.C
+ algorithms/polygon/clipping/SutherlandHodgman.C
+ algorithms/polygon/pointInPolygon/HormannAgathos.C
+ algorithms/rotation/RodriguesRotation.C
+)
+
+set(octree algorithms/octree/octree)
+list(APPEND SOURCES
+ ${octree}/octreeName.C
+ ${octree}/octreeDataPoint.C
+ ${octree}/octreeDataPointTreeLeaf.C
+ ${octree}/octreeDataEdges.C
+ ${octree}/octreeDataCell.C
+ ${octree}/octreeDataFace.C
+ ${octree}/octreeDataBoundBox.C
+ ${octree}/treeBoundBox.C
+ ${octree}/treeNodeName.C
+ ${octree}/treeLeafName.C
+ ${octree}/pointIndexHitIOList.C
+)
+
+set(indexedOctree algorithms/octree/indexedOctree)
+list(APPEND SOURCES
+ ${indexedOctree}/indexedOctreeName.C
+ ${indexedOctree}/treeDataCell.C
+ ${indexedOctree}/treeDataEdge.C
+ ${indexedOctree}/treeDataFace.C
+ ${indexedOctree}/treeDataPoint.C
+ graph/curve/curve.C
+ graph/graph.C
+)
+
+set(writers graph/writers)
+list(APPEND SOURCES
+ ${writers}/rawGraph/rawGraph.C
+ ${writers}/gnuplotGraph/gnuplotGraph.C
+ ${writers}/xmgrGraph/xmgrGraph.C
+ ${writers}/jplotGraph/jplotGraph.C
+ primitives/BlockCoeff/blockCoeffBase.C
+ primitives/BlockCoeff/scalarBlockCoeff.C
+ primitives/BlockCoeff/sphericalTensorBlockCoeff.C
+ primitives/BlockCoeff/symmTensorBlockCoeff.C
+ primitives/BlockCoeff/symmTensor4thOrderBlockCoeff.C
+ primitives/BlockCoeff/tensorBlockCoeff.C
+)
+
+set(BlockCoeffNorm primitives/BlockCoeff/BlockCoeffNorm)
+list(APPEND SOURCES
+ ${BlockCoeffNorm}/BlockCoeffNorm/blockCoeffNorms.C
+ ${BlockCoeffNorm}/BlockCoeffTwoNorm/blockCoeffTwoNorms.C
+ ${BlockCoeffNorm}/BlockCoeffMaxNorm/blockCoeffMaxNorms.C
+ ${BlockCoeffNorm}/BlockCoeffComponentNorm/blockCoeffComponentNorms.C
+ fields/expandContract/expandTensorField.C
+ fields/CoeffField/scalarCoeffField.C
+ fields/CoeffField/sphericalTensorCoeffField.C
+ fields/CoeffField/diagTensorCoeffField.C
+ fields/CoeffField/symmTensorCoeffField.C
+ fields/CoeffField/symmTensor4thOrderCoeffField.C
+ fields/CoeffField/tensorCoeffField.C
+)
+
+set(BlockLduMatrix matrices/blockLduMatrix/BlockLduMatrix)
+list(APPEND SOURCES
+ ${BlockLduMatrix}/blockLduMatrixName.C
+ ${BlockLduMatrix}/scalarBlockLduMatrix.C
+ ${BlockLduMatrix}/sphericalTensorBlockLduMatrix.C
+ ${BlockLduMatrix}/symmTensorBlockLduMatrix.C
+ ${BlockLduMatrix}/tensorBlockLduMatrix.C
+ ${BlockLduMatrix}/BlockConstraint/scalarBlockConstraint.C
+ ${BlockLduMatrix}/extendedBlockLduMatrix/extendedBlockLduMatrices.C
+ ${BlockLduMatrix}/extendedBlockLduMatrix/sphericalTensorExtendedBlockLduMatrix.C
+ ${BlockLduMatrix}/extendedBlockLduMatrix/symmTensorExtendedBlockLduMatrix.C
+ ${BlockLduMatrix}/extendedBlockLduMatrix/tensorExtendedBlockLduMatrix.C
+ ${BlockLduMatrix}/extendedBlockLduMatrix/extendedBlockVectorNMatrices.C
+)
+
+set(BlockLduInterfaceFields ${BlockLduMatrix}/BlockLduInterfaceFields)
+list(APPEND SOURCES
+ ${BlockLduInterfaceFields}/BlockLduInterfaceField/BlockLduInterfaceFields.C
+ ${BlockLduInterfaceFields}/BlockLduInterfaceField/blockVectorNLduInterfaceFields.C
+ ${BlockLduInterfaceFields}/GGIBlockLduInterfaceField/GGIBlockLduInterfaceFields.C
+ ${BlockLduInterfaceFields}/MixingPlaneBlockLduInterfaceField/MixingPlaneBlockLduInterfaceFields.C
+ ${BlockLduInterfaceFields}/OverlapGGIBlockLduInterfaceField/OverlapGGIBlockLduInterfaceFields.C
+ ${BlockLduInterfaceFields}/ProcessorBlockLduInterfaceField/ProcessorBlockLduInterfaceFields.C
+)
+
+set(BlockAMG matrices/blockLduMatrix/BlockAMG)
+list(APPEND SOURCES
+ ${BlockAMG}/blockAMGCycles.C
+ ${BlockAMG}/blockAMGLevels.C
+)
+
+set(BlockAMGInterfaceFields ${BlockAMG}/BlockAMGInterfaceFields)
+list(APPEND SOURCES
+ ${BlockAMGInterfaceFields}/BlockAMGInterfaceField/blockAMGInterfaceFields.C
+ ${BlockAMGInterfaceFields}/BlockAMGInterfaceField/blockVectorNAMGInterfaceFields.C
+ ${BlockAMGInterfaceFields}/ProcessorBlockAMGInterfaceField/ProcessorBlockAMGInterfaceFields.C
+ ${BlockAMGInterfaceFields}/GGIBlockAMGInterfaceField/GGIBlockAMGInterfaceFields.C
+)
+
+set(BlockSAMGInterfaceFields ${BlockAMG}/BlockSAMGInterfaceFields)
+list(APPEND SOURCES
+ ${BlockSAMGInterfaceFields}/BlockSAMGInterfaceField/blockSAMGInterfaceFields.C
+ ${BlockSAMGInterfaceFields}/BlockSAMGInterfaceField/blockVectorNSAMGInterfaceFields.C
+ ${BlockSAMGInterfaceFields}/ProcessorBlockSAMGInterfaceField/ProcessorBlockSAMGInterfaceFields.C
+ ${BlockSAMGInterfaceFields}/GGIBlockSAMGInterfaceField/GGIBlockSAMGInterfaceFields.C
+)
+
+set(BlockMatrixCoarsening ${BlockAMG}/BlockMatrixCoarsening)
+list(APPEND SOURCES
+ ${BlockMatrixCoarsening}/BlockMatrixCoarsening/blockMatrixCoarsenings.C
+ ${BlockMatrixCoarsening}/BlockMatrixClustering/blockMatrixClusterings.C
+ ${BlockMatrixCoarsening}/BlockMatrixSelection/blockMatrixSelections.C
+)
+
+set(BlockLduPrecons matrices/blockLduMatrix/BlockLduPrecons)
+list(APPEND SOURCES
+ ${BlockLduPrecons}/BlockLduPrecon/blockLduPrecons.C
+ ${BlockLduPrecons}/BlockNoPrecon/blockNoPrecons.C
+ ${BlockLduPrecons}/BlockDiagonalPrecon/scalarBlockDiagonalPrecon.C
+ ${BlockLduPrecons}/BlockDiagonalPrecon/tensorBlockDiagonalPrecon.C
+ ${BlockLduPrecons}/BlockDiagonalPrecon/blockDiagonalPrecons.C
+ ${BlockLduPrecons}/BlockGaussSeidelPrecon/scalarBlockGaussSeidelPrecon.C
+ ${BlockLduPrecons}/BlockGaussSeidelPrecon/tensorBlockGaussSeidelPrecon.C
+ ${BlockLduPrecons}/BlockGaussSeidelPrecon/blockGaussSeidelPrecons.C
+ ${BlockLduPrecons}/BlockCholeskyPrecon/scalarBlockCholeskyPrecon.C
+ ${BlockLduPrecons}/BlockCholeskyPrecon/tensorBlockCholeskyPrecon.C
+ ${BlockLduPrecons}/BlockCholeskyPrecon/blockCholeskyPrecons.C
+ ${BlockLduPrecons}/BlockAMGPrecon/blockAMGPrecons.C
+ ${BlockLduPrecons}/BlockILUC0Precon/scalarBlockILUC0Precon.C
+ ${BlockLduPrecons}/BlockILUC0Precon/tensorBlockILUC0Precon.C
+ ${BlockLduPrecons}/BlockILUC0Precon/blockILUC0Precons.C
+ ${BlockLduPrecons}/BlockILUCpPrecon/scalarBlockILUCpPrecon.C
+ ${BlockLduPrecons}/BlockILUCpPrecon/tensorBlockILUCpPrecon.C
+ ${BlockLduPrecons}/BlockILUCpPrecon/blockILUCpPrecons.C
+)
+
+set(BlockLduSmoothers matrices/blockLduMatrix/BlockLduSmoothers)
+list(APPEND SOURCES
+ ${BlockLduSmoothers}/BlockLduSmoother/blockLduSmoothers.C
+ ${BlockLduSmoothers}/BlockGaussSeidelSmoother/blockGaussSeidelSmoothers.C
+ ${BlockLduSmoothers}/BlockILUSmoother/blockILUSmoothers.C
+ ${BlockLduSmoothers}/BlockILUC0Smoother/blockILUC0Smoothers.C
+ ${BlockLduSmoothers}/BlockILUCpSmoother/blockILUCpSmoothers.C
+)
+
+set(BlockLduSolvers matrices/blockLduMatrix/BlockLduSolvers)
+list(APPEND SOURCES
+ ${BlockLduSolvers}/blockVectorNSolvers.C
+ ${BlockLduSolvers}/BlockLduSolver/blockLduSolvers.C
+ ${BlockLduSolvers}/BlockDiagonal/blockDiagonalSolvers.C
+ ${BlockLduSolvers}/BlockGaussSeidel/blockGaussSeidelSolvers.C
+ ${BlockLduSolvers}/BlockILU/blockILUSolvers.C
+ ${BlockLduSolvers}/BlockCG/blockCGSolvers.C
+ ${BlockLduSolvers}/BlockBiCGStab/blockBiCGStabSolvers.C
+ ${BlockLduSolvers}/BlockGMRES/blockGMRESSolvers.C
+ ${BlockLduSolvers}/BlockAMGSolver/blockAMGSolvers.C
+ ${BlockLduSolvers}/Segregated/segregatedSolvers.C
+)
+
+add_foam_library(foam SHARED ${SOURCES})
+
+target_link_libraries(foam PUBLIC OSspecific mpi ZLIB::ZLIB)
+add_dependencies(foam getGitVersion)
diff --git a/src/foam/global/global.C b/src/foam/global/global.C
deleted file mode 100644
index e69de29bb..000000000
diff --git a/src/foam/global/global.C.in b/src/foam/global/global.C.in
new file mode 100644
index 000000000..d01506162
--- /dev/null
+++ b/src/foam/global/global.C.in
@@ -0,0 +1,85 @@
+/*-------------------------------*- C++ -*-----------------------------------*\
+ ========= |
+ \\ / F ield | foam-extend: Open Source CFD
+ \\ / O peration | Version: 3.2
+ \\ / A nd | Web: http://www.foam-extend.org
+ \\/ M anipulation | For copyright notice see file Copyright
+-------------------------------------------------------------------------------
+License
+ This file is part of foam-extend.
+
+ foam-extend is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ foam-extend is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with foam-extend. If not, see .
+
+Description
+ Define the globals used in the OpenFOAM library.
+ It is important that these are constructed in the appropriate order to
+ avoid the use of unconstructed data in the global namespace.
+
+ This file has the extension .Cver to trigger a Makefile rule that converts
+ 'VERSION\_STRING' and 'BUILD\_STRING' into the appropriate strings.
+
+\*---------------------------------------------------------------------------*/
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+#include "foamVersion.H"
+
+const char* const Foam::FOAMversion = "@GIT_VERSION@";
+const char* const Foam::FOAMbuild = "@FOAM_VERSION@";
+
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Setup an error handler for the global new operator
+
+#include "new.C"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Create the nullObject singleton
+
+#include "nullObject.C"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Global IO streams
+
+#include "IOstreams.C"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+#include "JobInfo.H"
+bool Foam::JobInfo::constructed(false);
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Global error definitions (initialised by construction)
+
+#include "messageStream.C"
+#include "error.C"
+#include "IOerror.C"
+#include "token.C"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Read the debug and info switches
+
+#include "debug.C"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Read and set cell models
+
+#include "globalCellModeller.C"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+// Create the jobInfo file in the $FOAM_JOB_DIR/runningJobs directory
+
+#include "JobInfo.C"
+
+// ************************************************************************* //
diff --git a/src/fvAgglomerationMethods/CMakeLists.txt b/src/fvAgglomerationMethods/CMakeLists.txt
new file mode 100644
index 000000000..42759d5ab
--- /dev/null
+++ b/src/fvAgglomerationMethods/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(MGridGenGamgAgglomeration)
+add_subdirectory(pairPatchAgglomeration)
diff --git a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt
new file mode 100644
index 000000000..5ac8e244b
--- /dev/null
+++ b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt
@@ -0,0 +1,40 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MGridGenGAMGAgglomeration.C
+ MGridGenGAMGAgglomerate.C
+)
+
+add_foam_library(MGridGenGAMGAgglomeration SHARED ${SOURCES})
+
+target_link_libraries(MGridGenGAMGAgglomeration PUBLIC finiteVolume parmgridgen)
diff --git a/src/fvAgglomerationMethods/pairPatchAgglomeration/CMakeLists.txt b/src/fvAgglomerationMethods/pairPatchAgglomeration/CMakeLists.txt
new file mode 100644
index 000000000..ee7e8d1ee
--- /dev/null
+++ b/src/fvAgglomerationMethods/pairPatchAgglomeration/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pairPatchAgglomeration.C
+)
+
+add_foam_library(pairPatchAgglomeration SHARED ${SOURCES})
+
+target_link_libraries(pairPatchAgglomeration PUBLIC foam)
diff --git a/src/immersedBoundary/CMakeLists.txt b/src/immersedBoundary/CMakeLists.txt
new file mode 100644
index 000000000..262b48c47
--- /dev/null
+++ b/src/immersedBoundary/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(immersedBoundary)
+add_subdirectory(immersedBoundaryDynamicMesh)
diff --git a/src/immersedBoundary/immersedBoundary/CMakeLists.txt b/src/immersedBoundary/immersedBoundary/CMakeLists.txt
new file mode 100644
index 000000000..595d713ff
--- /dev/null
+++ b/src/immersedBoundary/immersedBoundary/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ immersedPoly/immersedPoly.C
+ immersedPoly/distanceFunctions/triSurfaceDistance/triSurfaceDistance.C
+ immersedBoundaryPolyPatch/immersedBoundaryPolyPatch.C
+ immersedBoundaryPointPatch/immersedBoundaryPointPatch.C
+ immersedBoundaryFvPatch/immersedBoundaryFvPatch.C
+ immersedBoundaryFvPatchField/immersedBoundaryFvPatchFields.C
+ mixedIbFvPatchField/mixedIbFvPatchFields.C
+ movingImmersedBoundaryVelocity/movingImmersedBoundaryVelocityFvPatchVectorField.C
+)
+
+add_foam_library(immersedBoundary SHARED ${SOURCES})
+
+target_link_libraries(immersedBoundary PUBLIC finiteVolume sampling surfMesh dynamicMesh)
diff --git a/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt
new file mode 100644
index 000000000..243e7f12c
--- /dev/null
+++ b/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt
@@ -0,0 +1,43 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ movingImmersedBoundary/movingImmersedBoundary.C
+ refineImmersedBoundaryMesh/refineImmersedBoundaryMesh.C
+ immersedBoundarySolidBodyMotionFvMesh/immersedBoundarySolidBodyMotionFvMesh.C
+ immersedBoundaryRefinement/immersedBoundaryRefinement.C
+ immersedBoundaryDynamicRefineSolidBodyMotionFvMesh/immersedBoundaryDynamicRefineSolidBodyMotionFvMesh.C
+)
+
+add_foam_library(immersedBoundaryDynamicMesh SHARED ${SOURCES})
+
+target_link_libraries(immersedBoundaryDynamicMesh PUBLIC immersedBoundary topoChangerFvMesh solidBodyMotion)
diff --git a/src/immersedBoundary/immersedBoundaryTurbulence/Make/files b/src/immersedBoundary/immersedBoundaryTurbulence/Make/files
deleted file mode 100644
index 9621ac758..000000000
--- a/src/immersedBoundary/immersedBoundaryTurbulence/Make/files
+++ /dev/null
@@ -1,6 +0,0 @@
-wallFunctions/immersedBoundaryWallFunctions/immersedBoundaryWallFunctionFvPatchFields.C
-wallFunctions/immersedBoundaryEpsilonWallFunctions/immersedBoundaryEpsilonWallFunctionFvPatchScalarField.C
-wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.C
-wallFunctions/immersedBoundaryVelocityWallFunctions/immersedBoundaryVelocityWallFunctionFvPatchVectorField.C
-
-LIB = $(FOAM_LIBBIN)/libimmersedBoundaryTurbulence
diff --git a/src/immersedBoundary/immersedBoundaryTurbulence/Make/options b/src/immersedBoundary/immersedBoundaryTurbulence/Make/options
deleted file mode 100644
index fd05812e8..000000000
--- a/src/immersedBoundary/immersedBoundaryTurbulence/Make/options
+++ /dev/null
@@ -1,24 +0,0 @@
-EXE_INC = \
- -IlnInclude \
- -I../immersedBoundary/lnInclude \
- -I$(LIB_SRC)/finiteVolume/lnInclude \
- -I$(LIB_SRC)/turbulenceModels \
- -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
- -I$(LIB_SRC)/transportModels \
- -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
- -I$(LIB_SRC)/meshTools/lnInclude \
- -I$(LIB_SRC)/surfMesh/lnInclude \
- -I$(LIB_SRC)/sampling/lnInclude \
- -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude
-
-LIB_LIBS = \
- -limmersedBoundary \
- -lfiniteVolume \
- -lincompressibleTurbulenceModel \
- -lincompressibleRASModels \
- -lincompressibleLESModels \
- -lincompressibleTransportModels \
- -lmeshTools \
- -lsurfMesh \
- -lsampling \
- -ldynamicMesh
diff --git a/src/lagrangian/CMakeLists.txt b/src/lagrangian/CMakeLists.txt
new file mode 100644
index 000000000..ad85d276e
--- /dev/null
+++ b/src/lagrangian/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(molecularDynamics)
+add_subdirectory(coalCombustion)
+add_subdirectory(dsmc)
+add_subdirectory(intermediate)
+add_subdirectory(solidParticle)
+add_subdirectory(basic)
+add_subdirectory(dieselSpray)
\ No newline at end of file
diff --git a/src/lagrangian/basic/CMakeLists.txt b/src/lagrangian/basic/CMakeLists.txt
new file mode 100644
index 000000000..8fcd61953
--- /dev/null
+++ b/src/lagrangian/basic/CMakeLists.txt
@@ -0,0 +1,45 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(Cloud Cloud)
+set(particle particle)
+set(passiveParticle passiveParticle)
+set(indexedParticle indexedParticle)
+
+list(APPEND SOURCES
+ ${passiveParticle}/passiveParticleCloud.C
+ ${indexedParticle}/indexedParticleCloud.C
+)
+
+add_foam_library(lagrangianBasic SHARED ${SOURCES})
+
+target_link_libraries(lagrangianBasic PUBLIC decompositionMethods foam)
diff --git a/src/lagrangian/coalCombustion/CMakeLists.txt b/src/lagrangian/coalCombustion/CMakeLists.txt
new file mode 100644
index 000000000..8632e339d
--- /dev/null
+++ b/src/lagrangian/coalCombustion/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+# Coal parcel and sub-models
+list(APPEND SOURCES
+ CoalParcel/defineCoalParcel.C
+ CoalParcel/makeCoalParcelSubmodels.C
+)
+
+add_foam_library(coalCombustion SHARED ${SOURCES})
+
+target_link_libraries(coalCombustion PUBLIC lagrangianBasic lagrangianIntermediate basicThermophysicalModels)
diff --git a/src/lagrangian/dieselSpray/CMakeLists.txt b/src/lagrangian/dieselSpray/CMakeLists.txt
new file mode 100644
index 000000000..bbd5c0ef0
--- /dev/null
+++ b/src/lagrangian/dieselSpray/CMakeLists.txt
@@ -0,0 +1,120 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(parcel parcel)
+set(spray spray)
+set(injector injector)
+
+set(atomizationModels spraySubModels/atomizationModel)
+set(breakupModels spraySubModels/breakupModel)
+set(dragModels spraySubModels/dragModel)
+set(evaporationModels spraySubModels/evaporationModel)
+set(heatTransferModels spraySubModels/heatTransferModel)
+set(wallModels spraySubModels/wallModel)
+set(collisionModels spraySubModels/collisionModel)
+set(dispersionModels spraySubModels/dispersionModel)
+set(injectorModels spraySubModels/injectorModel)
+
+list(APPEND SOURCES
+ ${parcel}/parcel.C
+ ${parcel}/parcelFunctions.C
+ ${parcel}/parcelIO.C
+ ${parcel}/setRelaxationTimes.C
+ ${spray}/spray.C
+ ${spray}/sprayOps.C
+ ${spray}/sprayInject.C
+ ${spray}/sprayFunctions.C
+ ${injector}/injector/injector.C
+ ${injector}/injector/injectorIO.C
+ ${injector}/injectorType/injectorType.C
+ ${injector}/unitInjector/unitInjector.C
+ ${injector}/multiHoleInjector/multiHoleInjector.C
+ ${injector}/commonRailInjector/commonRailInjector.C
+ ${injector}/swirlInjector/swirlInjector.C
+ ${injector}/definedInjector/definedInjector.C
+ ${atomizationModels}/atomizationModel/atomizationModel.C
+ ${atomizationModels}/atomizationModel/newAtomizationModel.C
+ ${atomizationModels}/LISA/LISA.C
+ ${atomizationModels}/noAtomization/noAtomization.C
+ ${atomizationModels}/blobsSheetAtomization/blobsSheetAtomization.C
+ ${breakupModels}/breakupModel/newBreakupModel.C
+ ${breakupModels}/breakupModel/breakupModel.C
+ ${breakupModels}/noBreakup/noBreakup.C
+ ${breakupModels}/reitzDiwakar/reitzDiwakar.C
+ ${breakupModels}/reitzKHRT/reitzKHRT.C
+ ${breakupModels}/SHF/SHF.C
+ ${breakupModels}/TAB/TAB.C
+ ${breakupModels}/ETAB/ETAB.C
+ ${dragModels}/dragModel/newDragModel.C
+ ${dragModels}/dragModel/dragModel.C
+ ${dragModels}/noDragModel/noDragModel.C
+ ${dragModels}/standardDragModel/standardDragModel.C
+ ${evaporationModels}/evaporationModel/newEvaporationModel.C
+ ${evaporationModels}/evaporationModel/evaporationModel.C
+ ${evaporationModels}/noEvaporation/noEvaporation.C
+ ${evaporationModels}/RutlandFlashBoil/RutlandFlashBoil.C
+ ${evaporationModels}/standardEvaporationModel/standardEvaporationModel.C
+ ${evaporationModels}/saturateEvaporationModel/saturateEvaporationModel.C
+ ${heatTransferModels}/heatTransferModel/newHeatTransferModel.C
+ ${heatTransferModels}/heatTransferModel/heatTransferModel.C
+ ${heatTransferModels}/noHeatTransfer/noHeatTransfer.C
+ ${heatTransferModels}/RanzMarshall/RanzMarshall.C
+ ${injectorModels}/injectorModel/newInjectorModel.C
+ ${injectorModels}/injectorModel/injectorModel.C
+ ${injectorModels}/constant/constInjector.C
+ ${injectorModels}/Chomiak/Chomiak.C
+ ${injectorModels}/hollowCone/hollowCone.C
+ ${injectorModels}/pressureSwirl/pressureSwirlInjector.C
+ ${injectorModels}/definedHollowCone/definedHollowCone.C
+ ${injectorModels}/definedPressureSwirl/definedPressureSwirl.C
+ ${injectorModels}/blobsSwirl/blobsSwirlInjector.C
+ ${wallModels}/wallModel/newWallModel.C
+ ${wallModels}/wallModel/wallModel.C
+ ${wallModels}/removeParcel/removeParcel.C
+ ${wallModels}/reflectParcel/reflectParcel.C
+ ${collisionModels}/collisionModel/collisionModel.C
+ ${collisionModels}/collisionModel/newCollisionModel.C
+ ${collisionModels}/noCollision/noCollision.C
+ ${collisionModels}/ORourke/ORourkeCollisionModel.C
+ ${collisionModels}/trajectoryModel/trajectoryModel.C
+ ${dispersionModels}/dispersionModel/dispersionModel.C
+ ${dispersionModels}/dispersionModel/newDispersionModel.C
+ ${dispersionModels}/dispersionRASModel/dispersionRASModel.C
+ ${dispersionModels}/dispersionLESModel/dispersionLESModel.C
+ ${dispersionModels}/noDispersion/noDispersion.C
+ ${dispersionModels}/gradientDispersionRAS/gradientDispersionRAS.C
+ ${dispersionModels}/stochasticDispersionRAS/stochasticDispersionRAS.C
+)
+
+add_foam_library(dieselSpray SHARED ${SOURCES})
+
+target_link_libraries(dieselSpray PUBLIC lagrangianBasic lagrangianIntermediate basicThermophysicalModels)
diff --git a/src/lagrangian/dsmc/CMakeLists.txt b/src/lagrangian/dsmc/CMakeLists.txt
new file mode 100644
index 000000000..3433febdf
--- /dev/null
+++ b/src/lagrangian/dsmc/CMakeLists.txt
@@ -0,0 +1,53 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+# Parcels
+list(APPEND SOURCES
+ parcels/derived/dsmcParcel/dsmcParcel.C
+)
+
+# Cloud base classes
+list(APPEND SOURCES
+ clouds/baseClasses/DsmcBaseCloud/DsmcBaseCloud.C
+)
+
+# submodels
+list(APPEND SOURCES
+ parcels/derived/dsmcParcel/defineDsmcParcel.C
+ parcels/derived/dsmcParcel/makeDsmcParcelBinaryCollisionModels.C
+ parcels/derived/dsmcParcel/makeDsmcParcelWallInteractionModels.C
+ parcels/derived/dsmcParcel/makeDsmcParcelInflowBoundaryModels.C
+)
+
+add_foam_library(dsmc SHARED ${SOURCES})
+
+target_link_libraries(dsmc PUBLIC finiteVolume lagrangianBasic)
diff --git a/src/lagrangian/intermediate/CMakeLists.txt b/src/lagrangian/intermediate/CMakeLists.txt
new file mode 100644
index 000000000..7e3913416
--- /dev/null
+++ b/src/lagrangian/intermediate/CMakeLists.txt
@@ -0,0 +1,157 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(PARCELS parcels)
+set(BASEPARCELS ${PARCELS}/baseClasses)
+set(DERIVEDPARCELS ${PARCELS}/derived)
+
+set(CLOUDS clouds)
+set(BASECLOUDS ${CLOUDS}/baseClasses)
+set(DERIVEDCLOUDS ${CLOUDS}/derived)
+
+
+# Parcels
+list(APPEND SOURCES
+ ${BASEPARCELS}/reactingParcel/reactingParcel.C
+)
+
+
+# Cloud base classes
+list(APPEND SOURCES
+ ${BASECLOUDS}/kinematicCloud/kinematicCloud.C
+ ${BASECLOUDS}/thermoCloud/thermoCloud.C
+ ${BASECLOUDS}/reactingCloud/reactingCloud.C
+ ${BASECLOUDS}/reactingMultiphaseCloud/reactingMultiphaseCloud.C
+)
+
+
+# kinematic parcel sub-models
+set(KINEMATICPARCEL ${DERIVEDPARCELS}/basicKinematicParcel)
+list(APPEND SOURCES
+ ${KINEMATICPARCEL}/basicKinematicParcel.C
+ ${KINEMATICPARCEL}/defineBasicKinematicParcel.C
+ ${KINEMATICPARCEL}/makeBasicKinematicParcelSubmodels.C
+)
+
+
+# thermo parcel sub-models
+set(THERMOPARCEL ${DERIVEDPARCELS}/basicThermoParcel)
+list(APPEND SOURCES
+ ${THERMOPARCEL}/basicThermoParcel.C
+ ${THERMOPARCEL}/defineBasicThermoParcel.C
+ ${THERMOPARCEL}/makeBasicThermoParcelSubmodels.C
+)
+
+
+# reacting parcel sub-models
+set(REACTINGPARCEL ${DERIVEDPARCELS}/BasicReactingParcel)
+list(APPEND SOURCES
+ ${REACTINGPARCEL}/defineBasicReactingParcel.C
+ ${REACTINGPARCEL}/makeBasicReactingParcelSubmodels.C
+)
+
+
+# reacting multiphase parcel sub-models
+set(REACTINGMPPARCEL ${DERIVEDPARCELS}/BasicReactingMultiphaseParcel)
+list(APPEND SOURCES
+ ${REACTINGMPPARCEL}/defineBasicReactingMultiphaseParcel.C
+ ${REACTINGMPPARCEL}/makeBasicReactingMultiphaseParcelSubmodels.C
+)
+
+
+# bolt-on models
+set(RADIATION submodels/addOns/radiation)
+list(APPEND SOURCES
+ ${RADIATION}/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C
+ ${RADIATION}/scatter/cloudScatter/cloudScatter.C
+ submodels/Kinematic/PatchInteractionModel/LocalInteraction/patchInteractionData.C
+)
+
+set(KINEMATICINJECTION submodels/Kinematic/InjectionModel)
+list(APPEND SOURCES
+ ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionData.C
+ ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionDataIO.C
+ ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionDataIOList.C
+)
+
+set(THERMOINJECTION submodels/Thermodynamic/InjectionModel)
+list(APPEND SOURCES
+ ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionData.C
+ ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionDataIO.C
+ ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionDataIOList.C
+)
+
+set(REACTINGINJECTION submodels/Reacting/InjectionModel)
+list(APPEND SOURCES
+ ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionData.C
+ ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionDataIO.C
+ ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionDataIOList.C
+)
+
+set(REACTINGMPINJECTION submodels/ReactingMultiphase/InjectionModel)
+list(APPEND SOURCES
+ ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionData.C
+ ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionDataIO.C
+ ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionDataIOList.C
+)
+
+
+# data entries
+list(APPEND SOURCES
+ submodels/IO/DataEntry/makeDataEntries.C
+ submodels/IO/DataEntry/polynomial/polynomial.C
+ submodels/IO/DataEntry/polynomial/polynomialIO.C
+)
+
+
+# integration schemes
+list(APPEND SOURCES
+ IntegrationScheme/makeIntegrationSchemes.C
+)
+
+
+# particle forces
+list(APPEND SOURCES
+ particleForces/particleForces.C
+)
+
+
+# phase properties
+list(APPEND SOURCES
+ phaseProperties/phaseProperties/phaseProperties.C
+ phaseProperties/phaseProperties/phasePropertiesIO.C
+ phaseProperties/phasePropertiesList/phasePropertiesList.C
+)
+
+add_foam_library(lagrangianIntermediate SHARED ${SOURCES})
+
+target_link_libraries(lagrangianIntermediate PUBLIC reactionThermophysicalModels radiation compressibleRASModels compressibleLESModels pdf liquidMixture solidMixture)
diff --git a/src/lagrangian/molecularDynamics/CMakeLists.txt b/src/lagrangian/molecularDynamics/CMakeLists.txt
new file mode 100644
index 000000000..1e77a9845
--- /dev/null
+++ b/src/lagrangian/molecularDynamics/CMakeLists.txt
@@ -0,0 +1,35 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(molecule)
+add_subdirectory(potential)
+add_subdirectory(molecularMeasurements)
\ No newline at end of file
diff --git a/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt b/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt
new file mode 100644
index 000000000..b4856f2e1
--- /dev/null
+++ b/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt
@@ -0,0 +1,39 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ distribution/distribution.C
+)
+
+add_foam_library(molecularMeasurements SHARED ${SOURCES})
+
+target_link_libraries(molecularMeasurements PUBLIC foam)
diff --git a/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt b/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt
new file mode 100644
index 000000000..d4544c032
--- /dev/null
+++ b/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt
@@ -0,0 +1,69 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(interactionLists interactionLists)
+set(referredMolecule ${interactionLists}/referredMolecule)
+set(referredCellList ${interactionLists}/referredCellList)
+set(referredCell ${interactionLists}/referredCell)
+set(referralLists ${interactionLists}/referralLists)
+set(directInteractionList ${interactionLists}/directInteractionList)
+
+list(APPEND SOURCES
+ ${referralLists}/sendingReferralList.C
+ ${referralLists}/receivingReferralList.C
+ ${referredCellList}/referredCellList.C
+ ${referredCell}/referredCell.C
+ ${referredMolecule}/referredMolecule.C
+ ${directInteractionList}/directInteractionList.C
+ ${interactionLists}/interactionLists.C
+)
+
+set(reducedUnits reducedUnits)
+list(APPEND SOURCES
+ ${reducedUnits}/reducedUnits.C
+ ${reducedUnits}/reducedUnitsIO.C
+)
+
+set(molecule molecule)
+list(APPEND SOURCES
+ ${molecule}/molecule.C
+ ${molecule}/moleculeIO.C
+)
+
+set(moleculeCloud moleculeCloud)
+list(APPEND SOURCES
+ ${moleculeCloud}/moleculeCloud.C
+)
+
+add_foam_library(molecule SHARED ${SOURCES})
+
+target_link_libraries(molecule PUBLIC potential)
diff --git a/src/lagrangian/molecularDynamics/potential/CMakeLists.txt b/src/lagrangian/molecularDynamics/potential/CMakeLists.txt
new file mode 100644
index 000000000..72d0664e7
--- /dev/null
+++ b/src/lagrangian/molecularDynamics/potential/CMakeLists.txt
@@ -0,0 +1,86 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(potential potential)
+
+list(APPEND SOURCES
+ ${potential}/potential.C
+)
+
+set(pairPotential pairPotential)
+
+list(APPEND SOURCES
+ ${pairPotential}/pairPotentialList/pairPotentialList.C
+ ${pairPotential}/basic/pairPotential.C
+ ${pairPotential}/basic/pairPotentialIO.C
+ ${pairPotential}/basic/newPairPotential.C
+ ${pairPotential}/derived/lennardJones/lennardJones.C
+ ${pairPotential}/derived/maitlandSmith/maitlandSmith.C
+ ${pairPotential}/derived/azizChen/azizChen.C
+ ${pairPotential}/derived/exponentialRepulsion/exponentialRepulsion.C
+ ${pairPotential}/derived/coulomb/coulomb.C
+ ${pairPotential}/derived/dampedCoulomb/dampedCoulomb.C
+ ${pairPotential}/derived/noInteraction/noInteraction.C
+)
+
+set(energyScalingFunction energyScalingFunction)
+
+list(APPEND SOURCES
+ ${energyScalingFunction}/basic/energyScalingFunction.C
+ ${energyScalingFunction}/basic/newEnergyScalingFunction.C
+ ${energyScalingFunction}/derived/shifted/shifted.C
+ ${energyScalingFunction}/derived/shiftedForce/shiftedForce.C
+ ${energyScalingFunction}/derived/noScaling/noScaling.C
+ ${energyScalingFunction}/derived/sigmoid/sigmoid.C
+ ${energyScalingFunction}/derived/doubleSigmoid/doubleSigmoid.C
+)
+
+set(tetherPotential tetherPotential)
+
+list(APPEND SOURCES
+ ${tetherPotential}/tetherPotentialList/tetherPotentialList.C
+ ${tetherPotential}/basic/tetherPotential.C
+ ${tetherPotential}/basic/newTetherPotential.C
+ ${tetherPotential}/derived/harmonicSpring/harmonicSpring.C
+ ${tetherPotential}/derived/restrainedHarmonicSpring/restrainedHarmonicSpring.C
+ ${tetherPotential}/derived/pitchForkRing/pitchForkRing.C
+)
+
+set(electrostaticPotential electrostaticPotential)
+
+list(APPEND SOURCES
+ ${electrostaticPotential}/electrostaticPotential.C
+)
+
+add_foam_library(potential SHARED ${SOURCES})
+
+target_link_libraries(potential PUBLIC finiteVolume)
diff --git a/src/lagrangian/solidParticle/CMakeLists.txt b/src/lagrangian/solidParticle/CMakeLists.txt
new file mode 100644
index 000000000..6088b39c0
--- /dev/null
+++ b/src/lagrangian/solidParticle/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ solidParticle.C
+ solidParticleIO.C
+ solidParticleCloud.C
+)
+
+add_foam_library(solidParticle SHARED ${SOURCES})
+
+target_link_libraries(solidParticle PUBLIC finiteVolume lagrangianBasic)
diff --git a/src/lduSolvers/CMakeLists.txt b/src/lduSolvers/CMakeLists.txt
new file mode 100644
index 000000000..f984650ce
--- /dev/null
+++ b/src/lduSolvers/CMakeLists.txt
@@ -0,0 +1,80 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(lduPrecon lduPrecon)
+list(APPEND SOURCES
+ ${lduPrecon}/CholeskyPrecon/CholeskyPrecon.C
+ ${lduPrecon}/ILU0/ILU0.C
+ ${lduPrecon}/ILUC0/ILUC0.C
+ ${lduPrecon}/ILUCp/ILUCp.C
+ ${lduPrecon}/symGaussSeidelPrecon/symGaussSeidelPrecon.C
+ ${lduPrecon}/amgPrecon/amgPrecon.C
+)
+
+set(lduSmoother lduSmoother)
+list(APPEND SOURCES
+ ${lduSmoother}/symGaussSeidelSmoother/symGaussSeidelSmoother.C
+ ${lduSmoother}/iluSmoother/iluSmoother.C
+ ${lduSmoother}/iluC0Smoother/iluC0Smoother.C
+)
+
+set(lduSolver lduSolver)
+list(APPEND SOURCES
+ ${lduSolver}/cgSolver/cgSolver.C
+ ${lduSolver}/bicgSolver/bicgSolver.C
+ ${lduSolver}/bicgStabSolver/bicgStabSolver.C
+ ${lduSolver}/gmresSolver/gmresSolver.C
+ ${lduSolver}/amgSolver/amgSolver.C
+ ${lduSolver}/fpeAmgSolver/fpeAmgSolver.C
+ ${lduSolver}/mpeAmgSolver/mpeAmgSolver.C
+ ${lduSolver}/rreAmgSolver/rreAmgSolver.C
+ ${lduSolver}/deflationSolver/deflationSolver.C
+)
+
+set(amg amg)
+list(APPEND SOURCES
+ ${amg}/amgCycle.C
+ ${amg}/fineAmgLevel.C
+ ${amg}/coarseAmgLevel.C
+)
+
+set(amgPolicy ${amg}/amgPolicy)
+list(APPEND SOURCES
+ ${amgPolicy}/amgPolicy.C
+ ${amgPolicy}/pamgPolicy.C
+ ${amgPolicy}/clusterAmgPolicy.C
+ ${amgPolicy}/selectionAmgPolicy.C
+)
+
+add_foam_library(lduSolvers SHARED ${SOURCES})
+
+target_link_libraries(lduSolvers PUBLIC foam)
diff --git a/src/mesh/CMakeLists.txt b/src/mesh/CMakeLists.txt
new file mode 100644
index 000000000..2c5697702
--- /dev/null
+++ b/src/mesh/CMakeLists.txt
@@ -0,0 +1,36 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(blockMesh)
+add_subdirectory(cfMesh)
+add_subdirectory(extrudeModel)
+add_subdirectory(autoMesh)
\ No newline at end of file
diff --git a/src/mesh/autoMesh/CMakeLists.txt b/src/mesh/autoMesh/CMakeLists.txt
new file mode 100644
index 000000000..300cd32bc
--- /dev/null
+++ b/src/mesh/autoMesh/CMakeLists.txt
@@ -0,0 +1,59 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(autoHexMesh autoHexMesh)
+set(autoHexMeshDriver ${autoHexMesh}/autoHexMeshDriver)
+
+list(APPEND SOURCES
+ ${autoHexMeshDriver}/autoLayerDriver.C
+ ${autoHexMeshDriver}/autoLayerDriverShrink.C
+ ${autoHexMeshDriver}/autoSnapDriver.C
+ ${autoHexMeshDriver}/autoRefineDriver.C
+ ${autoHexMeshDriver}/autoHexMeshDriver.C
+ ${autoHexMeshDriver}/layerParameters/layerParameters.C
+ ${autoHexMeshDriver}/refinementParameters/refinementParameters.C
+ ${autoHexMeshDriver}/snapParameters/snapParameters.C
+ ${autoHexMeshDriver}/pointData/pointData.C
+ ${autoHexMesh}/meshRefinement/meshRefinementBaffles.C
+ ${autoHexMesh}/meshRefinement/meshRefinement.C
+ ${autoHexMesh}/meshRefinement/meshRefinementMerge.C
+ ${autoHexMesh}/meshRefinement/meshRefinementProblemCells.C
+ ${autoHexMesh}/meshRefinement/meshRefinementRefine.C
+ ${autoHexMesh}/refinementSurfaces/refinementSurfaces.C
+ ${autoHexMesh}/shellSurfaces/shellSurfaces.C
+ ${autoHexMesh}/trackedParticle/trackedParticle.C
+ ${autoHexMesh}/trackedParticle/trackedParticleCloud.C
+)
+
+add_foam_library(autoMesh SHARED ${SOURCES})
+
+target_link_libraries(autoMesh PUBLIC dynamicFvMesh edgeMesh)
diff --git a/src/mesh/blockMesh/CMakeLists.txt b/src/mesh/blockMesh/CMakeLists.txt
new file mode 100644
index 000000000..8846be105
--- /dev/null
+++ b/src/mesh/blockMesh/CMakeLists.txt
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ curvedEdges/BSpline.C
+ curvedEdges/CatmullRomSpline.C
+ curvedEdges/polyLine.C
+ curvedEdges/arcEdge.C
+ curvedEdges/curvedEdge.C
+ curvedEdges/lineEdge.C
+ curvedEdges/polyLineEdge.C
+ curvedEdges/lineDivide.C
+ curvedEdges/splineEdge.C
+ curvedEdges/ellipseEdge.C
+ blockDescriptor/blockDescriptor.C
+ blockDescriptor/blockDescriptorEdges.C
+ block/block.C
+ block/blockCreate.C
+ blockMesh/blockMesh.C
+ blockMesh/blockMeshCreate.C
+ blockMesh/blockMeshTopology.C
+ blockMesh/blockMeshCheck.C
+ blockMesh/blockMeshMerge.C
+)
+
+add_foam_library(blockMeshLib SHARED ${SOURCES})
+
+target_link_libraries(blockMeshLib PUBLIC ODE dynamicMesh finiteVolume meshTools)
diff --git a/src/mesh/blockMesh/curvedEdges/ellipseEdge.C b/src/mesh/blockMesh/curvedEdges/ellipseEdge.C
index 2863bb95f..5614d177d 100644
--- a/src/mesh/blockMesh/curvedEdges/ellipseEdge.C
+++ b/src/mesh/blockMesh/curvedEdges/ellipseEdge.C
@@ -31,7 +31,7 @@ Description
#include "mathematicalConstants.H"
#include "EulerCoordinateRotation.H"
#include "coordinateSystem.H"
-#include "curvedEdges/rotEllipse2D.H"
+#include "rotEllipse2D.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/mesh/cfMesh/CMakeLists.txt b/src/mesh/cfMesh/CMakeLists.txt
new file mode 100644
index 000000000..897797a62
--- /dev/null
+++ b/src/mesh/cfMesh/CMakeLists.txt
@@ -0,0 +1,426 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+set(meshSurfaceEngine utilities/surfaceTools/meshSurfaceEngine)
+set(meshSurfacePartitioner utilities/surfaceTools/meshSurfacePartitioner)
+
+set(bndLayers utilities/boundaryLayers)
+set(boundaryLayers ${bndLayers}/boundaryLayers)
+set(detectBoundaryLayers ${bndLayers}/detectBoundaryLayers)
+set(extrudeLayer ${bndLayers}/extrudeLayer)
+set(refineBoundaryLayers ${bndLayers}/refineBoundaryLayers)
+set(triangulateNonPlanarBaseFaces ${bndLayers}/triangulateNonPlanarBaseFaces)
+
+set(checkMeshDict utilities/checkMeshDict)
+
+set(anisotropicMeshing utilities/anisotropicMeshing)
+set(coordinateModification ${anisotropicMeshing}/coordinateModification)
+set(edgeMeshGeometryModification ${anisotropicMeshing}/edgeMeshGeometryModification)
+set(surfaceMeshGeometryModification ${anisotropicMeshing}/surfaceMeshGeometryModification)
+set(polyMeshGenGeometryModification ${anisotropicMeshing}/polyMeshGenGeometryModification)
+
+set(meshSurfaceCheckInvertedVertices utilities/surfaceTools/meshSurfaceCheckInvertedVertices)
+set(meshSurfaceCheckEdgeTypes utilities/surfaceTools/meshSurfaceCheckEdgeTypes)
+set(meshSurfaceCutter utilities/surfaceTools/meshSurfaceCutter)
+set(meshSurfaceMapper utilities/surfaceTools/meshSurfaceMapper)
+set(meshSurfaceMapper2D utilities/surfaceTools/meshSurfaceMapper2D)
+set(edgeExtraction utilities/surfaceTools/edgeExtraction)
+set(edgeExtractor ${edgeExtraction}/edgeExtractor)
+set(meshSurfaceEdgeExtractor utilities/surfaceTools/meshSurfaceEdgeExtractor)
+set(meshSurfaceEdgeExtractorNonTopo utilities/surfaceTools/meshSurfaceEdgeExtractorNonTopo)
+set(meshSurfaceEdgeExtractor2D utilities/surfaceTools/meshSurfaceEdgeExtractor2D)
+set(meshSurfaceEdgeExtractorFUN utilities/surfaceTools/meshSurfaceEdgeExtractorFUN)
+
+set(createFundamentalSheetsBase utilities/surfaceTools/createFundamentalSheets)
+set(createFundamentalSheets ${createFundamentalSheetsBase}/createFundamentalSheets)
+set(createFundamentalSheetsFJ ${createFundamentalSheetsBase}/createFundamentalSheetsFJ)
+set(createFundamentalSheetsJFS ${createFundamentalSheetsBase}/createFundamentalSheetsJFS)
+
+set(correctEdgesBetweenPatches utilities/surfaceTools/correctEdgesBetweenPatches)
+
+set(decomposeCellsNearConcaveEdges utilities/surfaceTools/decomposeCellsNearConcaveEdges)
+set(renameBoundaryPatches utilities/surfaceTools/renameBoundaryPatches)
+
+set(intersectionTools utilities/intersectionTools)
+set(findCellsIntersectingSurface ${intersectionTools}/findCellsIntersectingSurface)
+
+set(meshOptimizer utilities/smoothers/geometry/meshOptimizer)
+set(tetMeshOptimisation ${meshOptimizer}/tetMeshOptimisation)
+set(boundaryLayerOptimisation ${meshOptimizer}/boundaryLayerOptimisation)
+
+set(symmetryPlaneOptimisation ${meshOptimizer}/symmetryPlaneOptimisation)
+set(simplexSmoother ${tetMeshOptimisation}/advancedSmoothers/simplexSmoother)
+set(knuppMetric ${tetMeshOptimisation}/advancedSmoothers/knuppMetric)
+set(meshUntangler ${tetMeshOptimisation}/advancedSmoothers/meshUntangler)
+set(quadricMetric ${tetMeshOptimisation}/advancedSmoothers/quadricMetric)
+set(volumeOptimizer ${tetMeshOptimisation}/advancedSmoothers/volumeOptimizer)
+
+set(meshSurfaceOptimizer utilities/smoothers/geometry/meshSurfaceOptimizer)
+set(surfaceOptimizer ${meshSurfaceOptimizer}/advancedSurfaceSmoothers/surfaceOptimizer)
+set(surfaceMorpherCells utilities/surfaceTools/surfaceMorpherCells)
+
+set(utilitiesOctrees utilities/octrees)
+set(meshOctree utilities/octrees/meshOctree)
+set(meshOctreeCube utilities/octrees/meshOctree/meshOctreeCube)
+set(meshOctreeInsideOutside utilities/octrees/meshOctree/meshOctreeInsideOutside)
+set(meshOctreeCreator utilities/octrees/meshOctree/meshOctreeCreator)
+set(meshOctreeAddressing utilities/octrees/meshOctree/meshOctreeAddressing)
+set(meshOctreeModifier utilities/octrees/meshOctree/meshOctreeModifier)
+set(meshOctreeAutoRef utilities/octrees/meshOctree/meshOctreeAutomaticRefinement)
+set(patchRefinement utilities/octrees/meshOctree/refinementControls/patchRefinement)
+set(objectRefinement utilities/octrees/meshOctree/refinementControls/objectRefinement)
+
+set(helperFunctions utilities/helperFunctions)
+set(createFacesFromChain utilities/helperClasses/createFacesFromChain)
+set(sortEdgesIntoChains utilities/helperClasses/sortEdgesIntoChains)
+set(trianglePlaneIntersections utilities/helperClasses/trianglePlaneIntersections)
+
+set(tetCreatorOctree utilities/tetrahedra/tetCreatorOctree)
+set(faceDecomposition utilities/faceDecomposition)
+set(decomposeCells utilities/decomposeCells)
+
+set(topology utilities/smoothers/topology)
+set(topologicalCleaner ${topology}/topologicalCleaner)
+set(checkBoundaryFacesSharingTwoEdges ${topology}/checkBoundaryFacesSharingTwoEdges)
+set(checkCellConnectionsOverFaces ${topology}/checkCellConnectionsOverFaces)
+set(checkIrregularSurfaceConnections ${topology}/checkIrregularSurfaceConnections)
+set(checkNonMappableCellConnections ${topology}/checkNonMappableCellConnections)
+
+set(triSurfaceTools utilities/triSurfaceTools)
+
+set(triSurface2DCheck ${triSurfaceTools}/triSurface2DCheck)
+set(triSurfaceChecks ${triSurfaceTools}/triSurfaceChecks)
+set(triSurfaceCleanupDuplicates ${triSurfaceTools}/triSurfaceCleanupDuplicates)
+set(triSurfaceCleanupDuplicateTriangles ${triSurfaceTools}/triSurfaceCleanupDuplicateTriangles)
+set(triSurfaceCopyParts ${triSurfaceTools}/triSurfaceCopyParts)
+set(triSurfaceCurvatureEstimator ${triSurfaceTools}/triSurfaceCurvatureEstimator)
+set(triSurfacePartitioner ${triSurfaceTools}/triSurfacePartitioner)
+set(triSurfaceDetectFeatureEdges ${triSurfaceTools}/triSurfaceDetectFeatureEdges)
+set(triSurfaceClassifyEdges ${triSurfaceTools}/triSurfaceClassifyEdges)
+set(triSurfaceImportSurfaceAsSubset ${triSurfaceTools}/triSurfaceImportSurfaceAsSubset)
+set(triSurfacePatchManipulator ${triSurfaceTools}/triSurfacePatchManipulator)
+set(triSurfaceRemoveFacets ${triSurfaceTools}/triSurfaceRemoveFacets)
+set(triSurfaceExtrude2DEdges ${triSurfaceTools}/triSurfaceExtrude2DEdges)
+set(triSurfaceMetaData ${triSurfaceTools}/triSurfaceMetaData)
+
+set(polyMeshGen utilities/meshes/polyMeshGen)
+set(boundaryPatch utilities/meshes/polyMeshGen/boundaryPatch)
+set(polyMeshGen2DEngine utilities/meshes/polyMeshGen2DEngine)
+set(polyMeshGenModifier utilities/meshes/polyMeshGenModifier)
+set(polyMeshGenAddressing utilities/meshes/polyMeshGenAddressing)
+set(polyMeshGenChecks utilities/meshes/polyMeshGenChecks)
+set(partTetMesh utilities/meshes/partTetMesh)
+set(partTriMesh utilities/meshes/partTriMesh)
+set(primitiveMesh utilities/meshes/primitiveMesh)
+set(triSurf utilities/meshes/triSurf)
+set(cell utilities/meshes/primitives/cell)
+set(edge utilities/meshes/primitives/edge)
+set(face utilities/meshes/primitives/face)
+
+set(containers utilities/containers)
+set(VRWGraph ${containers}/VRWGraph)
+set(VRWGraphList ${containers}/VRWGraphList)
+set(graphs ${containers}/Graphs)
+set(lists ${containers}/Lists)
+
+set(meshZipper utilities/meshZipper)
+
+set(writeAsFPMA utilities/dataConversion/foamToFPMA)
+
+set(polyMeshExtractor pMeshLibrary/polyMeshExtractor)
+set(polyMeshGenerator pMeshLibrary/polyMeshGenerator)
+
+set(cartesianMeshExtractor cartesianMesh/cartesianMeshExtractor)
+set(cartesianMeshGenerator cartesianMesh/cartesianMeshGenerator)
+
+set(cartesian2DMeshGenerator cartesian2DMesh/cartesian2DMeshGenerator)
+
+set(tetMeshExtractor tetMesh/tetMeshExtractor)
+set(tetMeshExtractorOctree tetMesh/tetMeshExtractorOctree)
+set(tetMeshGenerator tetMesh/tetMeshGenerator)
+
+set(voronoiMeshExtractor voronoiMesh/voronoiMeshExtractor)
+set(voronoiMeshGenerator voronoiMesh/voronoiMeshGenerator)
+
+set(workflowControls utilities/workflowControls)
+
+list(APPEND SOURCES
+ ${checkMeshDict}/checkMeshDict.C
+ ${lists}/pointFieldPMG.C
+ ${lists}/faceListPMG.C
+ ${VRWGraph}/VRWGraph.C
+ ${VRWGraph}/VRWGraphSMPModifier.C
+ ${VRWGraphList}/VRWGraphList.C
+ ${graphs}/cellIOGraph.C
+ ${graphs}/faceIOGraph.C
+ ${polyMeshGen}/polyMeshGen.C
+ ${polyMeshGen}/polyMeshGenPoints.C
+ ${polyMeshGen}/polyMeshGenFaces.C
+ ${polyMeshGen}/polyMeshGenCells.C
+ ${polyMeshGen2DEngine}/polyMeshGen2DEngine.C
+ ${coordinateModification}/coordinateModification.C
+ ${coordinateModification}/newCoordinateModification.C
+ ${coordinateModification}/planeScaling.C
+ ${coordinateModification}/boxScaling.C
+ ${edgeMeshGeometryModification}/edgeMeshGeometryModification.C
+ ${surfaceMeshGeometryModification}/surfaceMeshGeometryModification.C
+ ${polyMeshGenGeometryModification}/polyMeshGenGeometryModification.C
+ ${coordinateModification}/coordinateModifier.C
+ ${boundaryPatch}/boundaryPatchBase.C
+ ${boundaryPatch}/boundaryPatch.C
+ ${boundaryPatch}/processorBoundaryPatch.C
+ ${polyMeshGenModifier}/polyMeshGenModifierRemoveUnusedVertices.C
+ ${polyMeshGenModifier}/polyMeshGenModifierRemoveFaces.C
+ ${polyMeshGenModifier}/polyMeshGenModifierRemoveCells.C
+ ${polyMeshGenModifier}/polyMeshGenModifierReorderBoundaryFaces.C
+ ${polyMeshGenModifier}/polyMeshGenModifierAddCells.C
+ ${polyMeshGenModifier}/polyMeshGenModifierAddProcessorFaces.C
+ ${polyMeshGenModifier}/polyMeshGenModifierAddBufferCells.C
+ ${polyMeshGenModifier}/polyMeshGenModifierReplaceBoundary.C
+ ${polyMeshGenModifier}/polyMeshGenModifierZipUpCells.C
+ ${polyMeshGenModifier}/polyMeshGenModifierRenumberMesh.C
+ ${polyMeshGenModifier}/polyMeshGenModifierAddCellByCell.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressing.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingCellCells.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingCellEdges.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingCellPoints.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingCentresAndAreas.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingCentresAndVols.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingClear.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingUpdateGeometry.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingEdgeCells.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingEdgeFaces.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingFaceEdges.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingEdges.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingPointCells.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingPointEdges.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingPointFaces.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingPointPoints.C
+ ${polyMeshGenAddressing}/polyMeshGenAddressingParallelAddressing.C
+ ${polyMeshGenChecks}/polyMeshGenChecks.C
+ ${polyMeshGenChecks}/polyMeshGenChecksGeometry.C
+ ${polyMeshGenChecks}/polyMeshGenChecksTopology.C
+ ${partTetMesh}/partTetMesh.C
+ ${partTetMesh}/partTetMeshAddressing.C
+ ${partTetMesh}/partTetMeshParallelAddressing.C
+ ${partTetMesh}/partTetMeshSimplex.C
+ ${partTriMesh}/partTriMesh.C
+ ${partTriMesh}/partTriMeshAddressing.C
+ ${partTriMesh}/partTriMeshParallelAddressing.C
+ ${partTriMesh}/partTriMeshSimplex.C
+ ${triSurf}/triSurf.C
+ ${triSurf}/triSurfPoints.C
+ ${triSurf}/triSurfFacets.C
+ ${triSurf}/triSurfFeatureEdges.C
+ ${triSurf}/triSurfAddressing.C
+ ${triSurf}/triSurfModifier.C
+ ${findCellsIntersectingSurface}/findCellsIntersectingSurface.C
+ ${tetCreatorOctree}/tetCreatorOctree.C
+ ${tetCreatorOctree}/tetCreatorOctreePointsAndAddressing.C
+ ${tetCreatorOctree}/tetCreatorOctreeFromFacesWithCentreNode.C
+ ${tetCreatorOctree}/tetCreatorOctreeTetsAroundEdges.C
+ ${tetCreatorOctree}/tetCreatorOctreeTetsAroundSplitEdges.C
+ ${tetCreatorOctree}/tetCreatorOctreeTetsFromSplitFaces.C
+ ${faceDecomposition}/faceDecomposition.C
+ ${faceDecomposition}/decomposeFaces.C
+ ${helperFunctions}/helperFunctionsStringConversion.C
+ ${sortEdgesIntoChains}/sortEdgesIntoChains.C
+ ${surfaceMorpherCells}/surfaceMorpherCells.C
+ ${surfaceMorpherCells}/surfaceMorpherCellsMorphInternalFaces.C
+ ${surfaceMorpherCells}/surfaceMorpherCellsCreateBoundaryFaces.C
+ ${decomposeCells}/decomposeCells.C
+ ${decomposeCells}/decomposeCellsPyramids.C
+ ${decomposeCells}/decomposeCellsDecomposition.C
+ ${topologicalCleaner}/topologicalCleaner.C
+ ${topologicalCleaner}/topologyCleanerNonConsecutiveBoundaryVertices.C
+ ${topologicalCleaner}/topologicalCleanerInvalidVertices.C
+ ${topologicalCleaner}/topologyCleanerNonMappableCells.C
+ ${checkCellConnectionsOverFaces}/checkCellConnectionsOverFaces.C
+ ${checkIrregularSurfaceConnections}/checkIrregularSurfaceConnections.C
+ ${checkIrregularSurfaceConnections}/checkIrregularSurfaceConnectionsFunctions.C
+ ${checkNonMappableCellConnections}/checkNonMappableCellConnections.C
+ ${checkBoundaryFacesSharingTwoEdges}/checkBoundaryFacesSharingTwoEdges.C
+ ${boundaryLayers}/boundaryLayers.C
+ ${boundaryLayers}/boundaryLayersCreateVertices.C
+ ${boundaryLayers}/boundaryLayersFacesAndCells.C
+ ${boundaryLayers}/boundaryLayerCells.C
+ ${boundaryLayers}/boundaryLayersCheckTopologyOfBndFaces.C
+ ${boundaryLayers}/boundaryLayersWrapperLayer.C
+ ${extrudeLayer}/extrudeLayer.C
+ ${detectBoundaryLayers}/detectBoundaryLayers.C
+ ${detectBoundaryLayers}/detectBoundaryLayersFunctions.C
+ ${refineBoundaryLayers}/refineBoundaryLayers.C
+ ${refineBoundaryLayers}/refineBoundaryLayersFunctions.C
+ ${refineBoundaryLayers}/refineBoundaryLayersFaces.C
+ ${refineBoundaryLayers}/refineBoundaryLayersCells.C
+ ${triangulateNonPlanarBaseFaces}/triangulateNonPlanarBaseFaces.C
+ ${triangulateNonPlanarBaseFaces}/triangulateNonPlanarBaseFacesFunctions.C
+ ${meshSurfaceEngine}/meshSurfaceEngine.C
+ ${meshSurfaceEngine}/meshSurfaceEngineCalculateBoundaryNodesAndFaces.C
+ ${meshSurfaceEngine}/meshSurfaceEngineParallelAddressing.C
+ ${meshSurfaceEngine}/meshSurfaceEngineModifier.C
+ ${meshSurfacePartitioner}/meshSurfacePartitioner.C
+ ${meshSurfacePartitioner}/meshSurfacePartitionerFunctions.C
+ ${meshSurfaceCheckInvertedVertices}/meshSurfaceCheckInvertedVertices.C
+ ${meshSurfaceCheckEdgeTypes}/meshSurfaceCheckEdgeTypes.C
+ ${meshSurfaceMapper}/meshSurfaceMapper.C
+ ${meshSurfaceMapper}/meshSurfaceMapperMapVertices.C
+ ${meshSurfaceMapper}/meshSurfaceMapperCornersAndEdges.C
+ ${meshSurfaceMapper}/meshSurfaceMapperPremapVertices.C
+ ${meshSurfaceMapper2D}/meshSurfaceMapper2D.C
+ ${meshSurfaceMapper2D}/meshSurfaceMapper2DMapVertices.C
+ ${meshSurfaceMapper2D}/meshSurfaceMapper2DPremapVertices.C
+ ${edgeExtractor}/edgeExtractor.C
+ ${edgeExtractor}/edgeExtractorCorners.C
+ ${meshSurfaceEdgeExtractorNonTopo}/meshSurfaceEdgeExtractorNonTopo.C
+ ${meshSurfaceEdgeExtractorNonTopo}/meshSurfaceEdgeExtractorNonTopoDistributeFaces.C
+ ${meshSurfaceEdgeExtractor2D}/meshSurfaceEdgeExtractor2D.C
+ ${meshSurfaceEdgeExtractor2D}/meshSurfaceEdgeExtractor2DDistributeFaces.C
+ ${meshSurfaceEdgeExtractorFUN}/meshSurfaceEdgeExtractorFUN.C
+ ${meshSurfaceEdgeExtractorFUN}/meshSurfaceEdgeExtractorFUNDistributeFaces.C
+ ${createFundamentalSheets}/createFundamentalSheets.C
+ ${createFundamentalSheetsFJ}/createFundamentalSheetsFJ.C
+ ${createFundamentalSheetsJFS}/createFundamentalSheetsJFS.C
+ ${correctEdgesBetweenPatches}/correctEdgesBetweenPatches.C
+ ${correctEdgesBetweenPatches}/correctEdgesBetweenPatchesDistributeFaces.C
+ ${renameBoundaryPatches}/renameBoundaryPatches.C
+ ${meshOptimizer}/meshOptimizer.C
+ ${meshOptimizer}/meshOptimizerOptimizePoint.C
+ ${meshOptimizer}/meshOptimizerOptimizePointParallel.C
+ ${meshOptimizer}/meshOptimizerOptimizeSurface.C
+ ${meshOptimizer}/optimizeMeshFV.C
+ ${tetMeshOptimisation}/tetMeshOptimisation.C
+ ${tetMeshOptimisation}/tetMeshOptimisationParallel.C
+ ${symmetryPlaneOptimisation}/symmetryPlaneOptimisation.C
+ ${boundaryLayerOptimisation}/boundaryLayerOptimisation.C
+ ${boundaryLayerOptimisation}/boundaryLayerOptimisationFunctions.C
+ ${boundaryLayerOptimisation}/boundaryLayerOptimisationNormals.C
+ ${boundaryLayerOptimisation}/boundaryLayerOptimisationThickness.C
+ ${simplexSmoother}/simplexSmoother.C
+ ${knuppMetric}/knuppMetric.C
+ ${meshUntangler}/meshUntangler.C
+ ${meshUntangler}/meshUntanglerCutRegion.C
+ ${meshUntangler}/meshUntanglerCutRegionPoints.C
+ ${meshUntangler}/meshUntanglerCutRegionEdges.C
+ ${meshUntangler}/meshUntanglerCutRegionFaces.C
+ ${meshUntangler}/meshUntanglerCutRegionTieBreak.C
+ ${quadricMetric}/quadricMetric.C
+ ${volumeOptimizer}/volumeOptimizer.C
+ ${volumeOptimizer}/volumeOptimizerEvaluateGradients.C
+ ${meshSurfaceOptimizer}/meshSurfaceOptimizer.C
+ ${meshSurfaceOptimizer}/meshSurfaceOptimizerCalculateTrianglesAndAddressing.C
+ ${meshSurfaceOptimizer}/meshSurfaceOptimizerOptimizePoint.C
+ ${meshSurfaceOptimizer}/meshSurfaceOptimizerOptimizeSurface.C
+ ${meshSurfaceOptimizer}/meshSurfaceOptimizerOptimizePointParallel.C
+ ${surfaceOptimizer}/surfaceOptimizer.C
+ ${meshOctreeCube}/meshOctreeCube.C
+ ${meshOctreeCube}/meshOctreeCubeIntersections.C
+ ${meshOctreeCube}/meshOctreeCubeRecursiveFunctions.C
+ ${meshOctreeCube}/meshOctreeCubeRefine.C
+ ${meshOctreeCube}/meshOctreeCubeCoordinatesIntersections.C
+ ${meshOctreeModifier}/meshOctreeModifier.C
+ ${meshOctreeModifier}/meshOctreeModifierRefineSelectedBoxes.C
+ ${meshOctreeModifier}/meshOctreeModifierEnsureCorrectRegularity.C
+ ${meshOctreeModifier}/meshOctreeModifierParallelRefinement.C
+ ${meshOctreeModifier}/meshOctreeModifierDistributeLeavesToProcessors.C
+ ${meshOctreeModifier}/meshOctreeModifierLoadDistribution.C
+ ${meshOctreeModifier}/meshOctreeModifierReduceMemoryConsumption.C
+ ${meshOctreeModifier}/meshOctreeModifierUpdateCommunicationPattern.C
+ ${meshOctreeInsideOutside}/meshOctreeInsideOutside.C
+ ${meshOctreeCreator}/meshOctreeCreator.C
+ ${meshOctreeCreator}/meshOctreeCreatorAdjustOctreeToSurface.C
+ ${meshOctreeCreator}/meshOctreeCreatorCreateOctreeBoxes.C
+ ${meshOctreeCreator}/meshOctreeCreatorFrontalMarking.C
+ ${meshOctreeCreator}/meshOctreeCreatorLoadDistribution.C
+ ${meshOctreeAddressing}/meshOctreeAddressing.C
+ ${meshOctreeAddressing}/meshOctreeAddressingCreation.C
+ ${meshOctreeAddressing}/meshOctreeAddressingGluedMesh.C
+ ${meshOctreeAddressing}/meshOctreeAddressingIrregularConnections.C
+ ${meshOctreeAddressing}/meshOctreeAddressingParallelAddressing.C
+ ${meshOctreeAutoRef}/meshOctreeAutomaticRefinement.C
+ ${meshOctreeAutoRef}/meshOctreeAutomaticRefinementRef.C
+ ${meshOctree}/meshOctree.C
+ ${meshOctree}/meshOctreeCubePatches.C
+ ${meshOctree}/meshOctreeNeighbourSearches.C
+ ${meshOctree}/meshOctreeFindNearestSurfacePoint.C
+ ${meshOctree}/meshOctreeInsideCalculations.C
+ ${meshOctree}/meshOctreeParallelCommunication.C
+ ${patchRefinement}/patchRefinement.C
+ ${objectRefinement}/objectRefinement.C
+ ${objectRefinement}/newObjectRefinement.C
+ ${objectRefinement}/sphereRefinement.C
+ ${objectRefinement}/lineRefinement.C
+ ${objectRefinement}/coneRefinement.C
+ ${objectRefinement}/boxRefinement.C
+ ${objectRefinement}/hollowConeRefinement.C
+ ${triSurface2DCheck}/triSurface2DCheck.C
+ ${triSurfaceChecks}/triSurfaceChecks.C
+ ${triSurfaceCleanupDuplicates}/triSurfaceCleanupDuplicates.C
+ ${triSurfaceCleanupDuplicates}/triSurfaceCleanupDuplicatesFunctions.C
+ ${triSurfaceCleanupDuplicateTriangles}/triSurfaceCleanupDuplicateTriangles.C
+ ${triSurfaceCleanupDuplicateTriangles}/triSurfaceCleanupDuplicateTrianglesFunctions.C
+ ${triSurfaceCopyParts}/triSurfaceCopyParts.C
+ ${triSurfacePartitioner}/triSurfacePartitioner.C
+ ${triSurfacePartitioner}/triSurfacePartitionerCreateAddressing.C
+ ${triSurfaceCurvatureEstimator}/triSurfaceCurvatureEstimator.C
+ ${triSurfaceCurvatureEstimator}/triSurfaceCurvatureEstimatorCalculate.C
+ ${triSurfaceDetectFeatureEdges}/triSurfaceDetectFeatureEdges.C
+ ${triSurfaceDetectFeatureEdges}/triSurfaceDetectFeatureEdgesFunctions.C
+ ${triSurfaceClassifyEdges}/triSurfaceClassifyEdges.C
+ ${triSurfaceClassifyEdges}/triSurfaceClassifyEdgesFunctions.C
+ ${triSurfaceImportSurfaceAsSubset}/triSurfaceImportSurfaceAsSubset.C
+ ${triSurfacePatchManipulator}/triSurfacePatchManipulator.C
+ ${triSurfacePatchManipulator}/triSurfacePatchManipulatorFunctions.C
+ ${triSurfaceRemoveFacets}/triSurfaceRemoveFacets.C
+ ${triSurfaceRemoveFacets}/triSurfaceRemoveFacetsFunctions.C
+ ${triSurfaceExtrude2DEdges}/triSurfaceExtrude2DEdges.C
+ ${triSurfaceMetaData}/triSurfaceMetaData.C
+ ${cartesianMeshExtractor}/cartesianMeshExtractor.C
+ ${cartesianMeshExtractor}/cartesianMeshExtractorPointsAndAddressing.C
+ ${cartesianMeshExtractor}/cartesianMeshExtractorPolyMesh.C
+ ${cartesianMeshExtractor}/cartesianMeshExtractorDecomposeSplitHexes.C
+ ${cartesianMeshGenerator}/cartesianMeshGenerator.C
+ ${cartesian2DMeshGenerator}/cartesian2DMeshGenerator.C
+ ${tetMeshExtractorOctree}/tetMeshExtractorOctree.C
+ ${tetMeshGenerator}/tetMeshGenerator.C
+ ${voronoiMeshExtractor}/voronoiMeshExtractor.C
+ ${voronoiMeshExtractor}/voronoiMeshExtractorAddressing.C
+ ${voronoiMeshExtractor}/voronoiMeshExtractorCreateMesh.C
+ ${voronoiMeshGenerator}/voronoiMeshGenerator.C
+ ${writeAsFPMA}/writeMeshFPMA.C
+ ${writeAsFPMA}/fpmaMesh.C
+ ${workflowControls}/workflowControls.C
+)
+
+add_foam_library(cfMesh SHARED ${SOURCES})
+
+target_link_libraries(cfMesh PUBLIC meshTools edgeMesh)
diff --git a/src/mesh/extrudeModel/CMakeLists.txt b/src/mesh/extrudeModel/CMakeLists.txt
new file mode 100644
index 000000000..9bbbdf0ff
--- /dev/null
+++ b/src/mesh/extrudeModel/CMakeLists.txt
@@ -0,0 +1,45 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ extrudeModel/extrudeModel.C
+ extrudeModel/newExtrudeModel.C
+ linearNormal/linearNormal.C
+ gradedNormal/gradedNormal.C
+ linearRadial/linearRadial.C
+ sigmaRadial/sigmaRadial.C
+ wedge/wedge.C
+)
+
+add_foam_library(extrudeModel SHARED ${SOURCES})
+
+target_link_libraries(extrudeModel PUBLIC dynamicMesh ODE)
diff --git a/src/meshTools/CMakeLists.txt b/src/meshTools/CMakeLists.txt
new file mode 100644
index 000000000..abdbd8925
--- /dev/null
+++ b/src/meshTools/CMakeLists.txt
@@ -0,0 +1,200 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or {at your
+# option} any later version.
+#
+# foam-extend is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ cellClassification/cellClassification.C
+ cellClassification/cellInfo.C
+ cellQuality/cellQuality.C
+ cellDist/cellDistFuncs.C
+ cellDist/patchWave/patchWave.C
+ cellDist/wallPoint/wallPoint.C
+ cellFeatures/cellFeatures.C
+ edgeFaceCirculator/edgeFaceCirculator.C
+ polyMeshZipUpCells/polyMeshZipUpCells.C
+ primitiveMeshGeometry/primitiveMeshGeometry.C
+ meshSearch/meshSearch.C
+ PointEdgeWave/PointEdgeWaveName.C
+ PointEdgeWave/pointEdgePoint.C
+ regionSplit/regionSplit.C
+)
+
+set(searchableSurface searchableSurface)
+list(APPEND SOURCES
+ ${searchableSurface}/distributedTriSurfaceMesh.C
+ ${searchableSurface}/searchableBox.C
+ ${searchableSurface}/searchableCylinder.C
+ ${searchableSurface}/searchablePlane.C
+ ${searchableSurface}/searchablePlate.C
+ ${searchableSurface}/searchableSphere.C
+ ${searchableSurface}/searchableSurface.C
+ ${searchableSurface}/searchableSurfaceCollection.C
+ ${searchableSurface}/searchableSurfaces.C
+ ${searchableSurface}/searchableSurfacesQueries.C
+ ${searchableSurface}/searchableSurfaceWithGaps.C
+ ${searchableSurface}/triSurfaceMesh.C
+)
+
+set(topoSets sets/topoSets)
+list(APPEND SOURCES
+ ${topoSets}/cellSet.C
+ ${topoSets}/topoSet.C
+ ${topoSets}/faceSet.C
+ ${topoSets}/pointSet.C
+ sets/topoSetSource/topoSetSource.C
+)
+
+set(cellSources sets/cellSources)
+list(APPEND SOURCES
+ ${cellSources}/faceToCell/faceToCell.C
+ ${cellSources}/fieldToCell/fieldToCell.C
+ ${cellSources}/pointToCell/pointToCell.C
+ ${cellSources}/shapeToCell/shapeToCell.C
+ ${cellSources}/boxToCell/boxToCell.C
+ ${cellSources}/regionToCell/regionToCell.C
+ ${cellSources}/rotatedBoxToCell/rotatedBoxToCell.C
+ ${cellSources}/labelToCell/labelToCell.C
+ ${cellSources}/surfaceToCell/surfaceToCell.C
+ ${cellSources}/cellToCell/cellToCell.C
+ ${cellSources}/nearestToCell/nearestToCell.C
+ ${cellSources}/nbrToCell/nbrToCell.C
+ ${cellSources}/zoneToCell/zoneToCell.C
+ ${cellSources}/setToCell/setToCell.C
+ ${cellSources}/sphereToCell/sphereToCell.C
+ ${cellSources}/cylinderToCell/cylinderToCell.C
+ ${cellSources}/faceZoneToCell/faceZoneToCell.C
+)
+
+set(faceSources sets/faceSources)
+list(APPEND SOURCES
+ ${faceSources}/faceToFace/faceToFace.C
+ ${faceSources}/labelToFace/labelToFace.C
+ ${faceSources}/cellToFace/cellToFace.C
+ ${faceSources}/normalToFace/normalToFace.C
+ ${faceSources}/pointToFace/pointToFace.C
+ ${faceSources}/patchToFace/patchToFace.C
+ ${faceSources}/boundaryToFace/boundaryToFace.C
+ ${faceSources}/zoneToFace/zoneToFace.C
+ ${faceSources}/setToFace/setToFace.C
+ ${faceSources}/boxToFace/boxToFace.C
+ ${faceSources}/rotatedBoxToFace/rotatedBoxToFace.C
+)
+
+set(pointSources sets/pointSources)
+list(APPEND SOURCES
+ ${pointSources}/labelToPoint/labelToPoint.C
+ ${pointSources}/pointToPoint/pointToPoint.C
+ ${pointSources}/cellToPoint/cellToPoint.C
+ ${pointSources}/faceToPoint/faceToPoint.C
+ ${pointSources}/boxToPoint/boxToPoint.C
+ ${pointSources}/surfaceToPoint/surfaceToPoint.C
+ ${pointSources}/zoneToPoint/zoneToPoint.C
+ ${pointSources}/setToPoint/setToPoint.C
+ ${pointSources}/nearestToPoint/nearestToPoint.C
+ surfaceSets/surfaceSets.C
+)
+
+set(triSurfaceInterfaces triSurface/triSurface/interfaces)
+list(APPEND SOURCES
+ triSurface/triSurface/triSurface.C
+ triSurface/triSurface/triSurfaceAddressing.C
+ triSurface/triSurface/stitchTriangles.C
+ triSurface/triSurface/treeDataTriSurface/treeDataTriSurface.C
+ triSurface/faceTriangulation/faceTriangulation.C
+ triSurface/meshTriangulation/meshTriangulation.C
+ triSurface/triSurface/geometricSurfacePatch/geometricSurfacePatch.C
+ triSurface/triSurface/surfacePatch/surfacePatch.C
+ triSurface/triSurface/surfacePatch/surfacePatchIOList.C
+ triSurface/tools/labelledTri/sortLabelledTri.C
+ triSurface/triSurfaceFields/triSurfaceFields.C
+ triSurface/triSurfaceFields/triSurfacePointFields/triSurfacePointFields.C
+ triSurface/orientedSurface/orientedSurface.C
+ triSurface/surfaceLocation/surfaceLocation.C
+ ${triSurfaceInterfaces}/STL/writeSTL.C
+ ${triSurfaceInterfaces}/STL/readSTL.C
+)
+FLEX_TARGET(readSTLASCII ${triSurfaceInterfaces}/STL/readSTLASCII.L
+ ${CMAKE_CURRENT_BINARY_DIR}/readSTLASCII.C COMPILE_FLAGS "-+")
+list(APPEND SOURCES ${FLEX_readSTLASCII_OUTPUTS})
+list(APPEND SOURCES
+ ${triSurfaceInterfaces}/STL/readSTLBINARY.C
+ ${triSurfaceInterfaces}/GTS/writeGTS.C
+ ${triSurfaceInterfaces}/GTS/readGTS.C
+ ${triSurfaceInterfaces}/OBJ/readOBJ.C
+ ${triSurfaceInterfaces}/OBJ/writeOBJ.C
+ ${triSurfaceInterfaces}/SMESH/writeSMESH.C
+ ${triSurfaceInterfaces}/OFF/readOFF.C
+ ${triSurfaceInterfaces}/OFF/writeOFF.C
+ ${triSurfaceInterfaces}/TRI/writeTRI.C
+ ${triSurfaceInterfaces}/TRI/readTRI.C
+ ${triSurfaceInterfaces}/DX/writeDX.C
+ ${triSurfaceInterfaces}/AC3D/readAC.C
+ ${triSurfaceInterfaces}/AC3D/writeAC.C
+ ${triSurfaceInterfaces}/VTK/writeVTK.C
+ ${triSurfaceInterfaces}/NAS/readNAS.C
+)
+
+
+set(booleanOps triSurface/booleanOps)
+
+set(surfaceIntersection ${booleanOps}/surfaceIntersection)
+list(APPEND SOURCES
+ ${surfaceIntersection}/surfaceIntersection.C
+ ${surfaceIntersection}/surfaceIntersectionFuncs.C
+ ${surfaceIntersection}/edgeIntersections.C
+)
+
+set(booleanSurface ${booleanOps}/booleanSurface)
+list(APPEND SOURCES
+ ${booleanSurface}/booleanSurface.C
+)
+
+set(intersectedSurface ${booleanOps}/intersectedSurface)
+list(APPEND SOURCES
+ ${intersectedSurface}/intersectedSurface.C
+ ${intersectedSurface}/edgeSurface.C
+ triSurface/triSurfaceSearch/triSurfaceSearch.C
+ triSurface/octreeData/octreeDataTriSurface.C
+ triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.C
+ triSurface/surfaceFeatures/surfaceFeatures.C
+ triSurface/triSurfaceTools/triSurfaceTools.C
+ triSurface/triSurfaceTools/geompack/geompack.C
+ twoDPointCorrector/twoDPointCorrector.C
+ directMapped/directMappedPolyPatch/directMappedPatchBase.C
+ directMapped/directMappedPolyPatch/directMappedPolyPatch.C
+ directMapped/directMappedPolyPatch/directMappedWallPolyPatch.C
+ directMapped/directMappedPointPatch/directMappedPointPatch.C
+ directMapped/directMappedPointPatch/directMappedWallPointPatch.C
+)
+
+add_foam_library(meshTools SHARED ${SOURCES})
+
+target_link_libraries(meshTools PUBLIC lagrangianBasic decompositionMethods)
diff --git a/src/meshTools/readSTLASCII.C b/src/meshTools/readSTLASCII.C
deleted file mode 100644
index 384420a7c..000000000
--- a/src/meshTools/readSTLASCII.C
+++ /dev/null
@@ -1,2272 +0,0 @@
-#line 2 "/home/henrus/OpenFOAM/foam-extend-4.0/src/meshTools/readSTLASCII.C"
-
-#line 4 "/home/henrus/OpenFOAM/foam-extend-4.0/src/meshTools/readSTLASCII.C"
-
-#define YY_INT_ALIGNED short int
-
-/* A lexical scanner generated by flex */
-
-#define FLEX_SCANNER
-#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 6
-#define YY_FLEX_SUBMINOR_VERSION 0
-#if YY_FLEX_SUBMINOR_VERSION > 0
-#define FLEX_BETA
-#endif
-
- /* The c++ scanner is a mess. The FlexLexer.h header file relies on the
- * following macro. This is required in order to pass the c++-multiple-scanners
- * test in the regression suite. We get reports that it breaks inheritance.
- * We will address this in a future release of flex, or omit the C++ scanner
- * altogether.
- */
- #define yyFlexLexer yyFlexLexer
-
-/* First, we deal with platform-specific or compiler-specific issues. */
-
-/* begin standard C headers. */
-
-/* end standard C headers. */
-
-/* flex integer type definitions */
-
-#ifndef FLEXINT_H
-#define FLEXINT_H
-
-/* C99 systems have . Non-C99 systems may or may not. */
-
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-
-/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
- * if you want the limit (max/min) macros for int types.
- */
-#ifndef __STDC_LIMIT_MACROS
-#define __STDC_LIMIT_MACROS 1
-#endif
-
-#include
-typedef int8_t flex_int8_t;
-typedef uint8_t flex_uint8_t;
-typedef int16_t flex_int16_t;
-typedef uint16_t flex_uint16_t;
-typedef int32_t flex_int32_t;
-typedef uint32_t flex_uint32_t;
-#else
-typedef signed char flex_int8_t;
-typedef short int flex_int16_t;
-typedef int flex_int32_t;
-typedef unsigned char flex_uint8_t;
-typedef unsigned short int flex_uint16_t;
-typedef unsigned int flex_uint32_t;
-
-/* Limits of integral types. */
-#ifndef INT8_MIN
-#define INT8_MIN (-128)
-#endif
-#ifndef INT16_MIN
-#define INT16_MIN (-32767-1)
-#endif
-#ifndef INT32_MIN
-#define INT32_MIN (-2147483647-1)
-#endif
-#ifndef INT8_MAX
-#define INT8_MAX (127)
-#endif
-#ifndef INT16_MAX
-#define INT16_MAX (32767)
-#endif
-#ifndef INT32_MAX
-#define INT32_MAX (2147483647)
-#endif
-#ifndef UINT8_MAX
-#define UINT8_MAX (255U)
-#endif
-#ifndef UINT16_MAX
-#define UINT16_MAX (65535U)
-#endif
-#ifndef UINT32_MAX
-#define UINT32_MAX (4294967295U)
-#endif
-
-#endif /* ! C99 */
-
-#endif /* ! FLEXINT_H */
-
-/* begin standard C++ headers. */
-#include
-#include
-#include
-#include
-#include
-/* end standard C++ headers. */
-
-#ifdef __cplusplus
-
-/* The "const" storage-class-modifier is valid. */
-#define YY_USE_CONST
-
-#else /* ! __cplusplus */
-
-/* C99 requires __STDC__ to be defined as 1. */
-#if defined (__STDC__)
-
-#define YY_USE_CONST
-
-#endif /* defined (__STDC__) */
-#endif /* ! __cplusplus */
-
-#ifdef YY_USE_CONST
-#define yyconst const
-#else
-#define yyconst
-#endif
-
-/* Returned upon end-of-file. */
-#define YY_NULL 0
-
-/* Promotes a possibly negative, possibly signed char to an unsigned
- * integer for use as an array index. If the signed char is negative,
- * we want to instead treat it as an 8-bit unsigned char, hence the
- * double cast.
- */
-#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-
-/* Enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN.
- */
-#define BEGIN (yy_start) = 1 + 2 *
-
-/* Translate the current start state into a value that can be later handed
- * to BEGIN to return to the state. The YYSTATE alias is for lex
- * compatibility.
- */
-#define YY_START (((yy_start) - 1) / 2)
-#define YYSTATE YY_START
-
-/* Action number for EOF rule of a given start state. */
-#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-
-/* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yyrestart( yyin )
-
-#define YY_END_OF_BUFFER_CHAR 0
-
-/* Size of default input buffer. */
-#ifndef YY_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k.
- * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
- * Ditto for the __ia64__ case accordingly.
- */
-#define YY_BUF_SIZE 32768
-#else
-#define YY_BUF_SIZE 16384
-#endif /* __ia64__ */
-#endif
-
-/* The state buf must be large enough to hold one state per character in the main buffer.
- */
-#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
-
-#ifndef YY_TYPEDEF_YY_BUFFER_STATE
-#define YY_TYPEDEF_YY_BUFFER_STATE
-typedef struct yy_buffer_state *YY_BUFFER_STATE;
-#endif
-
-#ifndef YY_TYPEDEF_YY_SIZE_T
-#define YY_TYPEDEF_YY_SIZE_T
-typedef size_t yy_size_t;
-#endif
-
-extern yy_size_t yyleng;
-
-#define EOB_ACT_CONTINUE_SCAN 0
-#define EOB_ACT_END_OF_FILE 1
-#define EOB_ACT_LAST_MATCH 2
-
- #define YY_LESS_LINENO(n)
- #define YY_LINENO_REWIND_TO(ptr)
-
-/* Return all but the first "n" matched characters back to the input stream. */
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- int yyless_macro_arg = (n); \
- YY_LESS_LINENO(yyless_macro_arg);\
- *yy_cp = (yy_hold_char); \
- YY_RESTORE_YY_MORE_OFFSET \
- (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
- YY_DO_BEFORE_ACTION; /* set up yytext again */ \
- } \
- while ( 0 )
-
-#define unput(c) yyunput( c, (yytext_ptr) )
-
-#ifndef YY_STRUCT_YY_BUFFER_STATE
-#define YY_STRUCT_YY_BUFFER_STATE
-struct yy_buffer_state
- {
-
- std::streambuf* yy_input_file;
-
- char *yy_ch_buf; /* input buffer */
- char *yy_buf_pos; /* current position in input buffer */
-
- /* Size of input buffer in bytes, not including room for EOB
- * characters.
- */
- yy_size_t yy_buf_size;
-
- /* Number of characters read into yy_ch_buf, not including EOB
- * characters.
- */
- int yy_n_chars;
-
- /* Whether we "own" the buffer - i.e., we know we created it,
- * and can realloc() it to grow it, and should free() it to
- * delete it.
- */
- int yy_is_our_buffer;
-
- /* Whether this is an "interactive" input source; if so, and
- * if we're using stdio for input, then we want to use getc()
- * instead of fread(), to make sure we stop fetching input after
- * each newline.
- */
- int yy_is_interactive;
-
- /* Whether we're considered to be at the beginning of a line.
- * If so, '^' rules will be active on the next match, otherwise
- * not.
- */
- int yy_at_bol;
-
- int yy_bs_lineno; /**< The line count. */
- int yy_bs_column; /**< The column count. */
-
- /* Whether to try to fill the input buffer when we reach the
- * end of it.
- */
- int yy_fill_buffer;
-
- int yy_buffer_status;
-
-#define YY_BUFFER_NEW 0
-#define YY_BUFFER_NORMAL 1
- /* When an EOF's been seen but there's still some text to process
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
- * shouldn't try reading from the input source any more. We might
- * still have a bunch of tokens to match, though, because of
- * possible backing-up.
- *
- * When we actually see the EOF, we change the status to "new"
- * (via yyrestart()), so that the user can continue scanning by
- * just pointing yyin at a new input file.
- */
-#define YY_BUFFER_EOF_PENDING 2
-
- };
-#endif /* !YY_STRUCT_YY_BUFFER_STATE */
-
-/* We provide macros for accessing buffer states in case in the
- * future we want to put the buffer states in a more general
- * "scanner state".
- *
- * Returns the top of the stack, or NULL.
- */
-#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
- ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
- : NULL)
-
-/* Same as previous macro, but useful when we know that the buffer stack is not
- * NULL or when we need an lvalue. For internal use only.
- */
-#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
-
-void *yyalloc (yy_size_t );
-void *yyrealloc (void *,yy_size_t );
-void yyfree (void * );
-
-#define yy_new_buffer yy_create_buffer
-
-#define yy_set_interactive(is_interactive) \
- { \
- if ( ! YY_CURRENT_BUFFER ){ \
- yyensure_buffer_stack (); \
- YY_CURRENT_BUFFER_LVALUE = \
- yy_create_buffer( yyin, YY_BUF_SIZE ); \
- } \
- YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
- }
-
-#define yy_set_bol(at_bol) \
- { \
- if ( ! YY_CURRENT_BUFFER ){\
- yyensure_buffer_stack (); \
- YY_CURRENT_BUFFER_LVALUE = \
- yy_create_buffer( yyin, YY_BUF_SIZE ); \
- } \
- YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
- }
-
-#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
-
-/* Begin user sect3 */
-
-typedef unsigned char YY_CHAR;
-
-#define yytext_ptr yytext
-#define YY_INTERACTIVE
-
-#include
-
-/* Done after the current pattern has been matched and before the
- * corresponding action - sets up yytext.
- */
-#define YY_DO_BEFORE_ACTION \
- (yytext_ptr) = yy_bp; \
- yyleng = (size_t) (yy_cp - yy_bp); \
- (yy_hold_char) = *yy_cp; \
- *yy_cp = '\0'; \
- (yy_c_buf_p) = yy_cp;
-
-#define YY_NUM_RULES 19
-#define YY_END_OF_BUFFER 20
-/* This struct is not used in this scanner,
- but its presence is necessary. */
-struct yy_trans_info
- {
- flex_int32_t yy_verify;
- flex_int32_t yy_nxt;
- };
-static yyconst flex_int16_t yy_accept[278] =
- { 0,
- 15, 15, 2, 2, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 20, 17, 15, 16, 17, 17,
- 17, 17, 17, 17, 17, 17, 2, 3, 2, 15,
- 17, 17, 17, 17, 17, 17, 15, 17, 17, 17,
- 15, 17, 17, 17, 17, 15, 17, 17, 10, 17,
- 15, 15, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 2, 3,
- 2, 2, 2, 15, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 15, 0, 0, 0, 0,
- 0, 0, 0, 0, 15, 0, 0, 0, 0, 0,
-
- 0, 0, 0, 15, 0, 0, 10, 10, 11, 10,
- 11, 0, 18, 15, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 11,
- 0, 11, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 11, 0,
- 0, 5, 1, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 7, 0, 0, 0, 0, 0, 0,
- 0, 0, 5, 1, 0, 0, 6, 0, 0, 0,
-
- 0, 0, 7, 7, 7, 7, 0, 0, 9, 0,
- 0, 0, 0, 0, 0, 0, 6, 0, 0, 0,
- 0, 0, 7, 12, 9, 0, 0, 0, 0, 0,
- 14, 13, 0, 0, 0, 7, 12, 0, 0, 0,
- 0, 0, 0, 14, 13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 14, 8, 8, 0, 0, 0,
- 4, 0, 0, 8, 0, 0, 4, 4, 4, 4,
- 0, 0, 0, 4, 0, 4, 0
- } ;
-
-static yyconst YY_CHAR yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
- 1, 2, 2, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 2, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 5, 4, 5, 6, 4, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 4, 4, 4,
- 4, 4, 4, 4, 8, 9, 10, 11, 12, 13,
- 9, 9, 14, 9, 9, 15, 16, 17, 18, 19,
- 9, 20, 21, 22, 23, 24, 9, 25, 9, 9,
- 4, 4, 4, 4, 4, 4, 26, 9, 27, 28,
-
- 29, 30, 9, 9, 31, 9, 9, 32, 33, 34,
- 35, 36, 9, 37, 38, 39, 40, 41, 9, 42,
- 9, 9, 4, 4, 4, 4, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1
- } ;
-
-static yyconst YY_CHAR yy_meta[43] =
- { 0,
- 1, 2, 3, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2
- } ;
-
-static yyconst flex_uint16_t yy_base[285] =
- { 0,
- 0, 37, 3, 6, 74, 108, 12, 29, 39, 41,
- 54, 82, 20, 22, 550, 551, 142, 551, 531, 531,
- 539, 528, 510, 510, 517, 507, 43, 551, 539, 88,
- 523, 521, 515, 503, 501, 495, 67, 48, 527, 92,
- 95, 516, 520, 497, 501, 125, 72, 522, 127, 0,
- 526, 0, 509, 509, 517, 506, 488, 488, 495, 485,
- 504, 507, 507, 501, 483, 486, 486, 480, 93, 551,
- 99, 110, 509, 133, 493, 491, 474, 472, 466, 494,
- 484, 481, 474, 464, 461, 159, 108, 492, 171, 179,
- 146, 182, 190, 21, 191, 481, 485, 462, 466, 483,
-
- 473, 464, 454, 199, 134, 483, 205, 216, 214, 487,
- 223, 76, 0, 486, 469, 465, 473, 470, 448, 444,
- 452, 449, 466, 462, 465, 446, 442, 445, 111, 140,
- 466, 234, 465, 9, 456, 448, 437, 429, 144, 465,
- 459, 172, 445, 446, 441, 451, 424, 425, 420, 430,
- 449, 448, 435, 428, 427, 415, 444, 188, 242, 235,
- 251, 248, 152, 432, 437, 413, 418, 439, 192, 443,
- 429, 441, 440, 409, 430, 424, 436, 410, 404, 433,
- 191, 203, 427, 260, 426, 222, 414, 406, 395, 387,
- 263, 414, 425, 424, 394, 412, 421, 18, 393, 229,
-
- 414, 231, 272, 273, 418, 274, 283, 386, 402, 367,
- 207, 395, 285, 390, 370, 375, 394, 377, 355, 358,
- 288, 385, 292, 388, 386, 298, 304, 313, 305, 291,
- 385, 369, 333, 307, 321, 306, 307, 316, 276, 266,
- 323, 252, 324, 249, 237, 208, 146, 169, 330, 334,
- 336, 348, 337, 317, 168, 158, 551, 340, 350, 131,
- 362, 121, 360, 104, 86, 368, 370, 371, 69, 377,
- 353, 354, 55, 378, 45, 379, 551, 406, 409, 412,
- 414, 46, 417, 35
- } ;
-
-static yyconst flex_int16_t yy_def[285] =
- { 0,
- 278, 278, 279, 279, 278, 278, 278, 278, 278, 278,
- 278, 278, 280, 280, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 281, 277, 282, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 283,
- 283, 17, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 281, 277,
- 281, 281, 282, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
-
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 283, 283, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
-
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 284, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 284, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 0, 277, 277, 277,
- 277, 277, 277, 277
- } ;
-
-static yyconst flex_uint16_t yy_nxt[594] =
- { 0,
- 277, 17, 18, 16, 27, 28, 16, 27, 28, 19,
- 92, 20, 21, 37, 18, 134, 38, 39, 40, 198,
- 22, 51, 18, 51, 18, 133, 23, 134, 24, 25,
- 37, 18, 218, 38, 39, 40, 255, 26, 17, 18,
- 41, 18, 41, 18, 69, 70, 19, 73, 20, 21,
- 42, 276, 42, 88, 90, 46, 18, 22, 47, 48,
- 49, 274, 43, 23, 43, 24, 25, 44, 86, 44,
- 269, 87, 88, 89, 26, 30, 18, 106, 108, 45,
- 141, 45, 142, 46, 18, 31, 47, 48, 49, 74,
- 32, 33, 266, 92, 69, 70, 95, 93, 89, 75,
-
- 72, 277, 34, 94, 76, 264, 96, 35, 36, 30,
- 18, 72, 277, 88, 90, 157, 77, 158, 97, 31,
- 94, 78, 79, 98, 32, 33, 104, 263, 110, 105,
- 106, 107, 111, 107, 74, 99, 34, 268, 112, 106,
- 108, 35, 36, 52, 75, 131, 159, 92, 168, 76,
- 169, 53, 91, 54, 55, 112, 185, 129, 186, 264,
- 86, 77, 56, 87, 88, 89, 78, 79, 57, 244,
- 58, 59, 92, 140, 129, 249, 93, 89, 142, 60,
- 92, 257, 94, 92, 93, 90, 130, 131, 132, 92,
- 129, 92, 95, 140, 158, 201, 91, 202, 169, 94,
-
- 104, 129, 96, 105, 106, 107, 110, 129, 183, 203,
- 111, 107, 212, 226, 97, 140, 112, 110, 129, 98,
- 109, 111, 108, 161, 140, 139, 256, 139, 186, 109,
- 200, 99, 161, 112, 139, 161, 161, 202, 245, 162,
- 132, 160, 139, 161, 139, 163, 181, 162, 159, 161,
- 244, 139, 161, 181, 160, 182, 183, 184, 243, 181,
- 220, 205, 163, 181, 191, 206, 184, 211, 212, 213,
- 181, 207, 251, 205, 205, 205, 181, 206, 203, 204,
- 204, 240, 250, 221, 221, 221, 228, 222, 207, 223,
- 229, 213, 235, 205, 236, 242, 230, 243, 223, 228,
-
- 221, 221, 221, 229, 226, 228, 228, 205, 237, 238,
- 227, 227, 236, 230, 228, 238, 238, 239, 240, 241,
- 248, 262, 249, 263, 252, 228, 238, 236, 253, 241,
- 243, 228, 238, 238, 254, 252, 249, 252, 252, 253,
- 250, 247, 251, 251, 265, 258, 266, 258, 258, 252,
- 246, 254, 259, 260, 261, 260, 267, 273, 275, 274,
- 276, 252, 258, 269, 258, 258, 263, 270, 261, 252,
- 245, 269, 269, 271, 266, 270, 267, 268, 269, 269,
- 269, 272, 272, 268, 274, 276, 244, 225, 272, 237,
- 271, 223, 234, 232, 233, 217, 232, 231, 272, 272,
-
- 231, 227, 224, 225, 224, 272, 16, 16, 16, 29,
- 29, 29, 50, 50, 50, 71, 71, 113, 113, 205,
- 202, 219, 217, 216, 215, 194, 193, 214, 209, 210,
- 209, 208, 186, 204, 200, 197, 199, 198, 197, 196,
- 195, 194, 193, 192, 191, 169, 190, 189, 188, 187,
- 158, 180, 179, 178, 177, 176, 175, 173, 172, 174,
- 170, 173, 172, 171, 170, 142, 140, 167, 166, 165,
- 164, 134, 160, 156, 155, 154, 153, 152, 151, 150,
- 149, 148, 147, 146, 145, 144, 143, 114, 110, 109,
- 138, 137, 136, 135, 103, 102, 101, 100, 91, 128,
-
- 127, 126, 125, 124, 123, 85, 84, 83, 81, 80,
- 72, 122, 121, 120, 119, 118, 117, 116, 115, 68,
- 67, 66, 65, 64, 63, 62, 61, 114, 109, 103,
- 102, 101, 100, 91, 85, 84, 83, 82, 81, 80,
- 72, 68, 67, 66, 65, 64, 63, 62, 61, 277,
- 15, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277
-
- } ;
-
-static yyconst flex_int16_t yy_chk[594] =
- { 0,
- 0, 1, 1, 3, 3, 3, 4, 4, 4, 1,
- 134, 1, 1, 7, 7, 134, 7, 7, 7, 198,
- 1, 13, 13, 14, 14, 94, 1, 94, 1, 1,
- 8, 8, 198, 8, 8, 8, 284, 1, 2, 2,
- 9, 9, 10, 10, 27, 27, 2, 282, 2, 2,
- 9, 275, 10, 38, 38, 11, 11, 2, 11, 11,
- 11, 273, 9, 2, 10, 2, 2, 9, 37, 10,
- 269, 37, 37, 37, 2, 5, 5, 47, 47, 9,
- 112, 10, 112, 12, 12, 5, 12, 12, 12, 30,
- 5, 5, 265, 40, 69, 69, 41, 40, 40, 30,
-
- 71, 71, 5, 40, 30, 264, 41, 5, 5, 6,
- 6, 72, 72, 87, 87, 129, 30, 129, 41, 6,
- 40, 30, 30, 41, 6, 6, 46, 262, 49, 46,
- 46, 46, 49, 49, 74, 41, 6, 260, 49, 105,
- 105, 6, 6, 17, 74, 130, 130, 91, 139, 74,
- 139, 17, 91, 17, 17, 49, 163, 91, 163, 256,
- 86, 74, 17, 86, 86, 86, 74, 74, 17, 255,
- 17, 17, 89, 142, 91, 248, 89, 89, 142, 17,
- 90, 247, 89, 92, 90, 90, 92, 92, 92, 158,
- 90, 93, 95, 169, 158, 181, 93, 181, 169, 89,
-
- 104, 93, 95, 104, 104, 104, 107, 90, 182, 182,
- 107, 107, 211, 211, 95, 109, 107, 108, 93, 95,
- 109, 108, 108, 186, 111, 109, 246, 108, 186, 111,
- 200, 95, 202, 107, 111, 132, 160, 202, 245, 132,
- 132, 160, 109, 159, 108, 132, 160, 159, 159, 162,
- 244, 111, 161, 159, 162, 161, 161, 161, 242, 162,
- 200, 184, 132, 160, 191, 184, 184, 191, 191, 191,
- 159, 184, 240, 203, 204, 206, 162, 203, 203, 204,
- 206, 239, 239, 203, 204, 206, 213, 207, 184, 207,
- 213, 213, 221, 223, 221, 230, 213, 230, 223, 226,
-
- 203, 204, 206, 226, 226, 227, 229, 236, 237, 226,
- 227, 229, 236, 213, 228, 227, 229, 228, 228, 228,
- 238, 254, 238, 254, 241, 243, 226, 235, 241, 241,
- 243, 249, 227, 229, 241, 250, 249, 251, 253, 250,
- 250, 234, 251, 253, 258, 250, 258, 251, 253, 252,
- 233, 241, 252, 252, 252, 259, 259, 271, 272, 271,
- 272, 263, 250, 261, 251, 253, 263, 261, 261, 266,
- 232, 267, 268, 261, 266, 267, 267, 268, 270, 274,
- 276, 267, 268, 270, 274, 276, 231, 225, 270, 224,
- 261, 222, 220, 219, 218, 217, 216, 215, 267, 268,
-
- 214, 212, 210, 209, 208, 270, 278, 278, 278, 279,
- 279, 279, 280, 280, 280, 281, 281, 283, 283, 205,
- 201, 199, 197, 196, 195, 194, 193, 192, 190, 189,
- 188, 187, 185, 183, 180, 179, 178, 177, 176, 175,
- 174, 173, 172, 171, 170, 168, 167, 166, 165, 164,
- 157, 156, 155, 154, 153, 152, 151, 150, 149, 148,
- 147, 146, 145, 144, 143, 141, 140, 138, 137, 136,
- 135, 133, 131, 128, 127, 126, 125, 124, 123, 122,
- 121, 120, 119, 118, 117, 116, 115, 114, 110, 106,
- 103, 102, 101, 100, 99, 98, 97, 96, 88, 85,
-
- 84, 83, 82, 81, 80, 79, 78, 77, 76, 75,
- 73, 68, 67, 66, 65, 64, 63, 62, 61, 60,
- 59, 58, 57, 56, 55, 54, 53, 51, 48, 45,
- 44, 43, 42, 39, 36, 35, 34, 33, 32, 31,
- 29, 26, 25, 24, 23, 22, 21, 20, 19, 15,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277
-
- } ;
-
-/* The intent behind this definition is that it'll catch
- * any uses of REJECT which flex missed.
- */
-#define REJECT reject_used_but_not_detected
-#define yymore() yymore_used_but_not_detected
-#define YY_MORE_ADJ 0
-#define YY_RESTORE_YY_MORE_OFFSET
-#line 1 "triSurface/triSurface/interfaces/STL/readSTLASCII.L"
-/*--------------------------------*- C++ -*----------------------------------*\
- ========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
--------------------------------------------------------------------------------
-License
- This file is part of foam-extend.
-
- foam-extend is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
-
-\*---------------------------------------------------------------------------*/
-#line 27 "triSurface/triSurface/interfaces/STL/readSTLASCII.L"
-
-#undef yyFlexLexer
-
- /* ------------------------------------------------------------------------ *\
- ------ local definitions
- \* ------------------------------------------------------------------------ */
-
-#include "IFstream.H"
-#include "triSurface.H"
-#include "STLpoint.H"
-#include "OSspecific.H"
-
-using namespace Foam;
-
-// Dummy yyFlexLexer::yylex() to keep the linker happy. It is not called
-//! @cond dummy
-int yyFlexLexer::yylex()
-{
- FatalErrorIn("yyFlexLexer::yylex()")
- << "Should not have called this function"
- << abort(FatalError);
- return 0;
-}
-//! @endcond dummy
-
-// Dummy yywrap to keep yylex happy at compile time.
-// It is called by yylex but is not used as the mechanism to change file.
-// See <>
-//! @cond dummy
-#if YY_FLEX_MINOR_VERSION < 6 && YY_FLEX_SUBMINOR_VERSION < 34
-extern "C" int yywrap()
-#else
-int yyFlexLexer::yywrap()
-#endif
-{
- return 1;
-}
-//! @endcond dummy
-
-
-class STLLexer
-:
- public yyFlexLexer
-{
- // Private data
-
- label nTriangles_;
- short region_; // current region
- short maxRegion_; // max region
-
- label lineNo_;
- word startError_;
-
- DynamicList STLpoints_;
- //DynamicList STLnormals_;
- DynamicList