add_executable(<name> <options>... <sources>...) add_executable(<name> IMPORTED [GLOBAL]) add_executable(<name> ALIAS <target>)
add_executable(<name> <options>... <sources>...) add_executable(<name> IMPORTED [GLOBAL]) add_executable(<name> ALIAS <target>)
add_executable(${GAME_NAME} ${EXEC_TYPE}
${GAME_SRC} ${Apple_Resources}
)
ADD_EXECUTABLE(${MODULE_NAME} ${ALL_FILES} CMakeLists.txt)
ADD_EXECUTABLE(solver2 solver2.cpp solver2_meat.cpp solver_options.cpp solver_utils.cpp aux_functions.cpp calib_tuple.cpp gsl_jacobian.cpp)
ADD_EXECUTABLE(helmetwil2png ${HELMETWIL2PNG_SRC})
add_executable(
SCION_ENGINE
"src/main.cpp"
"src/Runtime.h"
"src/Runtime.cpp"
)
add_executable(Viry3DApp
${VIRY3D_APP_SRCS}
${VIRY3D_APP_SRC_DIR}/../project/mac/Main.m
${VIRY3D_APP_SRC_DIR}/../project/mac/AppDelegate.m
${VIRY3D_APP_SRC_DIR}/../project/mac/ViewController.mm
${VIRY3D_APP_SRC_DIR}/../project/mac/app/Assets.xcassets
${VIRY3D_APP_SRC_DIR}/../bin/Assets
${VIRY3D_LIB_SRC_DIR}/ffmpeg/bin/mac/libavcodec.58.dylib
${VIRY3D_LIB_SRC_DIR}/ffmpeg/bin/mac/libavformat.58.dylib
${VIRY3D_LIB_SRC_DIR}/ffmpeg/bin/mac/libavutil.56.dylib
${VIRY3D_LIB_SRC_DIR}/ffmpeg/bin/mac/libswresample.3.dylib
${VIRY3D_LIB_SRC_DIR}/ffmpeg/bin/mac/libswscale.5.dylib
)
add_executable(${TARGET_EXE_DEBUG} ${ASPECT_ALL_SOURCE_FILES})
add_executable(${CEF_HELPER_TARGET} MACOSX_BUNDLE "${CMAKE_CURRENT_SOURCE_DIR}/WebView/WebProcessHelperMac.cpp")
add_executable(ImathHalfPerfTest half_perf_test.cpp)
add_executable(${TEST_EXECUTABLE_NAME} ${test_file})
add_executable(check-image check.cxx)
add_executable(PrusaSlicer PrusaSlicer.cpp ${SLIC3R_CLI_SOURCES})
add_executable(Base_tests_run
Axis.cpp
Base64.cpp
Bitmask.cpp
BoundBox.cpp
Builder3D.cpp
Color.cpp
CoordinateSystem.cpp
DualNumber.cpp
DualQuaternion.cpp
FileInfo.cpp
Handle.cpp
Matrix.cpp
Parameter.cpp
Placement.cpp
Quantity.cpp
Reader.cpp
Rotation.cpp
SchemaTests.cpp
ServiceProvider.cpp
Stream.cpp
TimeInfo.cpp
Tools.cpp
Tools2D.cpp
Tools3D.cpp
UnlimitedUnsigned.cpp
UniqueNameManager.cpp
Unit.cpp
Vector3D.cpp
ViewProj.cpp
Writer.cpp
)
add_executable(spbenchsolver spbenchsolver.cpp)
add_executable(performance_raycast src/performance_raycast.cpp)
add_executable(loopwave loopwave.c)
add_executable( 010-TestCase
010-TestCase.cpp
)
add_executable(${_TEST_NAME}_tests
${_TEST_NAME}_tests.cpp
test_3mf.cpp
test_aabbindirect.cpp
test_clipper_offset.cpp
test_clipper_utils.cpp
test_config.cpp
test_elephant_foot_compensation.cpp
test_geometry.cpp
test_placeholder_parser.cpp
test_polygon.cpp
test_mutable_polygon.cpp
test_mutable_priority_queue.cpp
test_stl.cpp
test_meshboolean.cpp
test_marchingsquares.cpp
test_timeutils.cpp
test_voronoi.cpp
test_optimizers.cpp
test_png_io.cpp
test_timeutils.cpp
test_indexed_triangle_set.cpp
../libnest2d/printer_parts.cpp
)
add_executable(app ${SOURCE_FILES})
add_executable(hintsToPot
HintsToPot.cpp)
add_executable(openal-info utils/openal-info.c)
add_executable(${EXECUTABLE_NAME} ${PROJECT_SOURCE_FILES} ${PROJECT_HEADER_FILES})
add_executable(${example} ${example_src})
add_executable(bgklvoctomap_static_node
${BGKLV_SOURCE_FILES}
${COMMON_SOURCE_FILES}
src/bgklvoctomap/bgklvoctomap_static_node.cpp
)
add_executable(gui-static WIN32 main_gui.c)
add_executable(EmbedTool EmbedTool.cpp)
add_executable(unittests ${test_src})
add_executable(${dir} ${SRC})
add_executable(stereo_tum_vi
Examples/Stereo/stereo_tum_vi.cc)
add_executable (RotatedCalibrationAPIExample
${Files}
)
add_executable(coarse_tracker_test coarse_tracker_test.cc)
add_executable(plycmd plycmd.cc)
ADD_EXECUTABLE( assimp_simpletexturedogl WIN32
SimpleTexturedOpenGL/src/model_loading.cpp
${SAMPLES_SHARED_CODE_DIR}/UTFConverter.cpp
${SAMPLES_SHARED_CODE_DIR}/UTFConverter.h
)
add_executable(CapturedStdoutInTestCaseEvents ${TESTS_DIR}/X27-CapturedStdoutInTestCaseEvents.cpp)
add_executable(${PROJECT_NAME}
${ECAL_CORE_PROJECT_ROOT}/core/cfg/generate_configuration_yaml.cpp
${ECAL_CORE_PROJECT_ROOT}/core/src/config/configuration_writer.cpp
${ECAL_CORE_PROJECT_ROOT}/core/src/config/default_configuration.cpp
${ECAL_CORE_PROJECT_ROOT}/core/src/config/ecal_path_processing.cpp
)
add_executable(
${targetProject}
${XWIN_FILES}
)
add_executable(${test_name} ${test_name}.cpp)
add_executable(test-database
Artist.cpp
ArtistInfo.cpp
Artwork.cpp
AuthToken.cpp
Cluster.cpp
Common.cpp
DatabaseTest.cpp
Directory.cpp
Image.cpp
Listen.cpp
Medium.cpp
Migration.cpp
PlayListFile.cpp
Podcast.cpp
RatedArtist.cpp
RatedRelease.cpp
RatedTrack.cpp
Release.cpp
ScanSettings.cpp
StarredArtist.cpp
StarredRelease.cpp
StarredTrack.cpp
Track.cpp
TrackArtistLink.cpp
TrackBookmark.cpp
TrackEmbeddedImage.cpp
TrackFeatures.cpp
TrackList.cpp
TrackLyrics.cpp
User.cpp
)
add_executable(LLVMFuzzer-${name}
${add_libfuzzer_test_SOURCES}
)
ADD_EXECUTABLE(vnsDirectionalCorrectionTest1 ${SRCS1})
add_executable(${PROJECT_NAME} WIN32 ${default_icon_src} ${default_entry_point} ${default_sample_files} ${config_file} ${cas_src} ${cas_shaders})
add_executable(mono_inertial_realsense_t265_old
Examples_old/Monocular-Inertial/mono_inertial_realsense_t265.cc)
add_executable(mono_tum_vi
Examples/Monocular/mono_tum_vi.cc)
add_executable(arguments.debugger.window WIN32
${SHELLANYTHING_EXPORT_HEADER}
${SHELLANYTHING_VERSION_HEADER}
${SHELLANYTHING_CONFIG_HEADER}
${REFRESH_DEBUG_ARGS_WIN_RESOURCE_FILES}
arguments.cpp
arguments.h
framework.h
gui.cpp
targetver.h
)
add_executable(hydrogen WIN32 MACOSX_BUNDLE ${hydrogen_SRCS} ${hydrogen_MOC} ${hydrogen_UIS_H} ${CMAKE_SOURCE_DIR}/windows/icon.rc)
add_executable( intro_denoiser
${IMGUI}
${HEADERS}
${SOURCES}
${SHADERS_HEADERS}
${SHADERS}
${PROGRAM_MODULES}
)
add_executable(${example_name} source/LuaBridge.cpp)
add_executable( ${bench_name} ${bench_file} )
add_executable(${example} ${example_src})
add_executable( ${testname} ${testsourcefile} )
add_executable(supernova
server/main.cpp
${supernova_headers}
# these files contain code only used in main()
${CMAKE_SOURCE_DIR}/common/SC_ServerBootDelayWarning.cpp
$<$<BOOL:${APPLE}>: ${CMAKE_SOURCE_DIR}/common/SC_AppleEventLoop.mm >
)
add_executable(main-tests
# Tooling
testing-tools/random.cpp
# General utilities tests
is_stable.cpp
rebind_iterator_category.cpp
sort_array.cpp
sorter_facade.cpp
sorter_facade_constexpr.cpp
sorter_facade_defaults.cpp
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:sorter_facade_fptr.cpp>
sorter_facade_iterable.cpp
stable_sort_array.cpp
# Adapters tests
adapters/container_aware_adapter.cpp
adapters/container_aware_adapter_forward_list.cpp
adapters/container_aware_adapter_list.cpp
adapters/counting_adapter.cpp
adapters/drop_merge_adapter_every_sorter.cpp
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:adapters/every_adapter_fptr.cpp>
adapters/every_adapter_internal_compare.cpp
adapters/every_adapter_non_const_compare.cpp
adapters/every_adapter_stateful_sorter.cpp
adapters/every_adapter_tricky_difference_type.cpp
adapters/hybrid_adapter_is_stable.cpp
adapters/hybrid_adapter_many_sorters.cpp
adapters/hybrid_adapter_nested.cpp
adapters/hybrid_adapter_partial_compare.cpp
adapters/hybrid_adapter_sfinae.cpp
adapters/indirect_adapter.cpp
adapters/indirect_adapter_every_sorter.cpp
adapters/mixed_adapters.cpp
adapters/return_forwarding.cpp
adapters/schwartz_adapter_every_sorter.cpp
adapters/schwartz_adapter_every_sorter_reversed.cpp
adapters/schwartz_adapter_fixed_sorters.cpp
adapters/self_sort_adapter.cpp
adapters/self_sort_adapter_no_compare.cpp
adapters/small_array_adapter.cpp
adapters/small_array_adapter_is_stable.cpp
adapters/split_adapter_every_sorter.cpp
adapters/stable_adapter_every_sorter.cpp
adapters/verge_adapter_every_sorter.cpp
# Metrics tests
metrics/comparisons.cpp
metrics/moves.cpp
metrics/projections.cpp
metrics/running_time.cpp
# Comparators tests
comparators/case_insensitive_less.cpp
comparators/flip_not.cpp
comparators/natural_less.cpp
comparators/projection_compare.cpp
comparators/total_less.cpp
comparators/transparent_comparators.cpp
# Distributions tests
distributions/all_equal.cpp
distributions/alternating.cpp
distributions/ascending.cpp
distributions/ascending_sawtooth.cpp
distributions/descending.cpp
distributions/descending_plateau.cpp
distributions/descending_sawtooth.cpp
distributions/median_of_3_killer.cpp
distributions/pipe_organ.cpp
distributions/push_front.cpp
distributions/push_middle.cpp
distributions/rapidcheck.cpp
distributions/shuffled.cpp
distributions/shuffled_16_values.cpp
# Probes tests
probes/block.cpp
probes/dis.cpp
probes/enc.cpp
probes/exc.cpp
probes/ham.cpp
probes/inv.cpp
probes/max.cpp
probes/mono.cpp
probes/osc.cpp
probes/rem.cpp
probes/runs.cpp
probes/spear.cpp
probes/sus.cpp
probes/relations.cpp
probes/every_probe_common.cpp
probes/every_probe_move_compare_projection.cpp
# Sorters tests
sorters/counting_sorter.cpp
sorters/default_sorter.cpp
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:sorters/default_sorter_fptr.cpp>
sorters/default_sorter_projection.cpp
sorters/every_instantiated_sorter.cpp
sorters/every_sorter_internal_compare.cpp
sorters/every_sorter_long_string.cpp
sorters/every_sorter_move_compare_projection.cpp
sorters/every_sorter_move_only.cpp
sorters/every_sorter_no_post_iterator.cpp
sorters/every_sorter_non_const_compare.cpp
sorters/every_sorter_rvalue_projection.cpp
sorters/every_sorter_small_collections.cpp
sorters/every_sorter_span.cpp
sorters/every_sorter_throwing_moves.cpp
sorters/every_sorter_tricky_difference_type.cpp
sorters/merge_insertion_sorter_projection.cpp
sorters/merge_sorter.cpp
sorters/merge_sorter_projection.cpp
sorters/poplar_sorter.cpp
sorters/ska_sorter.cpp
sorters/ska_sorter_projection.cpp
sorters/spin_sorter.cpp
sorters/spread_sorter.cpp
sorters/spread_sorter_defaults.cpp
sorters/spread_sorter_projection.cpp
sorters/std_sorter.cpp
# Utilities tests
utility/adapter_storage.cpp
utility/apply_permutation.cpp
utility/as_comparison.cpp
utility/as_projection.cpp
utility/as_projection_iterable.cpp
utility/branchless_traits.cpp
utility/buffer.cpp
utility/chainable_projections.cpp
utility/iter_swap.cpp
utility/metric_tools.cpp
utility/sorted_indices.cpp
utility/sorted_iterators.cpp
utility/sorting_networks.cpp
)
ADD_EXECUTABLE(example_get_started EXCLUDE_FROM_ALL ${source_list})
add_executable(${src_executable_connectionsperformancetest}
test/integration/ConnectionsPerformanceTest.cpp)
add_executable(dijkstra_example dijkstra_example.cpp)
add_executable(${PROJECT_NAME}_dh_parameter_tests dh_parameter_utest.cpp)
add_executable(cpd-transform transform.cpp)
add_executable(pi pi.cc)
add_executable(test-graph-dfs src/andres/graph/unit-test/dfs.cxx)
add_executable(${CC} main_${CC}.cpp)
ADD_EXECUTABLE(${KWSYS_NAMESPACE}TestSharedForward
${PROJECT_BINARY_DIR}/testSharedForward.c)
add_executable(eval_boundaries2labels_cli main.cpp)
ADD_EXECUTABLE(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES})
add_executable(smooth smooth.cxx)
add_executable(${BINARY} ${SRC_FILE})
add_executable(unit_ray_aabb src/unit_ray_aabb.cpp)
add_executable(${APPLICATION_NAME})
ADD_EXECUTABLE(SecondBitEA SecondBitEA.cpp)
add_executable ( Alpha_shapes_2 Alpha_shapes_2.cpp Alpha_shapes_2.moc ${DT_UI_FILES} ${CGAL_Qt5_RESOURCE_FILES} ${CGAL_Qt5_MOC_FILES})
add_executable(BenchShuffle bench_deterministic_shuffling.cc)
add_executable(glass ${glass_src} ${glass_resources_src} ${glass_rc} ${APP_ICON_MACOSX})
add_executable (PathTest
PathTest.cpp
${CMAKE_SOURCE_DIR}/src/libs/common/Format.cpp
${CMAKE_SOURCE_DIR}/src/libs/common/strerror_r.c
${CMAKE_SOURCE_DIR}/src/libs/common/Path.cpp
)
add_executable( zdoom WIN32 MACOSX_BUNDLE
${HEADER_FILES}
${NOT_COMPILED_SOURCE_FILES}
__autostart.cpp
${SYSTEM_SOURCES}
${X86_SOURCES}
${FASTMATH_SOURCES}
${PCH_SOURCES}
x86.cpp
strnatcmp.c
zstring.cpp
math/asin.c
math/atan.c
math/const.c
math/cosh.c
math/exp.c
math/isnan.c
math/log.c
math/log10.c
math/mtherr.c
math/polevl.c
math/pow.c
math/powi.c
math/sin.c
math/sinh.c
math/sqrt.c
math/tan.c
math/tanh.c
math/fastsin.cpp
zzautozend.cpp
)
add_executable(test_two_links_fixed_joint test/test_two_links_fixed_joint.cpp)
add_executable(${Exe} ${ARGN})
add_executable(bin2c bin2c.cpp)
add_executable(${EXECUTABLE_NAME} ${SOURCES})
add_executable(kdeconnect-cli kdeconnect-cli.cpp)
add_executable(${name}_test ${OPT_SOURCES})
add_executable(ftl-benchmark ${FTL_BENCHMARK_SRC})
add_executable (leechcraft-core WIN32
${COMPILED_TRANSLATIONS}
${SRCS}
${RESOURCES}
)
add_executable(${NAME_} ${example})
add_executable(eval_mlp eval_mlp.cpp)
add_executable(test_average test_average.cc)
add_executable(memtablerep_bench${ARTIFACT_SUFFIX}
memtable/memtablerep_bench.cc)
add_executable(${target} ${ARGN})
ADD_EXECUTABLE(tightspark tightspark.cpp)
add_executable(JSBSim JSBSim.cpp)
add_executable(launcher)
add_executable(protobuf::protoc IMPORTED)
add_executable(AndroidUsbCamera ${AndroidUsbCamera_SRCS})
add_executable(grpc_cpp_plugin IMPORTED)
add_executable(${us_gtest_test_exe_name} ${_gtest_tests} ${_additional_srcs} ${_third_party_srcs})
add_executable(consistency src/simulation/consistency.cpp)
add_executable(NativeSurface # 生成可执行文件
${FILE_INCLUDES} # 头文件
${FILE_SOURCES} # 源文件
src/surface.cpp
)
add_executable(measure
measure.cpp
Functions.cpp
)
add_executable(chunk_converter chunk_converter.cc)
ADD_EXECUTABLE(cocaine-benchmark
benchmark.cpp)
add_executable(simple simple.cpp)
add_executable(cali-query
$<TARGET_OBJECTS:query-common>
$<TARGET_OBJECTS:caliper-tools-util>
${CALIPER_QUERY_SOURCES})