User forums > Help

Building project on command line with dependencies

<< < (3/3)

stahta01:
So, you decided not to try building the workspace. Per wiki it should work.

https://wiki.codeblocks.org/index.php/Code::Blocks_command_line_arguments

Tim S.

rgleim:

--- Quote from: rgleim on September 14, 2023, 11:40:49 pm ---Looks like what I'm gathering is that you can't build a single project on the command line and have it figure out the dependent projects, and then build those.  Workspace builds work because it has knowledge of all other projects. Command line looks like you need to specify each individual project, in the order you want, to create the final executable.

--- End quote ---


--- Quote from: rgleim on September 14, 2023, 11:32:36 pm ---I found the attached on the code::blocks wiki, but after setting up the external dependencies in the project, it's still not working on the command line.

Building the workspace works, but that doesn't work on the build machine because we don't save/have a workspace in the build system.

--- End quote ---

I did build the workspace. See bold from my previous posts.

Navigation

[0] Message Index

[*] Previous page

Go to full version