dascandy / evoke

Magic build tool
Apache License 2.0
166 stars 17 forks source link

Windows #40

Closed MoAlyousef closed 5 years ago

MoAlyousef commented 5 years ago

It should work now. Only tested it for small executables. Doesn't yet build evoke itself (could be an external dependency problem, namely can't find boost). However, evoke on windows should be run via the "developer command prompt" application since that's where the build environment variables are stored in windows. Running from a simple command prompt or the powershell would throw a boost process error because it wouldn't find the compiler.

dascandy commented 5 years ago

I noticed you made adding "-Llib" conditional on the folder existing. I was wondering why? This would make the executable link fail on the first attempt & have different commands depending on whether or not this folder exists - which I think is wrong.

MoAlyousef commented 5 years ago

I noticed you made adding "-Llib" conditional on the folder existing. I was wondering why? This would make the executable link fail on the first attempt & have different commands depending on whether or not this folder exists - which I think is wrong.

Hmm. I actually got an error message on mac OS, even though the build succeeded. I've just tried removing the conditional on windows and no error message. So I'll modify it back.