All Projects → zchrissirhcz → cmake_examples

zchrissirhcz / cmake_examples

Licence: MIT License
Practical, Easy-to-copy CMake examples

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language
Batchfile
5799 projects
shell
77523 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to cmake examples

firework8s
Firework8s is a collection of kubernetes objects (yaml files) for deploying workloads in a home lab.
Stars: ✭ 35 (-49.28%)
Mutual labels:  examples
sdk-examples
Example source code and projects for the Looker SDKs
Stars: ✭ 34 (-50.72%)
Mutual labels:  examples
examples
YAKINDU Statechart Tools examples
Stars: ✭ 20 (-71.01%)
Mutual labels:  examples
examples
Network Service Mesh examples repo
Stars: ✭ 14 (-79.71%)
Mutual labels:  examples
addon-example
Example - Home Assistant Community Add-ons
Stars: ✭ 73 (+5.8%)
Mutual labels:  examples
playground
📚 Examples, projects, webprojects, skeletons for Nette Framework (@nette) from community members. Included @contributte @apitte @nettrine projects.
Stars: ✭ 23 (-66.67%)
Mutual labels:  examples
code-examples
Short code snippets written by our open source community!
Stars: ✭ 60 (-13.04%)
Mutual labels:  examples
examples
Fuse examples
Stars: ✭ 13 (-81.16%)
Mutual labels:  examples
spring-cloud-gcp-guestbook
No description or website provided.
Stars: ✭ 55 (-20.29%)
Mutual labels:  examples
bigquery-geo-viz
Visualize Google BigQuery geospatial data using Google Maps Platform APIs
Stars: ✭ 68 (-1.45%)
Mutual labels:  examples
flytesnacks
Flyte User-Guides and Tutorials - https://flytecookbook.readthedocs.io
Stars: ✭ 39 (-43.48%)
Mutual labels:  examples
db2-samples
Db2 application code, configuration samples, and other examples
Stars: ✭ 56 (-18.84%)
Mutual labels:  examples
vuepress-plugin-live
Make your markdown code examples come alive
Stars: ✭ 37 (-46.38%)
Mutual labels:  examples
examples
Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.
Stars: ✭ 960 (+1291.3%)
Mutual labels:  examples
vonage-node-code-snippets
NodeJS code examples for using Nexmo
Stars: ✭ 46 (-33.33%)
Mutual labels:  examples
terraform examples
Terraform AWS Windows examples
Stars: ✭ 78 (+13.04%)
Mutual labels:  examples
Java
All Examples for learning Java programming and algorithms
Stars: ✭ 14 (-79.71%)
Mutual labels:  examples
tutorials
All of our code examples and tutorials
Stars: ✭ 62 (-10.14%)
Mutual labels:  examples
k6-example-github-actions
No description or website provided.
Stars: ✭ 18 (-73.91%)
Mutual labels:  examples
idiomatic-gradle
How do I idiomatically structure a large build with Gradle 7.2+?
Stars: ✭ 129 (+86.96%)
Mutual labels:  examples

CMake Examples

GitHub Ubuntu Windows macOS android

Zhuo's CMake based C/C++ project templates.

Features

  • Modern: Use latest cmake, write target-oriented configurations.
  • Modular: Formed into > 10 groups of examples, each group consists of strong related examples.
  • Versatile: Extracted from practical, not restricted to simple tutorials.

Contents

There are nearly 100 examples now. You may search them in this page, or use ./search.sh for specific search, e.g.:

bash ./search.sh dll

And get result:

./01_creating_targets/create_dll_example2
./01_creating_targets/create_dll_example1
./06_files_and_io/copy_dll_example
./06_files_and_io/dll_path_example
example name corresponding directory
create_dll_example2 01_creating_targets/create_dll_example2
create_dll_example1 01_creating_targets/create_dll_example1
create_shared_lib_example 01_creating_targets/create_shared_lib_example
header_only_library_example 01_creating_targets/header_only_library_example
compile_database_example 03_project_custom_configurations/compile_database_example
option_example2 03_project_custom_configurations/option_example2
cmake_build_type_example 03_project_custom_configurations/cmake_build_type_example
configure_file_example 03_project_custom_configurations/configure_file_example
options_via_txt_example 03_project_custom_configurations/options_via_txt_example
option_example 03_project_custom_configurations/option_example
regex_replace_example 07_list_and_string/regex_replace_example
list_remove_example 07_list_and_string/list_remove_example
opencl_example 10_hpc_compute/opencl_example
sse_example 10_hpc_compute/sse_example
opengl_example 10_hpc_compute/opengl_example
cuda_example 10_hpc_compute/cuda_example
simd_multiversion_example 10_hpc_compute/simd_multiversion_example
rtos-test 04_cross_compilation/rtos-test
arm-linux-gnueabihf_example 04_cross_compilation/arm-linux-gnueabihf_example
ohos_ndk_example 04_cross_compilation/ohos_ndk_example
arm_neon_example 04_cross_compilation/arm_neon_example
linux-32bit_example 04_cross_compilation/linux-32bit_example
arm_neon_example2 04_cross_compilation/arm_neon_example2
generator_example 04_cross_compilation/generator_example
arm-none-eabi_example 04_cross_compilation/arm-none-eabi_example
c_call_python_example 12_language_bindings/c_call_python_example
csharp_wpf_example 12_language_bindings/csharp_wpf_example
csharp_winform_example 12_language_bindings/csharp_winform_example
jni_example2 12_language_bindings/jni_example2
jni_example 12_language_bindings/jni_example
fetchcontent_example 15_external_dependency/fetchcontent_example
fetchcontent_example2 15_external_dependency/fetchcontent_example2
external_add_example 15_external_dependency/external_add_example
cpm_example2 15_external_dependency/cpm_example2
fetchcontent_example3 15_external_dependency/fetchcontent_example3
onetbb_fetchcontent_example 15_external_dependency/onetbb_fetchcontent_example
cpm_example 15_external_dependency/cpm_example
cpack_example 08_installing_and_packaging/cpack_example
install_example 08_installing_and_packaging/install_example
install_find_package_example 08_installing_and_packaging/install_find_package_example
install_example2 08_installing_and_packaging/install_example2
install_example3 08_installing_and_packaging/install_example3
vulkan_example 02_find_and_use_packages/vulkan_example
eigen_example 02_find_and_use_packages/eigen_example
find_package_examples 02_find_and_use_packages/find_package_examples
include-what-you-use_example 02_find_and_use_packages/include-what-you-use_example
libclang_example 02_find_and_use_packages/libclang_example
crc32c_example 02_find_and_use_packages/crc32c_example
openssl_example 02_find_and_use_packages/openssl_example
windows_pkgconfig_zlib_example 02_find_and_use_packages/windows_pkgconfig_zlib_example
ncnn_example 02_find_and_use_packages/ncnn_example
rapidcheck_example2 02_find_and_use_packages/rapidcheck_example2
benchmark_example 02_find_and_use_packages/benchmark_example
mex_example 02_find_and_use_packages/mex_example
pkgconfig_lmdb_example 02_find_and_use_packages/pkgconfig_lmdb_example
rapidcheck_example1 02_find_and_use_packages/rapidcheck_example1
pybind11_example2 02_find_and_use_packages/pybind11_example2
proto_to_cpp_example 02_find_and_use_packages/proto_to_cpp_example
opencv_example 02_find_and_use_packages/opencv_example
qt_example 02_find_and_use_packages/qt_example
zlib_example 02_find_and_use_packages/zlib_example
pybind11_example1 02_find_and_use_packages/pybind11_example1
build 11_vscode_debug_C++/build
src 11_vscode_debug_C++/src
function_example1 14_functions_and_macros/function_example1
glob_example 06_files_and_io/glob_example
copy_dll_example 06_files_and_io/copy_dll_example
dll_path_example 06_files_and_io/dll_path_example
download_example 06_files_and_io/download_example
copy_files_example 06_files_and_io/copy_files_example
openmp_example2 05_set_C_C++_flags/openmp_example2
openmp_example3 05_set_C_C++_flags/openmp_example3
thread_sanitizer_example 05_set_C_C++_flags/thread_sanitizer_example
address_sanitizer_example 05_set_C_C++_flags/address_sanitizer_example
openmp_example 05_set_C_C++_flags/openmp_example
compile_flag_example1 05_set_C_C++_flags/compile_flag_example1
doctest_example 09_testing_docs_and_coverage/doctest_example
doxygen_coverage_example3 09_testing_docs_and_coverage/doxygen_coverage_example3
gtest_example3 09_testing_docs_and_coverage/gtest_example3
doxygen_example 09_testing_docs_and_coverage/doxygen_example
gtest_example2 09_testing_docs_and_coverage/gtest_example2
doxygen_coverage_example 09_testing_docs_and_coverage/doxygen_coverage_example
doxygen_example2 09_testing_docs_and_coverage/doxygen_example2
gtest_example 09_testing_docs_and_coverage/gtest_example
gcc_coverage_example 09_testing_docs_and_coverage/gcc_coverage_example
clang_coverage_example 09_testing_docs_and_coverage/clang_coverage_example
ctest_example 09_testing_docs_and_coverage/ctest_example
gtest_ctest_example 09_testing_docs_and_coverage/gtest_ctest_example
ctest_example2 09_testing_docs_and_coverage/ctest_example2
test_coverage_example 09_testing_docs_and_coverage/test_coverage_example
gtest_ctest_example2 09_testing_docs_and_coverage/gtest_ctest_example2
doxygen_coverage_example2 09_testing_docs_and_coverage/doxygen_coverage_example2
test_coverage_example2 09_testing_docs_and_coverage/test_coverage_example2
generate_assemble_example 13_misc/generate_assemble_example
masm_example 13_misc/masm_example
umake 13_misc/umake
modules 13_misc/modules
ninja_colorful_output_example 13_misc/ninja_colorful_output_example

♥️ Thanks

If you like this project, welcome Star. You may also watch this project for updated notifications in the first time!

Stargazers over time

References

Note: Official cmake bundled FindXXX.cmake failed to find packages sometimes, you may be interested in my another project cmake_modules

LICENSE

MIT

Acknowledgement

Thanks JetBrains company for providing 1 year license for all products to support this open source project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].