8 add_library (editcase MODULE ${SOURCES})
10 target_link_libraries(editcase utils far2l)
12 target_compile_definitions(editcase PRIVATE -DWINPORT_DIRECT -DUNICODE -DFAR_DONT_USE_INTERNALS)
14 target_include_directories(editcase PRIVATE .)
15 target_include_directories(editcase PRIVATE ../far2l/far2sdk)
16 target_include_directories(editcase PRIVATE ../WinPort)
18 set_target_properties(editcase
20 LIBRARY_OUTPUT_DIRECTORY "${INSTALL_DIR}/Plugins/editcase/plug"
22 SUFFIX ".far-plug-wide")
25 add_custom_command(TARGET editcase POST_BUILD
26 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/configs
27 COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/configs "${INSTALL_DIR}/Plugins/editcase"