|
This might be a strange question, but anyone who is familiar with these tools, is there a way to get the output of them written to a text file?
Here's the situation. I'm trying to compile freetype under the Arduino Framework using platformIO. But platformIO is its own build system and doesn't play nice with make and cmake
Freetype relies on cmake and make for building its project and they are very complicated scripts.
I want to therefore, run cmake with a particular configuration, and then get all of the commands it runs written to a text file so I can translate the output into some sort of configuration that PlatformIO will accept.
Does that make sense?
Real programmers use butterflies
|
|
|
|
|
Does this help: [CMake] Redirect standard output to file[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
No, that's to use CMake to execute a process and then redirect it to file
I'm trying to dump the shell commands CMake winds up executing to a file.
Real programmers use butterflies
|
|
|
|
|
I have not used CMake, but looking at cmake(1) — CMake 3.21.0-rc1 Documentation[^] it suggests that the actual command generation is handled by make, and you can pass options to it by preceding them with -- on the command line. So try
cmake <your parameters> -- -n
That should pass '-n' to make which tells it to print but not execute.
|
|
|
|
|
Thank you. I feel silly for missing that. I do RTFM but my eyes tend to glaze over unless i am coding at the same time.
Real programmers use butterflies
|
|
|
|
|
I only thought about it because I have been using nmake (nice and simple) a lot recently.
|
|
|
|
|
I believe I will wait until 2025 when support for Windows 10 is dropped.
Here's why:
- Most of the bugs in it will probably be fixed by then.
- I will not have to replace my hardware. By 2025 it won't be so painful.
- Whatever software that won't run on it will be known, making transitioning all of my code a one time occurence. Hopefully.
- I am tired of all the churning. This is my somewhat feeble protest.
- I don't see the point.
- I refuse to help debug windows 11 for Microsoft.
- I may be dead by then and it will be someone else's problem.
Newer isn't better, just different. And full of bugs.
|
|
|
|
|
If my home computer support it, I will update when it comes officially out. (ohhh shinny new thing)
I don't care that much in the grand scheme of life.
For my work computer, it's another story, as it is locked by corporate overlords, it will update magically one morning when they decide it looks safe enough to do it.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Slow Eddie wrote: Most of the bugs in it will probably be fixed by then.
I admire your optimism!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'm not doing it at all.
I have win10 on my DAW workstation with updates off because I was afraid the app I use (Cakewalk) would soon no longer load on the 7 that was running there.
I also have win10 as my lap machine where I do life support things for customer's drives, and found out that 7 chkdsk gets confused by 10's security descriptors and was causing issues.
Other than that, my dev pc, my bedtime story pc (youtube) and my POS stations
down at the shop are all running 7 as it just works without all that crap on top.
I'm going to be 60 soon so it matters little what OS I run. I cut my teeth on SCO unix so I have a particular bent that OS's should be our servants and not the other way around.
|
|
|
|
|
|
Richard Deeming wrote: I admire your optimism! Not to unrealistic.
What was omitted was the other piece of the equation: there will be some nice new bugs (and vulnerabilities) just waiting to be enjoyed.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I updated my Windows 7 to Fedora 19 like a decade ago...
Since then I have no problem whatsoever with Windows bugs and update patterns...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
What's Fedora 19 and does it sipport Visual Studio 2017?
Nice!
|
|
|
|
|
This is exactly why I am still viewing this in IE5 within Win95.
|
|
|
|
|
I have a machine still running XP!
Oh yes I do.
|
|
|
|
|
You miss a lot of sexy icons
|
|
|
|
|
"miss" or "don't receive" ?
I'm always subject to the second, but never the first. Elephant 'em and their marketing-driven strategies.
|
|
|
|
|
Slow Eddie wrote: Most of the bugs in it will probably be fixed by then.
In less than 5 years?
I find such optimism both refreshing and amusing. Why would they start such a thing now?
MS OSes become unsupported and obsolete and they still have plenty of bugs.
|
|
|
|
|
Probably create a VM with it to have a look. I am not doing any active Windows dev at the moment, so no real need. My primary OS is not Windows so no upgrade in sight anyway.
Microsoft is very creative in keeping their business models current. More power to them. Many of the businesses that create for the Windows OS will see an importunity to do the same. Life is good in the Windows eco$ystem.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
With the dropping of IE11, I'm concerned the old Microsoft Money will no longer work. I use MS Money to manage all my financial accounts.
|
|
|
|
|
I have a Windows XP 32-bit virtual machine built specifically for that sort of situation. Some software that I use occasionally will not install on 64-bit machines (probably something to do with a 16-bit installer).
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Slow Eddie wrote: Most of the bugs in it will probably be fixed by then.
What, in Microsoft's long history, gives you that idea? They're still busy introducing new bugs in Win10!
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
You are probably right.
But one can always hope.
"Out of the blue and into the black" - Neil Young
|
|
|
|
|
reminds me that Microsoft has known bugs that they have made public notices that they have zero intention of ever fixing. lol
|
|
|
|