Skip to content

Building on Windows #4657

@MikeGameDev

Description

@MikeGameDev

I'm on Windows using VS2015 and I'm trying to figure out what kind of options I have for building. The project is pretty large (100+ source files) and it's windows only, so we don't have any Make or Cmake files, we just use visual studio.

So far the options I have come across are:

  • Manually writing a Makefile (or CMake) and passing that into emmake
  • Passing a list of source files into emcc

The second option is the one I'm interested in since it seems like it would be the easiest to do, after all the Visual Studio IDE must have some way to pass the list of source files into it's compiler, right? If I could figure out how to get the list of source files, I can write a custom build event in VS to invoke emcc. Is this a viable approach, or am I just way to naive?

Anyways I was just hoping to get some insight as to how others go about building a VS only project.

Any help would be appreciated, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions