audaspace/audaspace
CMakeLists.txt
:1204
add_custom_target(pythonmodule ALL DEPENDS build SOURCES ${PYTHON_SOURCE_DIRECTORY}/setup.py.in ${PYTHON_SRC} ${PYTHON_HDR})
add_custom_target(pythonmodule ALL DEPENDS build SOURCES ${PYTHON_SOURCE_DIRECTORY}/setup.py.in ${PYTHON_SRC} ${PYTHON_HDR})
add_custom_target(format
COMMAND clang-format --style=file -i $<TARGET_PROPERTY:yaml-cpp,SOURCES>
COMMAND_EXPAND_LISTS
COMMENT "Running clang-format"
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
VERBATIM)
add_custom_target(${name}-dependencies SOURCES ${dependencies})
add_custom_target(${plugin_name}-metadata SOURCES ${metadata_file})
add_custom_target(CorradeContainers-headers SOURCES
${CorradeContainers_HEADERS}
${CorradeContainers_PRIVATE_HEADERS})
add_custom_target(build-projectfile-deps SOURCES ${test-projectfile_SRC})
add_custom_target(build-translationhandler-deps SOURCES ${test-translationhandler_SRC})
add_custom_target(build-xmlreportv2-deps SOURCES ${test-xmlreportv2_SRC})
add_custom_target(triage-build-ui-deps SOURCES ${hdrs} ${uis_hdrs})
add_custom_target(
docs ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxy.cfg
WORKING_DIRECTORY ${EnTT_SOURCE_DIR}
VERBATIM
SOURCES
md/config.md
md/container.md
md/core.md
md/entity.md
md/faq.md
md/lib.md
md/links.md
md/locator.md
md/meta.md
md/poly.md
md/process.md
md/reference.md
md/resource.md
md/signal.md
md/unreal.md
doxy.in
)
add_custom_target (employee_db ALL DEPENDS employe2.fdb SOURCES ${files})
add_custom_target(html
COMMAND ${SPHINX_EXECUTABLE} -b html "${CMAKE_CURRENT_SOURCE_DIR}/doc/source" "${CMAKE_CURRENT_BINARY_DIR}/html"
SOURCES ${DOC_SOURCES})
add_custom_target(latex
COMMAND ${SPHINX_EXECUTABLE} -b latex "${CMAKE_CURRENT_SOURCE_DIR}/doc/source" "${CMAKE_CURRENT_BINARY_DIR}/latex"
SOURCES ${DOC_SOURCES})
add_custom_target(LibPack_Files ALL SOURCES ${FREECAD_LIBPACK_FILES})
add_custom_target(lazy_loader ALL SOURCES
${lazy_loader}
)
ADD_CUSTOM_TARGET(PreferencePackTemplates_data ALL
SOURCES ${PreferencePackTemplates_Files}
)
ADD_CUSTOM_TARGET(Stylesheets_data ALL
SOURCES ${Stylesheets_Files} ${Images_Files} ${Images_Files2} ${Overlay_Stylesheets_Files} ${Overlay_icons}
)
ADD_CUSTOM_TARGET(AssemblyScripts ALL
SOURCES ${all_files}
)
ADD_CUSTOM_TARGET(BIM ALL
SOURCES ${Arch_SRCS}
${Arch_QRC_SRCS}
${Dice3DS_SRCS}
${Arch_presets}
${ArchGuiIcon_SVG}
${importers_SRCS}
${bimcommands_SRCS}
${bimtests_SRCS}
${nativeifc_SRCS}
${BIMGuiIcon_SVG}
)
ADD_CUSTOM_TARGET(ImporterPythonTestData ALL
SOURCES ${ImportersSample_Files}
)
add_custom_target(CloudScripts ALL
SOURCES ${Cloud_Scripts}
)
ADD_CUSTOM_TARGET(Draft ALL
SOURCES ${Draft_SRCS_all} ${Draft_QRC_SRCS} ${DraftGuiIcon_SVG}
)
ADD_CUSTOM_TARGET(FemScriptsTarget ALL
SOURCES ${FemAllScripts}
)
ADD_CUSTOM_TARGET(FemGuiScriptsTarget ALL
SOURCES ${FemAllGuiScripts}
)
ADD_CUSTOM_TARGET(FemPythonUi ALL
SOURCES ${FemGuiPythonUI_SRCS}
)
ADD_CUSTOM_TARGET(Help ALL SOURCES ${Help_SRCS} ${Help_QRC_SRCS})
ADD_CUSTOM_TARGET(Idf ALL
SOURCES ${all_files}
)
#ADD_CUSTOM_TARGET(ImportRC ALL
# SOURCES ${Import_QRC_SRCS}
#)
add_custom_target(ImportScripts ALL
SOURCES ${Import_Scripts} ${DXF_Plate}
)
ADD_CUSTOM_TARGET(MaterialTest ALL
SOURCES ${MaterialTest_Files}
)
ADD_CUSTOM_TARGET(MaterialToolsLib ALL
SOURCES ${MaterialTools_Files}
)
ADD_CUSTOM_TARGET(MaterialLib ALL
SOURCES ${MaterialLib_Files}
)
ADD_CUSTOM_TARGET(FluidMaterialLib ALL
SOURCES ${FluidMaterial_Files}
)
ADD_CUSTOM_TARGET(AppearanceLib ALL
SOURCES ${AppearanceLib_Files}
)
ADD_CUSTOM_TARGET(PatternLib ALL
SOURCES ${PatternLib_Files}
)
ADD_CUSTOM_TARGET(MaterialTestLib ALL
SOURCES ${MaterialTestLib_Files}
)
ADD_CUSTOM_TARGET(MachiningLib ALL
SOURCES ${MachiningLib_Files}
)
ADD_CUSTOM_TARGET(MaterialModelLib ALL
SOURCES ${MaterialModel_Files}
)
add_custom_target(MeshScripts ALL
SOURCES ${Mesh_Scripts}
)
add_custom_target(MeshTestData ALL
SOURCES ${MeshTestDataFiles}
)
add_custom_target(PartScripts ALL SOURCES
${Part_Scripts}
${AttachmentEditor_Scripts}
${BasicShapes_Scripts}
${BOPTools_Scripts}
${CompoundTools_Scripts}
${Part_tests}
)
ADD_CUSTOM_TARGET(WizardShaft ALL
SOURCES ${all_wizardshaft_files}
)
ADD_CUSTOM_TARGET(Plot ALL
SOURCES ${all_files}
)
add_custom_target(RobotScripts ALL
SOURCES ${Robot_Scripts} ${Robot_Resources}
)
ADD_CUSTOM_TARGET(Show ALL
SOURCES ${Show_All_SRCS}
)
add_custom_target(StartScripts ALL
SOURCES ${Start_Scripts}
)
add_custom_target(SurfaceScripts ALL
SOURCES ${Surface_Scripts} ${Surface_TestScripts}
)
ADD_CUSTOM_TARGET(TDTestTarget ALL
SOURCES ${TDAllTest}
)
ADD_CUSTOM_TARGET(Test ALL
SOURCES ${Test_SRCS} ${TestData_SRCS}
)
ADD_CUSTOM_TARGET(Tux ALL
SOURCES ${Tux_SRCS} ${Tux_QRC_SRCS}
)
add_custom_target(WebScripts ALL
SOURCES ${Web_Scripts}
)
ADD_CUSTOM_TARGET(_TEMPLATEPY_ ALL
SOURCES ${_TEMPLATEPY__SRCS} ${_TEMPLATEPY__QRC_SRCS} ${_TEMPLATEPY_GuiIcon_SVG}
)
ADD_CUSTOM_TARGET(MaterialTestData ALL
SOURCES ${MaterialTestData_Files}
)
ADD_CUSTOM_TARGET(PartDesignTestData ALL
SOURCES ${PartDesignTestData_Files}
)
add_custom_target(
ALL_OTHER_FILES
SOURCES ${ALL_OTHER_FILES_LIST}
COMMENT "Target for IDE support to make the IDE aware of other files"
)
add_custom_target(${target}-sources SOURCES ${headers})
add_custom_target(docs ALL SOURCES "html/index.html")
add_custom_target(update_mappings
COMMAND "${CMAKE_COMMAND}" -P "${GLFW_SOURCE_DIR}/CMake/GenerateMappings.cmake" mappings.h.in mappings.h
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Updating gamepad mappings from upstream repository"
SOURCES mappings.h.in "${GLFW_SOURCE_DIR}/CMake/GenerateMappings.cmake"
VERBATIM)
add_custom_target(parsersources SOURCES ${PARSER_SOURCES})
add_custom_target(${TARGET_NAME}
COMMAND "${CMAKE_COMMAND}" -E make_directory "${OUT_DIR}"
COMMAND ${DOXYGEN_EXECUTABLE} "${doxyfile}"
DEPENDS "${doxyfile}"
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
COMMENT "Building doxygen documentation."
VERBATIM
SOURCES "${DOXYFILE_IN}"
)
add_custom_target(mkvkformatfiles
DEPENDS ${mkvkformatfiles_output}
SOURCES ${mkvkformatfiles_input}
)
add_custom_target(makevk2dfd
DEPENDS ${makevk2dfd_output}
SOURCES ${makevk2dfd_input}
)
add_custom_target(makevk2gl
DEPENDS ${makevk2gl_output}
SOURCES ${makedvk2gl_input}
)
add_custom_target(mkvk SOURCES ${CMAKE_CURRENT_LIST_FILE})
#add_custom_target( loadtest_models
# SOURCES ${LOAD_TEST_COMMON_MODELS}
#)
add_custom_target(
${shader_target}
DEPENDS
${vert2spirv_out}
${frag2spirv_out}
SOURCES
${vert2spirv_in}
${frag2spirv_in}
)
add_custom_target(
doc ALL
DEPENDS html ${DOC_BUILD_STATIC_DIR}/mathjax/es5
SOURCES ${LAMMPS_DOC_DIR}/utils/requirements.txt ${DOC_SOURCES}
)
add_custom_target(
webpage ALL
COMMAND ${HUGO_PATH}
--verbose
--source ${CMAKE_SOURCE_DIR}/webpage
--destination ${CMAKE_CURRENT_BINARY_DIR}/public
SOURCES ${WEBPAGE_SOURCE_FILES}
)
add_custom_target(example_java_${file} ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${file}.class
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/${file}.java
)
add_custom_target(example_arrays_java_${file} ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${file}.class
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/${file}.java
)
add_custom_target(example_layout_java_${file} ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${file}.class
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/${file}.java
)
add_custom_target(example_qual_java_${file} ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${file}.class
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/${file}.java
)
add_custom_target(example_render_java_${file} ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${file}.class
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/${file}.java
)
add_custom_target(example_spatial_java_${file} ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${file}.class
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/${file}.java
)
add_custom_target(MagnumAnimation SOURCES ${MagnumAnimation_HEADERS})
add_custom_target(MagnumMathAlgorithms SOURCES ${MagnumMathAlgorithms_HEADERS})
add_custom_target("Other_mlt++_Files" SOURCES
mlt++.pc.in
mlt++.vers
)
add_custom_target(Other_avformat_Files SOURCES
${YML}
blacklist.txt
yuv_only.txt
)
add_custom_target(Other_gdk_Files SOURCES
${YML}
)
add_custom_target(Other_jackrack_Files SOURCES
${YML}
)
add_custom_target(Other_kdenlive_Files SOURCES
${YML}
)
add_custom_target(Other_oldfilm_Files SOURCES
${YML}
)
add_custom_target(Other_opencv_Files SOURCES
${YML}
)
add_custom_target(Other_plus_Files SOURCES
${YML}
)
add_custom_target(Other_plsugpl_Files SOURCES
${YML}
)
add_custom_target(Other_${ARG_TARGET}_Files SOURCES
${YML}
)
add_custom_target(Other_sdl2_Files SOURCES
${YML}
)
add_custom_target(Other_spatialaudio_Files SOURCES
${YML}
)
add_custom_target(Other_vidstab_Files SOURCES
${YML}
)
add_custom_target(Other_vorbis_Files SOURCES
${YML}
)
add_custom_target(Other_xine_Files SOURCES
${YML}
)
add_custom_target(${PROJECT_NAME} ALL
DEPENDS "${OCCT_GENERATED_DOC_DIR}/overview/html/occt_logo.png" ${OCCT_OVERVIEW_FILES}
SOURCES ${OCCT_ARTICLES_ABSPATH}
VERBATIM
)
add_custom_target( run_test_zcomplexabs
COMMAND test_zcomplexabs 2> test_zcomplexabs.err
WORKING_DIRECTORY ${LAPACK_BINARY_DIR}/INSTALL
COMMENT "Running test_zcomplexabs in ${LAPACK_BINARY_DIR}/INSTALL with stderr: test_zcomplexabs.err"
SOURCES ${LAPACK_SOURCE_DIR}/INSTALL/test_zcomplexabs.f )
add_custom_target( run_test_zcomplexdiv
COMMAND test_zcomplexdiv 2> test_zcomplexdiv.err
WORKING_DIRECTORY ${LAPACK_BINARY_DIR}/INSTALL
COMMENT "Running test_zcomplexdiv in ${LAPACK_BINARY_DIR}/INSTALL with stderr: test_zcomplexdiv.err"
SOURCES ${LAPACK_SOURCE_DIR}/INSTALL/test_zcomplexdiv.f )
add_custom_target( run_test_zcomplexmult
COMMAND test_zcomplexmult 2> test_zcomplexmult.err
WORKING_DIRECTORY ${LAPACK_BINARY_DIR}/INSTALL
COMMENT "Running test_zcomplexmult in ${LAPACK_BINARY_DIR}/INSTALL with stderr: test_zcomplexmult.err"
SOURCES ${LAPACK_SOURCE_DIR}/INSTALL/test_zcomplexmult.f )
add_custom_target( run_test_zminMax
COMMAND test_zminMax 2> test_zminMax.err
WORKING_DIRECTORY ${LAPACK_BINARY_DIR}/INSTALL
COMMENT "Running test_zminMax in ${LAPACK_BINARY_DIR}/INSTALL with stderr: test_zminMax.err"
SOURCES ${LAPACK_SOURCE_DIR}/INSTALL/test_zminMax.f )
add_custom_target(
apidoc
ALL
COMMENT
"Building API Documentation"
COMMAND
doxygen ${PROJECT_BINARY_DIR}/doc/opencc.doxy
SOURCES
${PROJECT_BINARY_DIR}/doc/opencc.doxy
)
add_custom_target(gen-pkgconfig ALL SOURCES "${CMAKE_BINARY_DIR}/unix-install/${OPENCV_PC_FILE_NAME}")
add_custom_target(${target} ALL SOURCES "${android_proj_bin_dir}/bin/${target}-debug.apk" )
add_custom_target(android_sample_${__dir} ALL DEPENDS "${OPENCV_DEPHELPER}/android_sample_${__dir}" SOURCES "${ANDROID_SAMPLE_MANIFEST_PATH}")