diff options
| author | Dirk Ziegelmeier <[email protected]> | 2018-04-30 22:29:07 +0200 |
|---|---|---|
| committer | Dirk Ziegelmeier <[email protected]> | 2018-04-30 22:29:07 +0200 |
| commit | f116bc37d13cde8f0c759c99a0e6d7ce92134f7a (patch) | |
| tree | fb6f4041bfced2b70ff2b3c3db6b9b77a8f03b88 /test | |
| parent | 9672b4c3af152d99c7ed5bff0a530c9adc79fe8b (diff) | |
Cleanups in CMake files
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/Filelists.cmake | 37 |
1 files changed, 8 insertions, 29 deletions
diff --git a/test/unit/Filelists.cmake b/test/unit/Filelists.cmake index e1cabab3..a1eb123e 100644 --- a/test/unit/Filelists.cmake +++ b/test/unit/Filelists.cmake @@ -1,33 +1,12 @@ +# This file is indended to be included in end-user CMakeLists.txt +# include(/path/to/Filelists.cmake) +# It assumes the variable LWIP_DIR is defined pointing to the +# root path of lwIP sources. # -# Copyright (c) 2001, 2002 Swedish Institute of Computer Science. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# 3. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -# SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY -# OF SUCH DAMAGE. -# -# This file is part of the lwIP TCP/IP stack. -# -# Author: Adam Dunkels <[email protected]> -# +# This file is NOT designed (on purpose) to be used as cmake +# subdir via add_subdirectory() +# The intention is to provide greater flexibility to users to +# create their own targets using the *_SRCS variables. set(LWIP_TESTDIR ${LWIP_DIR}/test/unit) set(LWIP_TESTFILES |
