diff options
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index dfed8b51d..906c486fd 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -15,11 +15,23 @@ if (DEFINED ENV{CI}) | |||
| 15 | set(BUILD_TAG $ENV{AZURE_REPO_TAG}) | 15 | set(BUILD_TAG $ENV{AZURE_REPO_TAG}) |
| 16 | endif() | 16 | endif() |
| 17 | endif() | 17 | endif() |
| 18 | if (DEFINED ENV{TITLEBARFORMATIDLE}) | ||
| 19 | set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE}) | ||
| 20 | endif () | ||
| 21 | if (DEFINED ENV{TITLEBARFORMATRUNNING}) | ||
| 22 | set(TITLE_BAR_FORMAT_RUNNING $ENV{TITLEBARFORMATRUNNING}) | ||
| 23 | endif () | ||
| 24 | if (DEFINED ENV{DISPLAYVERSION}) | ||
| 25 | set(DISPLAY_VERSION $ENV{DISPLAYVERSION}) | ||
| 26 | endif () | ||
| 18 | add_custom_command(OUTPUT scm_rev.cpp | 27 | add_custom_command(OUTPUT scm_rev.cpp |
| 19 | COMMAND ${CMAKE_COMMAND} | 28 | COMMAND ${CMAKE_COMMAND} |
| 20 | -DSRC_DIR="${CMAKE_SOURCE_DIR}" | 29 | -DSRC_DIR="${CMAKE_SOURCE_DIR}" |
| 21 | -DBUILD_REPOSITORY="${BUILD_REPOSITORY}" | 30 | -DBUILD_REPOSITORY="${BUILD_REPOSITORY}" |
| 31 | -DTITLE_BAR_FORMAT_IDLE="${TITLE_BAR_FORMAT_IDLE}" | ||
| 32 | -DTITLE_BAR_FORMAT_RUNNING="${TITLE_BAR_FORMAT_RUNNING}" | ||
| 22 | -DBUILD_TAG="${BUILD_TAG}" | 33 | -DBUILD_TAG="${BUILD_TAG}" |
| 34 | -DBUILD_ID="${DISPLAY_VERSION}" | ||
| 23 | -P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" | 35 | -P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" |
| 24 | DEPENDS | 36 | DEPENDS |
| 25 | # WARNING! It was too much work to try and make a common location for this list, | 37 | # WARNING! It was too much work to try and make a common location for this list, |
| @@ -60,9 +72,15 @@ add_custom_command(OUTPUT scm_rev.cpp | |||
| 60 | "${VIDEO_CORE}/shader/decode/video.cpp" | 72 | "${VIDEO_CORE}/shader/decode/video.cpp" |
| 61 | "${VIDEO_CORE}/shader/decode/warp.cpp" | 73 | "${VIDEO_CORE}/shader/decode/warp.cpp" |
| 62 | "${VIDEO_CORE}/shader/decode/xmad.cpp" | 74 | "${VIDEO_CORE}/shader/decode/xmad.cpp" |
| 75 | "${VIDEO_CORE}/shader/ast.cpp" | ||
| 76 | "${VIDEO_CORE}/shader/ast.h" | ||
| 63 | "${VIDEO_CORE}/shader/control_flow.cpp" | 77 | "${VIDEO_CORE}/shader/control_flow.cpp" |
| 64 | "${VIDEO_CORE}/shader/control_flow.h" | 78 | "${VIDEO_CORE}/shader/control_flow.h" |
| 79 | "${VIDEO_CORE}/shader/compiler_settings.cpp" | ||
| 80 | "${VIDEO_CORE}/shader/compiler_settings.h" | ||
| 65 | "${VIDEO_CORE}/shader/decode.cpp" | 81 | "${VIDEO_CORE}/shader/decode.cpp" |
| 82 | "${VIDEO_CORE}/shader/expr.cpp" | ||
| 83 | "${VIDEO_CORE}/shader/expr.h" | ||
| 66 | "${VIDEO_CORE}/shader/node.h" | 84 | "${VIDEO_CORE}/shader/node.h" |
| 67 | "${VIDEO_CORE}/shader/node_helper.cpp" | 85 | "${VIDEO_CORE}/shader/node_helper.cpp" |
| 68 | "${VIDEO_CORE}/shader/node_helper.h" | 86 | "${VIDEO_CORE}/shader/node_helper.h" |