build: Flatten the directory structure
This commit is contained in:
parent
5e4c268b1a
commit
af046f15cd
12
build.bat
12
build.bat
@ -25,11 +25,7 @@ pushd Build
|
|||||||
echo [ERROR] cl is not found, please put MSVC's cl on the path
|
echo [ERROR] cl is not found, please put MSVC's cl on the path
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
cl %compile_flags% %msvc_flags% %code_dir%dqn_unit_tests.cpp /Fe:dqn_unit_tests_msvc %link_flags%
|
||||||
if not exist msvc mkdir msvc
|
|
||||||
pushd msvc
|
|
||||||
cl %compile_flags% %msvc_flags% %code_dir%dqn_unit_tests.cpp %link_flags%
|
|
||||||
popd
|
|
||||||
|
|
||||||
REM Compiler: clang-cl
|
REM Compiler: clang-cl
|
||||||
REM ------------------------------------------------------------------------
|
REM ------------------------------------------------------------------------
|
||||||
@ -37,9 +33,5 @@ pushd Build
|
|||||||
echo [WARN] Optional clang compile via clang-cl if it's in the path, please put clang-cl on the path for this feature
|
echo [WARN] Optional clang compile via clang-cl if it's in the path, please put clang-cl on the path for this feature
|
||||||
exit /b 0
|
exit /b 0
|
||||||
)
|
)
|
||||||
|
clang-cl %compile_flags% %clang_flags% %code_dir%dqn_unit_tests.cpp /Fe:dqn_unit_tests_clang %link_flags%
|
||||||
if not exist clang mkdir clang
|
|
||||||
pushd clang
|
|
||||||
clang-cl %compile_flags% %clang_flags% %code_dir%dqn_unit_tests.cpp %link_flags%
|
|
||||||
popd
|
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user