Mercurial > projects > ldc
comparison runtime/CMakeLists.txt @ 829:0a31c60a6bc1
.. and fixed the install target (hopefully)
author | elrood |
---|---|
date | Fri, 05 Dec 2008 22:01:50 +0100 |
parents | 03b0c817a1a3 |
children | 1a8c6eedd7fd |
comparison
equal
deleted
inserted
replaced
828:03b0c817a1a3 | 829:0a31c60a6bc1 |
---|---|
72 message(SEND_ERROR "ldc not found") | 72 message(SEND_ERROR "ldc not found") |
73 endif(NOT LDC_LOC) | 73 endif(NOT LDC_LOC) |
74 set(LDC_EXE_NAME ${LDC_EXE}) | 74 set(LDC_EXE_NAME ${LDC_EXE}) |
75 endif(NOT LDC_LOC) | 75 endif(NOT LDC_LOC) |
76 | 76 |
77 configure_file(${PROJECT_PARENT_DIR}/${LDC_EXE}.conf.in ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE_NAME}.conf) | 77 configure_file(${PROJECT_PARENT_DIR}/${LDC_EXE}.conf.in ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE}.conf) |
78 | 78 |
79 # patch runtime source, uses LDC_EXE for ldc / ldc2 | 79 # patch runtime source, uses LDC_EXE for ldc / ldc2 |
80 find_program(PATCH_EXE patch DOC "path to patch tool") | 80 find_program(PATCH_EXE patch DOC "path to patch tool") |
81 if(NOT PATCH_EXE) | 81 if(NOT PATCH_EXE) |
82 message(STATUS "patch tool not found, can't automatically patch runtime sources for ldc") | 82 message(STATUS "patch tool not found, can't automatically patch runtime sources for ldc") |
175 LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/../lib | 175 LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/../lib |
176 ) | 176 ) |
177 | 177 |
178 # BCLIBS is empty if BUILD_BC_LIBS is not selected | 178 # BCLIBS is empty if BUILD_BC_LIBS is not selected |
179 add_custom_target(runtime DEPENDS ${LIBS} ${BCLIBS}) | 179 add_custom_target(runtime DEPENDS ${LIBS} ${BCLIBS}) |
180 | |
181 install(DIRECTORY ${PROJECT_BINARY_DIR}/../lib DESTINATION .) |