2014-02-18 05:45:00 +01:00
|
|
|
project(kernel C)
|
|
|
|
|
|
|
|
SET(_TEST_FILES
|
2014-12-09 14:43:11 +01:00
|
|
|
alliance.test.c
|
2014-06-29 01:19:46 +02:00
|
|
|
build.test.c
|
2014-06-25 16:22:39 +02:00
|
|
|
config.test.c
|
2014-10-31 19:15:26 +01:00
|
|
|
group.test.c
|
2014-08-20 07:00:58 +02:00
|
|
|
faction.test.c
|
2014-08-26 20:06:28 +02:00
|
|
|
unit.test.c
|
2014-08-14 05:06:36 +02:00
|
|
|
save.test.c
|
2014-06-16 17:07:08 +02:00
|
|
|
ship.test.c
|
|
|
|
spell.test.c
|
|
|
|
ally.test.c
|
|
|
|
building.test.c
|
|
|
|
equipment.test.c
|
|
|
|
curse.test.c
|
|
|
|
item.test.c
|
2014-08-16 23:23:37 +02:00
|
|
|
order.test.c
|
2014-06-16 17:07:08 +02:00
|
|
|
pool.test.c
|
2014-08-24 21:49:55 +02:00
|
|
|
race.test.c
|
2014-06-16 17:07:08 +02:00
|
|
|
spellbook.test.c
|
|
|
|
curse.test.c
|
|
|
|
jsonconf.test.c
|
2015-01-15 16:40:19 +01:00
|
|
|
messages.test.c
|
2014-02-18 05:45:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
SET(_FILES
|
|
|
|
alliance.c
|
|
|
|
ally.c
|
|
|
|
build.c
|
|
|
|
building.c
|
|
|
|
command.c
|
|
|
|
config.c
|
|
|
|
connection.c
|
|
|
|
curse.c
|
|
|
|
equipment.c
|
|
|
|
faction.c
|
|
|
|
group.c
|
|
|
|
item.c
|
2014-06-09 18:54:48 +02:00
|
|
|
messages.c
|
2014-02-18 05:45:00 +01:00
|
|
|
order.c
|
|
|
|
pathfinder.c
|
|
|
|
plane.c
|
|
|
|
pool.c
|
|
|
|
race.c
|
|
|
|
region.c
|
|
|
|
resources.c
|
|
|
|
save.c
|
|
|
|
ship.c
|
2014-06-21 08:59:04 +02:00
|
|
|
skills.c
|
2014-02-18 05:45:00 +01:00
|
|
|
spellbook.c
|
|
|
|
spell.c
|
|
|
|
teleport.c
|
|
|
|
terrain.c
|
|
|
|
unit.c
|
|
|
|
xmlreader.c
|
2014-06-08 07:17:48 +02:00
|
|
|
jsonconf.c
|
2014-02-18 05:45:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
FOREACH(_FILE ${_FILES})
|
|
|
|
LIST(APPEND _SOURCES ${PROJECT_NAME}/${_FILE})
|
|
|
|
ENDFOREACH(_FILE)
|
|
|
|
SET(KERNEL_SRC ${_SOURCES} PARENT_SCOPE)
|
|
|
|
FOREACH(_FILE ${_TEST_FILES})
|
|
|
|
LIST(APPEND _TESTS ${PROJECT_NAME}/${_FILE})
|
|
|
|
ENDFOREACH(_FILE)
|
|
|
|
SET(KERNEL_TESTS ${_TESTS} PARENT_SCOPE)
|