mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-17 03:11:51 +03:00
25 lines
976 B
CMake
25 lines
976 B
CMake
# TODO: OSX and LIB_ONLY seem to require this to go to binary dir only
|
|
set(BIN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
|
|
|
set(synclib_NAME ${APPLICATION_EXECUTABLE}sync)
|
|
|
|
add_subdirectory(libsync)
|
|
if (NOT BUILD_LIBRARIES_ONLY)
|
|
add_subdirectory(gui)
|
|
add_subdirectory(cmd)
|
|
endif(NOT BUILD_LIBRARIES_ONLY)
|
|
|
|
find_program(KRAZY2_EXECUTABLE krazy2)
|
|
if(KRAZY2_EXECUTABLE)
|
|
# s/y k/y ALL k/ for building this target always
|
|
add_custom_target( krazy krazy2 --check-sets c++,qt4,foss
|
|
${PROJECT_SOURCE_DIR}/src/libsync/*.ui
|
|
${PROJECT_SOURCE_DIR}/src/libsync/*.h
|
|
${PROJECT_SOURCE_DIR}/src/libsync/*.cpp
|
|
${PROJECT_SOURCE_DIR}/src/gui/*.ui
|
|
${PROJECT_SOURCE_DIR}/src/gui/*.h
|
|
${PROJECT_SOURCE_DIR}/src/gui/*.cpp
|
|
${PROJECT_SOURCE_DIR}/src/cmd/*.h
|
|
${PROJECT_SOURCE_DIR}/src/cmd/*.cpp
|
|
)
|
|
endif()
|