Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Designer/APP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ add_custom_command(TARGET ${PROJECT_NAME} PRE_BUILD
)

set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER "Designer/APP")

set_target_properties(SolidDesignerRes PROPERTIES FOLDER "Designer/APP")

set (CMAKE_INSTALL_PREFIX "${INSTALL_DIR}/INSTALL" CACHE INTERNAL "" FORCE)

Expand Down
8 changes: 3 additions & 5 deletions Designer/UI/SolidDesignerCommand/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,14 @@ add_custom_command(
COMMENT "Generating SolidDesignerCommands.h"
)

add_custom_target(GenerateSolidDesignerCommands DEPENDS ${COMMANDS_HDR})
add_dependencies(SolidDesignerCommand GenerateSolidDesignerCommands)
add_custom_target(SolidDesignerCommandsId DEPENDS ${COMMANDS_HDR})
add_dependencies(SolidDesignerCommand SolidDesignerCommandsId)

# 可选:让 IDE 看到生成文件
target_sources(SolidDesignerCommand PRIVATE ${COMMANDS_HDR})
set_source_files_properties(${COMMANDS_HDR} PROPERTIES GENERATED TRUE)




set_target_properties(SolidDesignerCommandsId PROPERTIES FOLDER "Designer/UI")


#-----------------------------------------------------------------------------
Expand Down
Loading