joular / joularjx

JoularJX is a Java-based agent for software power monitoring at the source code level.
https://www.noureddine.org/research/joular/joularjx
GNU General Public License v3.0
71 stars 17 forks source link

Command line instructions to build PowerMonitor #23

Closed aalmiray closed 1 year ago

aalmiray commented 1 year ago

Not a bug but a question: what would be required command to build PowerMonitor from the command line instead of VS.Code? I'm currently looking at automating the whole release process using GitHub actions. I've got the Java part all solved out, but missing the CPP part.

adelnoureddine commented 1 year ago

Hi, usually you can use msbuild on the vs project in the command line, but haven't tried it yet.

adelnoureddine commented 1 year ago

I've tested the cmd command, and you can build the release version of PowerMonitor with this command: msbuild.exe PowerMonitor.sln /property:Configuration=Release

aalmiray commented 1 year ago

Thank you for the follow up! I'll configure the build during the week and report back.

adelnoureddine commented 1 year ago

Compilation instructions added to README in develop branch.