updated the template cmakelists.txt file to use variables from toolchain files.
This commit is contained in:
parent
8bde6dd87b
commit
d1891143e3
1 changed files with 7 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue