-
Couldn't load subscription status.
- Fork 30
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently there are two ways to extract the compilation and linking information from the project
- automatic, if the project has
CMakeList.txt - manual, if the project has any other build procedure.
Let implement the thirds automatic way, if the the project has the utbot_build.sh script in the project root.
The utbot_build.sh script is implemented by author of the project and build the project into the build project folder.
Here the build project folder is the folder that is mentioned as a build folder in the UTBotCpp wizard setup.
Then the procedure of UTBotCpp configuration is following:
- UTBotCpp creates the build folder at the configuration stage as it made it earlier
- UTBotCpp is looking for the
utbot_build.shscript at the project root and if does not exists, returns to fallback scenario - If the
utbot_build.shscript exists, UTBotCpp creates the wrapper scriptutbot_configure.shin the build folder with the context
#!/bin/bash
# This file is automatically generated by UnitTestBot. For further information see https://unittestbot.org
cd ..
./utbot_build.sh
The wrapper need for the run of bear configurator from the build folder.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done