2014-02-18 05:45:00 +01:00
|
|
|
project(util C)
|
|
|
|
|
|
|
|
SET(_TEST_FILES
|
2016-04-10 13:22:51 +02:00
|
|
|
attrib.test.c
|
2014-06-16 17:07:08 +02:00
|
|
|
base36.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
bsdstring.test.c
|
|
|
|
# crmessage.test.c
|
|
|
|
# dice.test.c
|
|
|
|
# event.test.c
|
|
|
|
# filereader.test.c
|
|
|
|
functions.test.c
|
2016-02-13 12:51:50 +01:00
|
|
|
gamedata.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
# goodies.test.c
|
2016-09-04 21:27:36 +02:00
|
|
|
language.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
# lists.test.c
|
|
|
|
# log.test.c
|
2017-01-06 20:54:57 +01:00
|
|
|
message.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
# nrmessage.test.c
|
2014-12-22 14:21:24 +01:00
|
|
|
parser.test.c
|
2016-01-12 23:52:30 +01:00
|
|
|
password.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
# rand.test.c
|
|
|
|
# resolve.test.c
|
|
|
|
rng.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
|
2016-05-01 13:36:00 +02:00
|
|
|
log.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
# translation.test.c
|
2014-06-16 17:07:08 +02:00
|
|
|
umlaut.test.c
|
2014-10-19 06:42:40 +02:00
|
|
|
unicode.test.c
|
2017-02-24 17:51:35 +01:00
|
|
|
variant.test.c
|
2016-04-10 13:22:51 +02:00
|
|
|
# xml.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
|
2016-02-13 13:42:02 +01:00
|
|
|
gamedata.c
|
2014-02-18 05:45:00 +01:00
|
|
|
goodies.c
|
|
|
|
language.c
|
|
|
|
lists.c
|
|
|
|
log.c
|
|
|
|
message.c
|
2016-09-04 10:47:21 +02:00
|
|
|
mt19937ar.c
|
2014-02-18 05:45:00 +01:00
|
|
|
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
|
2017-02-24 15:48:49 +01:00
|
|
|
variant.c
|
2014-02-18 05:45:00 +01:00
|
|
|
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)
|