PROJECT(spells C) SET(_FILES alp.c borders.c buildingcurse.c combatspells.c regioncurse.c shipcurse.c unitcurse.c ) FOREACH(_FILE ${_FILES}) LIST(APPEND _SOURCES ${PROJECT_NAME}/${_FILE}) ENDFOREACH(_FILE) SET(SPELLS_SRC ${_SOURCES} PARENT_SCOPE)