new keyboard navigation method now is default
[far2l.git] / compare / CMakeLists.txt
blob8e7d185a5ed8cc71ee86fdb32538aa80ee9852d0
2 project(editcase)
4 set(SOURCES
5 src/Compare.cpp 
8 add_library (compare MODULE ${SOURCES})
10 target_link_libraries(compare utils far2l)
12 target_compile_definitions(compare PRIVATE -DWINPORT_DIRECT -DUNICODE -DFAR_DONT_USE_INTERNALS)
14 target_include_directories(compare PRIVATE .)
15 target_include_directories(compare PRIVATE ../WinPort)
16 target_include_directories(compare PRIVATE ../far2l/far2sdk)
18 set_target_properties(compare 
19     PROPERTIES
20         LIBRARY_OUTPUT_DIRECTORY "${INSTALL_DIR}/Plugins/compare/plug"
21         PREFIX ""
22         SUFFIX ".far-plug-wide")
25 add_custom_command(TARGET compare POST_BUILD
26     DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/configs
27     COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/configs "${INSTALL_DIR}/Plugins/compare"