Skip to content

Commit

Permalink
CPPSDK: proceed to install only the build is successfully done and so…
Browse files Browse the repository at this point in the history
…me cleanup (#169)
  • Loading branch information
HaseenaSainul authored Feb 23, 2024
1 parent 6c20a90 commit 50031be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
2 changes: 0 additions & 2 deletions languages/cpp/templates/modules/src/module_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,5 @@ namespace ${info.Title} {

namespace WPEFramework {


/* ${ENUMS} */

}${end.if.enums}
4 changes: 1 addition & 3 deletions languages/cpp/templates/schemas/src/module_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@

namespace WPEFramework {


/* ${ENUMS} */

}${end.if.enums}
}${end.if.enums}
6 changes: 5 additions & 1 deletion languages/cpp/templates/sdk/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ then
rm -rf ${SdkPath}/build
fi

rm -rf ${SdkPath}/build/src/libFireboltSDK.so
cmake -B${SdkPath}/build -S${SdkPath} -DSYSROOT_PATH=${SysrootPath} -DENABLE_TESTS=${EnableTest} -DHIDE_NON_EXTERNAL_SYMBOLS=OFF -DFIREBOLT_ENABLE_STATIC_LIB=${EnableStaticLib}
cmake --build ${SdkPath}/build
cmake --install ${SdkPath}/build --prefix=${SdkPath}/build/Firebolt/usr
if [ -f "${SdkPath}/build/src/libFireboltSDK.so" ];
then
cmake --install ${SdkPath}/build --prefix=${SdkPath}/build/Firebolt/usr
fi
5 changes: 0 additions & 5 deletions languages/cpp/templates/sections/enum.cpp

This file was deleted.

0 comments on commit 50031be

Please sign in to comment.