server/src/attributes/CMakeLists.txt
Enno Rehling e72155a563 WIP: reimplemented production modifiers.
The system itself seems to work, but some Lua tests are still failing.
2017-04-02 14:43:53 +02:00

33 lines
564 B
CMake

PROJECT(attributes C)
SET(_TEST_FILES
stealth.test.c
key.test.c
otherfaction.test.c
)
SET(_FILES
attributes.c
fleechance.c
follow.c
hate.c
iceberg.c
key.c
moved.c
movement.c
dict.c
otherfaction.c
overrideroads.c
racename.c
raceprefix.c
reduceproduction.c
stealth.c
targetregion.c
)
FOREACH(_FILE ${_FILES})
LIST(APPEND _SOURCES ${PROJECT_NAME}/${_FILE})
ENDFOREACH(_FILE)
SET(ATTRIBUTES_SRC ${_SOURCES} PARENT_SCOPE)
FOREACH(_FILE ${_TEST_FILES})
LIST(APPEND _TESTS ${PROJECT_NAME}/${_FILE})
ENDFOREACH(_FILE)
SET(ATTRIBUTES_TESTS ${_TESTS} PARENT_SCOPE)