equal
deleted
inserted
replaced
1 file(GLOB BaseMusic *.ogg) |
1 file(GLOB BaseMusic *.ogg) |
2 |
2 |
3 list(LENGTH BaseMusic PlayListLength) |
3 list(LENGTH BaseMusic PlayListLength) |
4 |
4 |
5 set(PlayListINCFile ${hedgewars_SOURCE_DIR}/hedgewars/playlist.inc) |
5 set(PlayListINCFile ${CMAKE_BINARY_DIR}/hedgewars/playlist.inc) |
6 |
6 |
7 file(WRITE ${PlayListINCFile} "const cPlayListLength = " ${PlayListLength} ";") |
7 file(WRITE ${PlayListINCFile} "const cPlayListLength = " ${PlayListLength} ";") |
8 |
8 |
9 if(PlayListLength GREATER 0) |
9 if(PlayListLength GREATER 0) |
10 file(APPEND ${PlayListINCFile} "{$DEFINE HAVE_MUSIC}") |
10 file(APPEND ${PlayListINCFile} "{$DEFINE HAVE_MUSIC}") |