mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
suport augs for modules that include full libraries
copies over .in and .cmake files for those cases when libraries themselves need to self-configure searches for a source/libs/libs.cmake file for any torque-specific confiugurations we need to make for a given library autoinclude any source/wrappers directory for unique to orque files, which will most commonly be data holder classes and script exposure, as well as adding those dirs to the #include listener list also ditches forcing warn levels to lowest for libraries since if folks are going to experiment, best tey know about anmy underlying things to avoid
This commit is contained in:
parent
69fa4b389f
commit
b3ddd712ce
2 changed files with 52 additions and 8 deletions
|
|
@ -33,7 +33,9 @@ endmacro()
|
|||
|
||||
function(installTemplate templateName)
|
||||
message("Prepare Template(${templateName}) install...")
|
||||
|
||||
|
||||
file(COPY "${CMAKE_SOURCE_DIR}/Templates/${templateName}/" DESTINATION "${TORQUE_APP_ROOT_DIRECTORY}" FILES_MATCHING PATTERN "*.in")
|
||||
file(COPY "${CMAKE_SOURCE_DIR}/Templates/${templateName}/" DESTINATION "${TORQUE_APP_ROOT_DIRECTORY}" FILES_MATCHING PATTERN "*.cmake")
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/Templates/${templateName}")
|
||||
endfunction()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue