{"id":7835,"date":"2018-05-17T13:07:15","date_gmt":"2018-05-17T13:07:15","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=7835"},"modified":"2021-08-24T10:05:53","modified_gmt":"2021-08-24T10:05:53","slug":"how-to-use-cmake-cmake-howto","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=7835","title":{"rendered":"How to use CMake \/ CMake HowTo"},"content":{"rendered":"<h1>stackoverflow<\/h1>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/7724569\/debug-vs-release-in-cmake\">Debug vs Release in CMAKE<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/24814698\/how-can-i-add-a-flag-at-the-end-of-the-linking-command-line-using-cmake\">How can I add a flag at the end of the linking command line using CMake?<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/5395578\/cmake-target-link-libraries-not-linking-my-library\">Cmake target_link_libraries not linking my library<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/12652641\/cflags-wl-export-dynamic-vs-linker-flags-export-dynamic\">cflags &#8216;-Wl,-export-dynamic&#8217; vs linker flags &#8216;-export-dynamic&#8217;<\/a><\/p>\n<h1>Microsoft<\/h1>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/cpp\/linux\/cmake-linux-project?view=msvc-160\">Create a CMake Linux project in Visual Studio<\/a><br \/>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/cpp\/linux\/download-install-and-setup-the-linux-development-workload?view=msvc-160\">Download, install, and set up the Linux workload<\/a><br \/>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/cpp\/linux\/create-a-new-linux-project?view=msvc-160\">Create a Linux MSBuild C++ project in Visual Studio<\/a><\/p>\n<h1>Blog<\/h1>\n<h3>Henry Schreiner<\/h3>\n<p><a href=\"https:\/\/indico.jlab.org\/event\/420\/contributions\/7961\/attachments\/6507\/8734\/CMakeSandCroundtable.slides.pdf\">CMake: Best Practices<\/a> (PDF)<br \/>\n<a href=\"https:\/\/iscinumpy.gitlab.io\/\">ISciNumPy<\/a> (Blog), A random collection of Science, Numerics, C++, CMake, and Python related topics.<br \/>\n<a href=\"https:\/\/cliutils.gitlab.io\/modern-cmake\/\">An Introduction to Modern CMake<\/a> (eBook)<br \/>\n<a href=\"https:\/\/hsf-training.github.io\/hsf-training-cmake-webpage\/\">HSF &#8211; More Modern CMake<\/a> (Workshop)<br \/>\n<a href=\"https:\/\/gitlab.com\/CLIUtils\/modern-cmake-interactive-talk\">gitlab.com\/CLIUtils\/modern-cmake-interactive-talk<\/a> (Talk), A talk first given for PICSciE<br \/>\n<a href=\"https:\/\/www.linkedin.com\/in\/henryiii\/\">LinkedIn: Henry Schreiner<\/a><\/p>\n<h3>dmerej&#8217;s blog<\/h3>\n<p><a href=\"https:\/\/dmerej.info\/blog\/post\/chuck-norris-part-1-cmake-ninja\/\">Let&#8217;s Build Chuck Norris! &#8211; Part 1: CMake and Ninja<\/a><br \/>\n<a href=\"https:\/\/dmerej.info\/blog\/post\/chuck-norris-part-2-sqlite-conan\/\">Let&#8217;s Build Chuck Norris! &#8211; Part 2: SQLite and conan<\/a><br \/>\n<a href=\"https:\/\/dmerej.info\/blog\/post\/chuck-norris-part-3-a-c-wrapper\/\">Let&#8217;s Build Chuck Norris! &#8211; Part 3: A C wrapper<\/a><br \/>\n<a href=\"https:\/\/dmerej.info\/blog\/post\/chuck-norris-part-4-python-ctypes\/\">Let&#8217;s Build Chuck Norris! &#8211; Part 4: Python and ctypes<\/a><br \/>\n<a href=\"https:\/\/dmerej.info\/blog\/post\/chuck-norris-part-5-python-cffi\/\">Let&#8217;s Build Chuck Norris! &#8211; Part 5: Python and cffi<\/a><br \/>\n<a href=\"https:\/\/www.linkedin.com\/in\/dimitri-merejkowsky-28a3302b\/\">LinkedIn: Dimitri Merejkowsky<\/a><\/p>\n<p><a href=\"https:\/\/rix0r.nl\/blog\/2015\/08\/13\/cmake-guide\/\">The Ultimate Guide to Modern CMake<\/a><br \/>\n<a href=\"https:\/\/www.linkedin.com\/in\/rico-huijbers-233b186\/\">LinkedIn: Rico Huijbers<\/a><\/p>\n<h3>SCHNEIDE BLOG &#8211; Softwareschneiderei GmbH<\/h3>\n<p><a href=\"https:\/\/schneide.wordpress.com\/2016\/04\/08\/modern-cmake-with-target_link_libraries\/\">Modern CMake with target_link_libraries<\/a><\/p>\n<h3>Flameeyes&#8217;s Weblog<\/h3>\n<p><a href=\"https:\/\/flameeyes.blog\/2008\/02\/10\/why-would-an-executable-export-symbols\/\">Why would an executable export symbols?<\/a><\/p>\n<h3>Meson Build<\/h3>\n<ul>\n<li>Meson<\/li>\n<li>CMake<\/li>\n<li>SCons<\/li>\n<li>Premake<\/li>\n<li>Autotools<\/li>\n<\/ul>\n<p><a href=\"https:\/\/mesonbuild.com\/Simple-comparison.html\">A simple comparison<\/a><\/p>\n<h1>GitHub<\/h1>\n<p><a href=\"https:\/\/github.com\/GENIVI\/vsomeip\/blob\/master\/CMakeLists.txt\">github.com\/GENIVI\/vsomeip\/blob\/master\/CMakeLists.txt<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>stackoverflow Debug vs Release in CMAKE How can I add a flag at the end of the linking command line using CMake? Cmake target_link_libraries not linking my library cflags &#8216;-Wl,-export-dynamic&#8217; vs linker flags &#8216;-export-dynamic&#8217; Microsoft Create a CMake Linux project in Visual Studio Download, install, and set up the Linux workload Create a Linux MSBuild [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7835","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7835"}],"version-history":[{"count":7,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7835\/revisions"}],"predecessor-version":[{"id":12547,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7835\/revisions\/12547"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}