mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
cmake cleaned
This commit is contained in:
parent
9720838763
commit
7a4cc5c622
2 changed files with 0 additions and 135 deletions
|
@ -93,23 +93,6 @@ set(SOURCE_FILES
|
|||
add_executable(${PROJECT_NAME}
|
||||
${SOURCE_FILES})
|
||||
|
||||
#add_custom_command(TARGET template_folder POST_BUILD
|
||||
# COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
# "${CMAKE_CURRENT_SOURCE_DIR}/src/templates" "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
#
|
||||
#add_custom_target(template_folder
|
||||
# ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/templates")
|
||||
#
|
||||
#ADD_DEPENDENCIES(${PROJECT_NAME}
|
||||
# template_folder)
|
||||
|
||||
#file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/src/templates"
|
||||
# DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
#
|
||||
#include(copy_files)
|
||||
#copy_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates/ *.html ${CMAKE_CURRENT_BINARY_DIR})
|
||||
#
|
||||
|
||||
macro(configure_files srcDir destDir)
|
||||
message(STATUS "Configuring directory ${destDir}")
|
||||
make_directory(${destDir})
|
||||
|
@ -130,28 +113,6 @@ endmacro(configure_files)
|
|||
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates ${CMAKE_CURRENT_BINARY_DIR}/templates)
|
||||
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates/css ${CMAKE_CURRENT_BINARY_DIR}/templates/css)
|
||||
|
||||
#macro(copy_files GLOBPAT DESTINATION)
|
||||
#
|
||||
# message(STATUS "Configuring directory ${DESTINATION}")
|
||||
#
|
||||
# file(GLOB COPY_FILES
|
||||
# RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
# ${GLOBPAT})
|
||||
# add_custom_target(copy ALL
|
||||
# COMMENT "Copying files: ${GLOBPAT}")
|
||||
#
|
||||
# foreach(FILENAME ${COPY_FILES})
|
||||
# set(SRC "${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}")
|
||||
# set(DST "${DESTINATION}/${FILENAME}")
|
||||
#
|
||||
# add_custom_command(
|
||||
# TARGET copy
|
||||
# COMMAND ${CMAKE_COMMAND} -E copy ${SRC} ${DST}
|
||||
# )
|
||||
# endforeach(FILENAME)
|
||||
#endmacro(copy_files)
|
||||
#
|
||||
#copy_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
myxrm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue