updated the template cmakelists.txt file to use variables from toolchain files.

This commit is contained in:
Jake Goodwin 2026-02-24 19:02:09 -08:00
parent 8bde6dd87b
commit d1891143e3

View file

@ -14,6 +14,13 @@ if(NOT UNIT_TESTING)
target_link_libraries(module_name
RegEdit
)
#These get defined in the toolchain files.
target_compile_options(module_name PUBLIC
${OBJECT_GEN_FLAGS}
${C_FLAGS_ARCH}
)
else()
target_include_directories(module_name PUBLIC
${CMAKE_CURRENT_LIST_DIR}