Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Jan 3, 2018
1 parent 4852b3c commit 186064c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
23 changes: 14 additions & 9 deletions recipes/vs2008_runtime/bld.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
cmake -G "%CMAKE_GENERATOR%" ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_INSTALL_OPENMP_LIBRARIES:BOOL=ON ^
"%RECIPE_DIR%"
if errorlevel 1 exit 1
for %%F in ("." "bin") do (
cmake -G "%CMAKE_GENERATOR%" ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_INSTALL_DEBUG_LIBRARIES:BOOL="OFF" ^
-DCMAKE_INSTALL_DEBUG_LIBRARIES_ONLY:BOOL="OFF" ^
-DCMAKE_INSTALL_OPENMP_LIBRARIES:BOOL="ON" ^
-DCMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION:STRING=%%F ^
"%RECIPE_DIR%"
if errorlevel 1 exit 1

cmake --build "%SRC_DIR%" ^
--target INSTALL ^
--config Release
if errorlevel 1 exit 1
cmake --build "%SRC_DIR%" ^
--target INSTALL ^
--config Release
if errorlevel 1 exit 1
)
1 change: 1 addition & 0 deletions recipes/vs2008_runtime/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ test:
"vcomp90"
] %}
{% for each_lib in libs %}
- if not exist "%PREFIX%\\Library\\{{ each_lib }}.dll" exit 1
- if not exist "%PREFIX%\\Library\\bin\\{{ each_lib }}.dll" exit 1
{% endfor %}

Expand Down

0 comments on commit 186064c

Please sign in to comment.