Paweł Bylica
8 years ago
3 changed files with 1 additions and 33 deletions
@ -1,14 +0,0 @@ |
|||
# adds possibility to run configure_file as buildstep |
|||
# reference: |
|||
# http://www.cmake.org/pipermail/cmake/2012-May/050227.html |
|||
# |
|||
# This module expects |
|||
# INFILE |
|||
# OUTFILE |
|||
# other custom vars |
|||
# |
|||
# example usage: |
|||
# cmake -DINFILE=blah.in -DOUTFILE=blah.out -Dvar1=value1 -Dvar2=value2 -P scripts/configure.cmake |
|||
|
|||
configure_file(${INFILE} ${OUTFILE}) |
|||
|
@ -1,18 +0,0 @@ |
|||
# this module expects |
|||
# DLLS |
|||
# CONF |
|||
# DESTINATION |
|||
|
|||
# example usage: |
|||
# cmake -DDLL_DEBUG=xd.dll -DDLL_RELEASE=x.dll -DCONFIGURATION=Release -DDESTINATION=dest -P scripts/copydlls.cmake |
|||
|
|||
# this script is created cause we do not know configuration in multiconfiguration generators at cmake configure phase ;) |
|||
|
|||
if ("${CONF}" STREQUAL "Debug") |
|||
set(DLL ${DLL_DEBUG}) |
|||
else () |
|||
set(DLL ${DLL_RELEASE}) |
|||
endif() |
|||
|
|||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${DLL}" "${DESTINATION}") |
|||
|
Loading…
Reference in new issue