I’m able to compile successfully on windows, but all output files are written to project_root
, not /priv
…
Do i need to modify Makefile.win
? or is there a config step i have missed?
Makefile.win
all: tgx_nif.dll
tgx_nif.dll:
cl.exe /I "C:/Program Files/erl-23.0/erts-11.0/include/" /LD src/tgx_nif.c
log
C:\Projects\tgx_nif>mix compile --verbose
==> elixir_make
Compiling 1 file (.ex)
Generated elixir_make app
==> tgx_nif
Compiling with make: nmake /F Makefile.win
Microsoft (R) Program Maintenance Utility Version 14.26.28805.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl.exe /I "C:/Program Files/erl-23.0/erts-11.0/include/" /LD src/tgx_nif.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28805 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
tgx_nif.c
Microsoft (R) Incremental Linker Version 14.26.28805.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:tgx_nif.dll
/dll
/implib:tgx_nif.lib
tgx_nif.obj
Creating library tgx_nif.lib and object tgx_nif.exp
Compiling 1 file (.ex)
Compiled lib/tgx_nif.ex
Generated tgx_nif app
Consolidated List.Chars
Consolidated Collectable
Consolidated IEx.Info
Consolidated String.Chars
Consolidated Enumerable
Consolidated Inspect
C:\Projects\tgx_nif>
Thanks.