User forums > Using Code::Blocks

Can CB use a linux shell script to build a project?

<< < (3/6) > >>

oBFusCATed:
In which dialog are you setting the order?

Marnix:
project -> properties -> tab 'build targets' -> button 're-order'

I'm on version 13.12

oBFusCATed:
The codeblocks projects use this technique and the order is from top to bottom.
I doubt we changed this since 13.12, but who knows.
It is best to try the latest version.

sodev:
Why so complicated? I am doing multi-project builds with CodeBlocks for many years now, i never needed virtual targets or sort anything, build order is determined automatically by project dependencies.

(Granted, i currently don't remember how to define these and in some dark days in the past that didnt work and i had to mess around with external dependencies. But i removed these hacks a long time ago from my modified PreMake that generates the CodeBlocks project files for me for many years now :) )

Marnix:
I believe my situation is different. I only have 1 project in which I build a library and an application. The linker needs the library for the application, so the library must be build before the application.

I don't have multiple projects with dependencies.

Anyway, it's not a big deal. I can build the project by listing the application build target first. I just wondered why it didn't work like oBFusCATed said.

I think I'll upgrade to the latest version and see what happens then.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version