Compare commits

..

No commits in common. "95363f375e401ae2b85ce36712440c4f58749f3f" and "a58ed1564e1da31d0873e28d00b357e63f64bbc2" have entirely different histories.

3 changed files with 5 additions and 16 deletions

View file

@ -17,8 +17,8 @@ if(NOT UNIT_TESTING)
#These get defined in the toolchain files. #These get defined in the toolchain files.
target_compile_options(module_name PUBLIC target_compile_options(module_name PUBLIC
#${OBJECT_GEN_FLAGS} ${OBJECT_GEN_FLAGS}
#${C_FLAGS_ARCH} ${C_FLAGS_ARCH}
) )
else() else()

View file

@ -266,7 +266,7 @@ add_c_module () {
sed -i '' -e "3s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.c sed -i '' -e "3s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.c
sed -e "s/module_name/${modname_cap}/" $MODULE_DIR/module_name.h > $modsrc_dir/${modname}.h sed -e "s/module_name/${modname_cap}/" $MODULE_DIR/module_name.h > $modsrc_dir/${modname}.h
sed -i '' -e "5s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.h sed -i '' -e "3s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.h
sed -e "s/module_name/${modname}/" $MODULE_DIR/CMakeLists.txt > $modsrc_dir/CMakeLists.txt sed -e "s/module_name/${modname}/" $MODULE_DIR/CMakeLists.txt > $modsrc_dir/CMakeLists.txt
@ -281,7 +281,7 @@ add_c_module () {
sed -i '' -e "3s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.c sed -i '' -e "3s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.c
sed -e "s/module_name/${modname_cap}/" $MODULE_DIR/module_name.h > $modsrc_dir/${modname}.h sed -e "s/module_name/${modname_cap}/" $MODULE_DIR/module_name.h > $modsrc_dir/${modname}.h
sed -i '' -e "5s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.h sed -i '' -e "3s/todays_date/$(date +%Y)/" $modsrc_dir/${modname}.h
sed -e "s/module_name/${modname}/" $MODULE_DIR/CMakeLists.txt > $modsrc_dir/CMakeLists.txt sed -e "s/module_name/${modname}/" $MODULE_DIR/CMakeLists.txt > $modsrc_dir/CMakeLists.txt

View file

@ -1,14 +1,3 @@
add_executable(${PROJECT_NAME} add_executable(main
main.c main.c
) )
target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/inc/
)
target_link_libraries(${PROJECT_NAME} PRIVATE
#???
)