{"id":890,"date":"2015-06-11T19:45:28","date_gmt":"2015-06-12T04:45:28","guid":{"rendered":"http:\/\/blog.box.kr\/?p=890"},"modified":"2015-06-11T19:45:28","modified_gmt":"2015-06-12T04:45:28","slug":"cmake-compile-options-and-etc-options","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=890","title":{"rendered":"CMAKE compile options and etc options"},"content":{"rendered":"<p>cmake -G &#8220;Unix Makefiles&#8221;<\/p>\n<p><span style=\"color: #ff0000;\">-DCMAKE_INSTALL_PREFIX<\/span>=`pwd`\/install<br \/>\n<span style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">-DCMAKE_BUILD_TYPE<\/span>=MinSizeRel<br \/>\n<span style=\"color: #ff0000;\">-DCMAKE_C_COMPILER<\/span>=`xcrun -f clang`<br \/>\n<\/span><span style=\"color: #ff0000;\">-DCMAKE_CXX_COMPILER<\/span>=`xcrun -f clang++`<br \/>\n<span style=\"line-height: 1.5;\">-DwxWidgets_CONFIG_EXECUTABLE=..\/..\/..\/wxWidgets\/install\/bin\/wx-config<br \/>\n<\/span>-DwxWidgets_COMPONENTS=&#8221;stc;html;aui;adv;core;net;base&#8221;<br \/>\n<span style=\"line-height: 1.5;\">-DwxLuaBind_COMPONENTS=&#8221;stc;html;aui;adv;core;net;base&#8221;<br \/>\n<\/span>-DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE<br \/>\n<span style=\"line-height: 1.5;\">-DwxLua_LUA_LIBRARY_VERSION=5.2<br \/>\n<\/span><span style=\"color: #ff0000;\">-DBUILD_USE_PRECOMPILED_HEADERS<\/span>=FALSE<br \/>\n<span style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">-DCMAKE_CXX_FLAGS<\/span>=&#8217;-std=c++11 -stdlib=libc++ -Wno-c++11-narrowing&#8217;<br \/>\n<\/span>-DwxLua_LUA_LIBRARY_USE_BUILTIN=TRUE<br \/>\n<span style=\"line-height: 1.5;\">-DwxLua_LUA_LIBRARY_BUILD_SHARED=TRUE<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>fin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cmake -G &#8220;Unix Makefiles&#8221; -DCMAKE_INSTALL_PREFIX=`pwd`\/install -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=`xcrun -f clang` -DCMAKE_CXX_COMPILER=`xcrun -f clang++` -DwxWidgets_CONFIG_EXECUTABLE=..\/..\/..\/wxWidgets\/install\/bin\/wx-config -DwxWidgets_COMPONENTS=&#8221;stc;html;aui;adv;core;net;base&#8221; -DwxLuaBind_COMPONENTS=&#8221;stc;html;aui;adv;core;net;base&#8221; -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE -DwxLua_LUA_LIBRARY_VERSION=5.2 -DBUILD_USE_PRECOMPILED_HEADERS=FALSE -DCMAKE_CXX_FLAGS=&#8217;-std=c++11 -stdlib=libc++ -Wno-c++11-narrowing&#8217; -DwxLua_LUA_LIBRARY_USE_BUILTIN=TRUE -DwxLua_LUA_LIBRARY_BUILD_SHARED=TRUE &nbsp; fin.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[9,10],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-em","jetpack-related-posts":[{"id":899,"url":"https:\/\/blog.box.kr\/?p=899","url_meta":{"origin":890,"position":0},"title":"Cassandra cpp driver install","date":"2015-06-16","format":false,"excerpt":"http:\/\/datastax.github.io\/cpp-driver\/topics\/building\/ \u00a0 Building Supported Platforms The driver is known to work on CentOS\/RHEL 5\/6\/7, Mac OS X 10.8\/10.9 (Mavericks and Yosemite), Ubuntu 12.04\/14.04 LTS, and Windows 7 SP1. It has been built using GCC 4.1.2+, Clang 3.4+, and MSVC 2010\/2012\/2013. Dependencies Driver CMake libuv (1.x or 0.10.x) OpenSSL (optional) NOTE:\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1181,"url":"https:\/\/blog.box.kr\/?p=1181","url_meta":{"origin":890,"position":1},"title":"C++ Development using Visual Studio Code, CMake and LLDB","date":"2017-04-14","format":false,"excerpt":"this article are captured as \"https:\/\/medium.com\/audelabs\/c-development-using-visual-studio-code-cmake-and-lldb-d0f13d38c563\" \u00a0 I\u2019ve been working for almost a year implementing micro-services on C++11 running as Docker containers. Through my journey I\u2019ve seen to emerge quite a bunch of interesting tools to work with C++ on this field (micro-services and Docker). I started using Xcode on\u2026","rel":"","context":"In &quot;VSC&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":68,"url":"https:\/\/blog.box.kr\/?p=68","url_meta":{"origin":890,"position":2},"title":"ANT Manual","date":"2014-06-12","format":false,"excerpt":"ANT Manual 1. Ant \uc18c\uac1c Apache Ant\ub294Java\uae30\ubc18\uc758build\ub3c4\uad6c\ub85c\uc5bc\ub9c8\ub098\uac1c\ubc1c\uc744\ud3b8\ub9ac\ud558\uac8c\ud574\uc8fc\ub290\ub0d0\uac00\uad00\ub828\uc774\uc788\uc73c\uba70\ud504\ub85c\uadf8\ub7a8\uc774\ub098\ud504\ub85c\uc81d\ud2b8\uc640\ub294\ud2b9\ubcc4\ud55c\uad00\uacc4\uc131\uc774\uc5c6\ub2e4.\uac04\ub2e8\ud558\uac8c\ub9d0\ud558\uc790\uba74make\uc640\uac19\uc740\ub3c4\uad6c\uc640\uc720\uc0ac\ud55c\uae30\ub2a5\uc744\ud558\uba74\uc11c\ubcf4\ub2e4\uc6b0\uc218\ud55c\ud2b9\uc9d5\ub4e4(\uc790\ubc14\uae30\ubc18\uc758\ud2b9\uc9d5\ub4e4)\uc744\uac00\uc9c0\uace0\uc788\ub2e4\ub294\uac83\uc774\ub2e4. \uc5ec\uae30\uc11c\ub294\uae30\ubcf8\uc801\uc778Ant\uc124\uce58\ubc0f\ubb38\ubc95\uc744\uc18c\uac1c\ud55c\ub2e4. 2. Ant \uc124\uce58 2.1 Ant \uad6c\ud558\uae30 Ant\ub294http:\/\/jakarta.apache.org\/ant\/\uc5d0\uc11c\ub2e4\uc6b4\ub85c\ub4dc\ud558\uc5ec\ubc1b\uc744\uc218\uc788\ub2e4. 2.2 Ant \uc124\uce58\ud558\uae30 - Window \ud658\uacbd\uc5d0\uc11c\uc124\uce58 Ant \uac00c:ant\uc5d0\uc778\uc2a4\ud1a8\ub418\uace0\uc788\ub2e4\uace0\uac00\uc815\ud558\uace0,\ub2e4\uc74c\uc758\ud658\uacbd\uc744\ub3c4\uc2a4\ucc3d\uc5d0\uc11c\uc124\uc815\ud558\ub4e0\uc9c0 \ub0b4\ucef4\ud4e8\ud130>\ub4f1\ub85d\uc815\ubcf4>\uace0\uae09>\ud658\uacbd\ubcc0\uc218\uc5d0\uc124\uc815\uc744\ud55c\ub2e4. set ANT_HOME=c:ant set JAVA_HOME=c:jdk1.2.2 set PATH=%PATH%;%ANT_HOME%bin - Unix \ud658\uacbd\uc5d0\uc11c\uc124\uce58 Ant \uac00\/home1\/jeus\/ant\uc5d0\uc778\uc2a4\ud1a8\ub418\uace0\uc788\ub2e4\uace0\uac00\uc815\ud558\uace0,\ub2e4\uc74c\uc758\ub0b4\uc6a9\ud658\uacbd\uc124\uc815\ud30c\uc77c\uc5d0\uc124\uc815\ud55c\ub2e4. (\uc0ac\uc6a9\ud558\ub294shell\uc5d0\ub530\ub77c\uc11c) Unix (bash) export ANT_HOME= \/home1\/jeus\/ant export JAVA_HOME \/usr\/j2se export PATH=${PATH}:${ANT_HOME}\/bin Unix (csh) setenv ANT_HOME\u2026","rel":"","context":"In &quot;JEUS &amp; WEBToB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":772,"url":"https:\/\/blog.box.kr\/?p=772","url_meta":{"origin":890,"position":3},"title":"Installing Taiga on CentOS  (x64)","date":"2015-05-11","format":false,"excerpt":"\u00a0 Dependencies ... yum update -y yum groupinstall \"Development Tools\" -y yum install libxslt-devel libxml2-devel libXt-devel curl git tmux -y Installing PostgreSQL ... TAIGA_POSTGRES_BD = taiga TAIGA_POSTGRES_USER = taiga TAIGA_POSTGRES_PASSWORD=`< \/dev\/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-20};echo;` ... rpm -ivh http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-6-x86_64\/pgdg-centos94-9.4-1.noarch.rpm sed -i 's\/^gpgkey.*\/&nexclude=postgresql*\/' \/etc\/yum.repos.d\/CentOS-Base.repo yum -y install postgresql94 postgresql94-contrib\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":454,"url":"https:\/\/blog.box.kr\/?p=454","url_meta":{"origin":890,"position":4},"title":"RED5 &amp; FFMPEG &amp; FFserver \uc2a4\ud2b8\ub9ac\ubc0d \uc11c\ubc84 \uad6c\ucd95\ud558\uae30","date":"2014-12-18","format":false,"excerpt":"\u00a0 http:\/\/blog.syszone.co.kr\/2498?category=17 \u00a0 \uc791\uc131\uc790 : \uc11c\uc9c4\uc6b0(alang@syszone.co.kr) \uc791\uc131\uc77c : 2009\ub144 1\uc6d4 5\uc77c 4.1 FFMPEG\ub85c \uc778\ucf54\ub529 \ud658\uacbd \uad6c\ucd95\ud558\uae30 - \uae30\ubcf8 \ud504\ub85c\uadf8\ub7a8 \uc124\uce58 # yum install ruby # yum install ncurses-devel* # yum install lame # yum install libogg # yum install libvorbis # yum install flvtool2 # yum install ffmpeg - \ucf54\ub371\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":953,"url":"https:\/\/blog.box.kr\/?p=953","url_meta":{"origin":890,"position":5},"title":"How to install openssl on windows with visual studio 2015","date":"2015-08-26","format":false,"excerpt":"cite from\u00a0http:\/\/developer.covenanteyes.com\/building-openssl-for-visual-studio\/ and some edit.. ================================================== \u00a0 You need to install\u2026 Visual Studio 2015 (this will likely work with older versions as well) ActivePerl 1 Latest version of OpenSSL source-code 2\u00a0or $ git clone git:\/\/git.openssl.org\/openssl.git $ cd openssl $ git config core.autocrlf false $ git config core.eol lf $ git\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/890"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=890"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/890\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}