On Wed, Jul 8, 2020 at 10:26 PM Shachar Langbeheim <[email protected]> wrote: > In our project we have a single cmake project, with multiple targets - > backend & tests executables are built with clang, wasm with emscripten. It > works ok - not perfect, because we still need to add a lot of if statements > to handle the different files that belong in different executables, and the > different compilation and linking flags for each target, but it works.
Interesting, I didn't think that was possible, at least not with the standard CMake commands. Do you just use `add_custom_command` to drive command-line tools directly, rather than (e.g.) `add_library()` and friends? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAM%3Ddnve7Ve_gc6TNfHkjHBx0vGVc4EAmaHQ2L4CU%2B2_H-2hfCw%40mail.gmail.com.
