Skip to content

Commit

Permalink
Windows: CMake Clang Hints (.dll)
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 2, 2021
1 parent 812dc3e commit 3320736
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
@echo on

set "NM=llvm-nm.exe"
set "LD=lld-link.exe"
set "AR=llvm-ar.exe"
set "RANLIB=llvm-ranlib.exe"

:: simple install prep
:: copy all warpx*.exe and warpx*.dll files
Expand All @@ -11,6 +17,8 @@ for %%d in (2 3 RZ) do (
-DCMAKE_BUILD_TYPE=RelWithDebInfo ^
-DCMAKE_C_COMPILER=clang-cl ^
-DCMAKE_CXX_COMPILER=clang-cl ^
-DCMAKE_LINKER=%LD% ^
-DCMAKE_NM=%NM% ^
-DCMAKE_VERBOSE_MAKEFILE=ON ^
-DWarpX_openpmd_internal=OFF ^
-DWarpX_ASCENT=OFF ^
Expand Down

0 comments on commit 3320736

Please sign in to comment.