group for Material project
This commit is contained in:
parent
020181a96c
commit
360b190f03
|
@ -6,7 +6,7 @@ SET(Material_SRCS
|
|||
importFCMat.py
|
||||
MaterialEditor.py
|
||||
)
|
||||
SOURCE_GROUP("" FILES ${Material_SRCS})
|
||||
SOURCE_GROUP("Module" FILES ${Material_SRCS})
|
||||
|
||||
# collect all the material cards:
|
||||
#FILE( GLOB MaterialLib_Files ./StandardMaterial/*.FCMat ./StandardMaterial/*.txt )
|
||||
|
@ -17,8 +17,9 @@ SET (MaterialLib_Files
|
|||
StandardMaterial/PLA.FCMat
|
||||
StandardMaterial/Readme.txt
|
||||
)
|
||||
SOURCE_GROUP("MatLib" FILES ${MaterialLib_Files})
|
||||
|
||||
SET(all_files ${Material_SRCS})
|
||||
SET(all_files ${Material_SRCS} ${MaterialLib_Files} )
|
||||
|
||||
ADD_CUSTOM_TARGET(Material ALL
|
||||
SOURCES ${all_files}
|
||||
|
@ -26,6 +27,7 @@ ADD_CUSTOM_TARGET(Material ALL
|
|||
|
||||
fc_copy_sources(Material "${CMAKE_BINARY_DIR}/Mod/Material" ${all_files})
|
||||
|
||||
|
||||
fc_target_copy_resource(Material
|
||||
${CMAKE_SOURCE_DIR}/src/Mod/Material
|
||||
${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Material
|
||||
|
|
Loading…
Reference in New Issue
Block a user