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:
AzaezelX 2025-01-02 10:27:09 -06:00
parent 69fa4b389f
commit b3ddd712ce
2 changed files with 52 additions and 8 deletions

View file

@ -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()