From 1dc453cdcad0293c471e5b074190b2ae36b4987c Mon Sep 17 00:00:00 2001 From: samparent97 Date: Wed, 17 Apr 2024 20:41:01 -0400 Subject: [PATCH] Add postbuild to raspi platform --- firmware/mcal/raspi/PostBuild.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/firmware/mcal/raspi/PostBuild.cmake b/firmware/mcal/raspi/PostBuild.cmake index bc63beba4..1f6f92042 100644 --- a/firmware/mcal/raspi/PostBuild.cmake +++ b/firmware/mcal/raspi/PostBuild.cmake @@ -1 +1,5 @@ -# empty \ No newline at end of file +add_custom_command( + TARGET main + POST_BUILD + COMMAND mv ./build/${PROJECT}/raspi/main ${PROJECT} +) \ No newline at end of file