Fix: Exclude MacroCodeGenIdl.cmake and CODEGEN_WRITE_SERVICEFILE_INFO from release scope build
- CodeGen module is excluded from release scope (S set) - Release scope modules (TetraIF, Z, Lts/Common subset) do not use CODEGEN macros - Wrapping include and macro call in RELEASE_BUILD conditional prevents ngl_codegen target reference - Resolves: make: *** No rule to make target 'ngl_codegen'. Stop. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 file changed
+7
-2
@@ -51,7 +51,10 @@ IF (BUILD_DOCS)
|
||||
ENDIF()
|
||||
|
||||
# Ensure codegen macros are available before calling CODEGEN_* helpers
|
||||
INCLUDE(MacroCodeGenIdl)
|
||||
# Skip for release builds as CodeGen module is excluded and not needed
|
||||
IF(NOT RELEASE_BUILD)
|
||||
INCLUDE(MacroCodeGenIdl)
|
||||
ENDIF()
|
||||
|
||||
# Add stub headers for non-RTI/non-FilterManagement builds
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../include/AudioVideoManagement/)
|
||||
@@ -63,4 +66,6 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../include/LtsScriptTimeline/)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../include/LtsUtilsGuiDds/)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../include/Services/PresentationManagement/)
|
||||
|
||||
CODEGEN_WRITE_SERVICEFILE_INFO()
|
||||
IF(NOT RELEASE_BUILD)
|
||||
CODEGEN_WRITE_SERVICEFILE_INFO()
|
||||
ENDIF()
|
||||
Reference in new issue
Block a user