2020-06-04 01:47 AM
2020-06-04 05:11 AM
Of course. The IDE is just calling the compiler and linker. If you call the same commands with the same environment, it'll work. Might take some work to get set up correctly.
2020-06-04 05:38 AM
Isn't there an option to generate a makefile?
JW
2020-06-04 06:56 AM
Well, thats my problem, the makefile is auto-generated in the Debug directory. That directory you don't want to check in to git. So if you check out the project first time, there is no makefile. First you have to open CubeMX and build the project. There is an option for Eclipse (eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data C:\workspace -build MyProject/Debug) but it doesn't seems to work for CubeMX.
And of course, there is the option to write your own makefile as TDK suggested but I try easier options first....
2020-06-04 03:28 PM
Google Eclipse headless build
2020-06-05 12:10 AM
Forget it, I go for the makefile solution.
Thx for the replies...