2014-02-18 05:45:00 +01:00
|
|
|
project(util C)
|
|
|
|
|
|
|
|
SET(_TEST_FILES
|
2014-06-16 17:07:08 +02:00
|
|
|
base36.test.c
|
2014-12-22 14:21:24 +01:00
|
|
|
parser.test.c
|
2016-01-12 23:52:30 +01:00
|
|
|
password.test.c
|
2014-10-18 14:16:26 +02:00
|
|
|
attrib.test.c
|
2014-08-24 22:54:40 +02:00
|
|
|
strings.test.c
|
2014-06-16 17:07:08 +02:00
|
|
|
bsdstring.test.c
|
|
|
|
functions.test.c
|
|
|
|
umlaut.test.c
|
2014-10-19 06:42:40 +02:00
|
|
|
unicode.test.c
|
2015-01-14 22:33:58 +01:00
|
|
|
rng.test.c
|
2014-02-18 05:45:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
SET(_FILES
|
|
|
|
attrib.c
|
|
|
|
base36.c
|
|
|
|
bsdstring.c
|
|
|
|
crmessage.c
|
|
|
|
dice.c
|
|
|
|
event.c
|
|
|
|
filereader.c
|
|
|
|
functions.c
|
|
|
|
goodies.c
|
|
|
|
language.c
|
|
|
|
lists.c
|
|
|
|
log.c
|
|
|
|
message.c
|
|
|
|
nrmessage.c
|
|
|
|
parser.c
|
2016-01-12 23:52:30 +01:00
|
|
|
password.c
|
2014-02-18 05:45:00 +01:00
|
|
|
rand.c
|
|
|
|
resolve.c
|
|
|
|
strings.c
|
|
|
|
translation.c
|
|
|
|
umlaut.c
|
|
|
|
unicode.c
|
|
|
|
xml.c
|
|
|
|
)
|
|
|
|
FOREACH(_FILE ${_FILES})
|
|
|
|
LIST(APPEND _SOURCES ${PROJECT_NAME}/${_FILE})
|
|
|
|
ENDFOREACH(_FILE)
|
|
|
|
SET(UTIL_SRC ${_SOURCES} PARENT_SCOPE)
|
|
|
|
FOREACH(_FILE ${_TEST_FILES})
|
|
|
|
LIST(APPEND _TESTS ${PROJECT_NAME}/${_FILE})
|
|
|
|
ENDFOREACH(_FILE)
|
|
|
|
SET(UTIL_TESTS ${_TESTS} PARENT_SCOPE)
|