Skip to content

[Feature Request] Specify run directory #2121

Closed
Closed
@Samuraien2

Description

@Samuraien2

I needed an executable that would load some files to accompany it. The problem is that the c3c run command runs the executable from your the project directory and not the build directory. Therefore the paths were different for the executable.

build/
├ executable
├ required_file.txt

Could we add an extra field to project.json where you could either specify where to run at or if you should run from build directory or project directory?

Currently i have to do
c3c compile
cd build
./run
cd ..

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions