ããã¾ãã¦ããã§ã¨ããããã¾ãã å¹´ãæãã¦2é±éã»ã©çµã¡ã¾ãã¦ãä»å¹´æåã®æ´æ°ã¯ã¾ããã¦ãCMakeãã¿ã§ãã以ä¸è¨èªã¯C++ãä¾ã¨ãã¦ããã¾ãã®ã§ãããããã ãã¦ãã³ã³ãã¤ã©ãªããã¯ãããªã«è¨å®ãã¦ãããCMakeã§ãããæã«ãããæ°ã«å ¥ããªãå ´åãããã¾ããä¾ãã°â¦ Macã®g++ã¯å¤ãã®ã§ã¨ãããC++11使ãããã®ã§clang++ããã ã¹ãã³ã³çã§g++ãããªãã¦ãã³ããããæå®ãã¦ãã³ã³ãã¤ã©ã使ããã ãªããg++ãã£ã¹ã£ã¦ãã¿ããã«è¦ãã¾ãããããªãã¨ã¯ãªãã§ããï¼ã¡ãã»ã¼ã¸ã¯clangã®æ¹ã親åã ãã©ããªãã 試ãããæé©åè½åã¯g++ã®æ¹ãé«ãã£ããï¼ ã§ãæ®éã®æ¹æ³ãã®1ãCMakeå©ãã¨ãã«ã»ãããã¾ãã cmake -DCMAKE_CXX_COMPILER=clang++ ãã¡ãã¡ãããªã®ã¿ã¤ããã¦ãããªãããã·ã§ã«ã®å±¥æ´ä½¿â¦ã²ãã³ã²ãã³â¦ ã§ã¯æ®éã®æ¹æ³ãã®2
{{#tags}}- {{label}}
{{/tags}}