Compiling the USETUP module standalone

Ask your support questions in here

Moderator: Moderator Team

Post Reply
User avatar
Fraizeraust
Posts: 233
Joined: Thu Jan 05, 2017 11:46 am
Location: Italy
Contact:

Compiling the USETUP module standalone

Post by Fraizeraust »

Is it possible to compile the USETUP module without having to build the whole ReactOS source code? For example, I want to make code changes in the text-mode setup and it'd be a pain building ReactOS for every code edit I do.

ThFabba
Developer
Posts: 291
Joined: Sun Jul 11, 2010 11:39 am

Re: Compiling the USETUP module standalone

Post by ThFabba »

ninja usetup

User avatar
Fraizeraust
Posts: 233
Joined: Thu Jan 05, 2017 11:46 am
Location: Italy
Contact:

Re: Compiling the USETUP module standalone

Post by Fraizeraust »

Oh, I thought ninja would not let you building it. That's good.

The thing is, the actual code change I want to do is visual related and I must look at the said visual changes. The ninja will just build usetup as in a executable form and I don't know what should I do with it. Maybe if I copy usetup.exe to the ReactOS ISO image would do something?

ThFabba
Developer
Posts: 291
Joined: Sun Jul 11, 2010 11:39 am

Re: Compiling the USETUP module standalone

Post by ThFabba »

You can replace reactos\system32\smss.exe with your modified usetup, yes.
However after you run "ninja bootcd" once, you can iterate on usetup and follow-up "ninja bootcd" runs should be fast.

User avatar
Fraizeraust
Posts: 233
Joined: Thu Jan 05, 2017 11:46 am
Location: Italy
Contact:

Re: Compiling the USETUP module standalone

Post by Fraizeraust »

Yeah, that works neatly. Thank you Thomas, you're helpful as usual!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests