こんにちは。NoMaYです。Visual Studio 2022を触っていて、これからVisual Studio上でCC-RX/CC-RL/CC-RHを使うならCMakeを使うのが良いのかな?と思い始めたところ、ルネサスさんから以下のアプリケーションノートが発行されていたことを思い出したので目を通してみたのですが、どうもこれではスマートコンフィグレータどころかコンパイルオプションの設定すらe2 studio上では出来ないのでは?という気がしてきました。実際、どうなのでしょう?御存知の方はいらっしゃいますでしょうか?アプリケーションノート 統合開発環境 e² studio CMakeプロジェクトを作成してビルドするR20AN0613JJ0200 Rev.2.00 Pages 10 Jun.30.21www.renesas.com/jp/ja/document/apn/e-studio-creating-and-executing-build-cmake-project [追記] 2021/12/31 11:00ひとつ調査漏れに気付きました。こういうアプリケーションノートも出ていたのですね。アプリケーションノート 統合開発環境 e² studio CMakeを使用してCC-RX用ソース・ファイルをビルドするR20AN0569JJ0201 Rev.2.01 Pages 12 Sep.15.21PDFwww.renesas.com/jp/ja/document/apn/integrated-development-environment-e-studio-using-cmake-renesas-cc-rx-compiler-rev201ZIPwww.renesas.com/jp/ja/document/scd/integrated-development-environment-e-studio-using-cmake-renesas-cc-rx-compiler-rev201-sample-code
こんにちは。NoMaYです。CMakeのIssuesを見ていたら、前の投稿に書いた以下の大昔のissueが再度1ページ目に上がって来ていることに気付いたのですけれども、それならということで、いったん投稿することをやめたissueを文面を変えて以下のissueにリプライする形で投稿するのもありかも知れない気がしてきました。Open Issue created 6 years ago by Ben WagnerEscaping dollar sign with ninja generator.gitlab.kitware.com/cmake/cmake/-/issues/16395Maarten 2 hours ago Contributorgitlab.kitware.com/cmake/cmake/-/issues/16395#note_1372063「This inconsistency/bug blocks me from adding the following to SDL's cmake script.
if(EMSCRIPTEN) target_link_options(SDL3-shared "-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[\"\$autoResumeAudioContext\",\"$dynCall\"]")endif()
On emscripten, this option makes sure these symbols are not optimized away. These are required for playing and recording audio in the browser.I currently don't know of a way to build an Emscripten executable with audio capture using CMake, and have to execute the link command manually.Edited 2 hours ago by Maarten」