본문 바로가기 메뉴 바로가기

Toll the Code

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Toll the Code

검색하기 폼
  • 분류 전체보기 (81)
    • 프로그래밍 언어 (4)
      • go (2)
      • typescript (2)
    • 프레임워크 (12)
      • Spring boot (8)
      • 리액트 (4)
    • 유니버셜 (3)
      • 스탠다드 (1)
      • git (2)
    • 알고리즘 (3)
      • CCP (0)
    • 프로젝트 (0)
    • 디자인패턴 (0)
    • Geometric Folding (0)
    • 안드로이드 (5)
      • 어플리케이션 (0)
    • 기타 (9)
    • 리버스엔지니어링 (1)
    • ?? (3)
    • 작품 (3)
      • 14714 플래너 (2)
    • 일상 (1)
    • cmake (6)
    • flutter (3)
    • Kafka (1)
    • 네트워킹 (5)
    • Devops (11)
    • CG (2)
    • Qt (1)
    • 시스템프로그래밍 (2)
  • 방명록

cmake (6)
[CMake, ENG] Let's use "FUNCTION" in CMake

I'm gonna cover "how to use FUNCTION in CMake" at this post. Function of CMake is not that different with a function of C, C++ and Java. Function could have name and varidic arguments and It has Its own scope that means a function could refers variable of outer scope. But Its variables are terminated as soon as the function is terminated. By "argc" in function, You could know how many arguments ..

cmake 2019. 12. 27. 02:22
[CMake, KOR/ENG] How to generate gRPC c++ code with CMake

한국어는 아래에 있습니다. I covered "How to generate protobuf code(except Service) with CMake and prtoto buffer compiler(protoc) This post is going to cover generate gRPC service code. So, You have to read previous post to understand what this post's code exactly indicates(If you are not accustomed to CMake). https://4whomtbts.tistory.com/75 [CMake,ENG/KOR] compile protobuf with CMake 한글은 아래에 있습니다. This po..

cmake 2019. 12. 24. 20:01
[CMake,ENG/KOR] compile protobuf with CMake

한글은 아래에 있습니다. This post deals with "How to trigger protoc with your CMake". I struggled to trigger my protoc with my CMake, I refered to some projects's CMake files that are expected to use gRPC library in the project and one of those is gRPC project(It's no-brainer lol). I read Its CMakeLists.txt The build script did its job normally per se, I excerpted some of core codes(which runs protocol bu..

cmake 2019. 12. 24. 01:19
[CMake, KOR] get_filename_component

참고 : https://cmake.org/cmake/help/v3.14/command/get_filename_component.html 소스트리에서 파일의 이름을 추출하고, extension을 떼었다 붙이고, 폴더만 추출하고 하는 작업들은 정말 귀찮고 짜증납니다. 특히 언어나 OS마다 separator 나 encoding 등등이 달라서 쉽게 구현하는것도 여의치 않아서 여기저기 언어별로 API랑 stackoverflow 를 뒤져가면서 찾아봐야되는데.. CMake는 태생자체가 그런 일을 하려고 만들어졌기 때문인지.. get_filename_component 라는 기특한 함수가 있습니다. 우선 기본적인 모양은 위와 같습니다. 아래의 예제에서 보시겠지만, 는 결과를 담을 변수, 은 path를 포함한 파일이름 는..

cmake 2019. 12. 23. 19:38
[CMake, KOR] foreach - 1

참고 : https://cmake.org/cmake/help/latest/command/foreach.html CMake에도 여느 프로그래밍 언어처럼 반복문이 있습니다. 위와 같은 문법으로 씁니다. 여기서 items 는 list나 세미콜론, 공백문자를 포함한 string을 쓰시면 됩니다. 사실 어차피 list 를 만들어도 세미콜론으로 구분이 됩니다.( list 관련 포스팅 : https://4whomtbts.tistory.com/72 ) [cmake,KOR] LIST 참고 : CMake의 LIST는 배열과 같은 역할을 합니다. 읽기 list(LENGTH ) : 출력변수에 매개변수로 넣은 list의 길이를 대입 list(GET [ ...] ) : 출력변수에.. 4whomtbts.tistory.com bre..

cmake 2019. 12. 23. 19:09
[CMake,KOR] LIST

참고 : https://cmake.org/cmake/help/v3.12/command/list.html CMake의 LIST는 배열과 같은 역할을 합니다. 읽기 list(LENGTH ) : 출력변수에 매개변수로 넣은 list의 길이를 대입 list(GET [ ...] ) : 출력변수에 매개변수로 넣은 리스트의 인덱스에 해당하는 값을 대입 list(SUBLIST ) : 출력변수에 매개변수로 넣은 리스트의 sublist 를대입 list(FIND ) : 출력변수에 매개변수로 넣은 리스트의 값을 찾아서 인덱스를 대입 list(APPEND [ ...]) : 매개변수로 넣은 리스트에 element의 값을 덧붙인다. list(FILTER REGEX ) : 매개변수로 넣은 리스트에 REGEX 를 통해 값을 필터링 한다..

cmake 2019. 12. 23. 18:56
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 14714 앱
  • CMake 기초
  • CMake run protoc
  • 14714 공부법
  • 14714 복습법
  • CMake run proto compiler
  • 14714 플래너
  • 토리파 공부법
  • CMAke 파일이름 추출
  • CMake for문
  • 14714 review
  • aws 청구문의
  • get_filename_component
  • CMake 반복문
  • 복습 어플
  • CMake for
  • CMake get_filename_Component
  • 함수포인터 오버라이트
  • CMake probouf
  • 복습 계획어플
  • CMake 강좌
  • 14714 어플
  • CMake get file name
  • function pointer overflow
  • react-native
  • buffer-over-flow
  • 14714 어플리케이션
  • review reminder
  • aws 프리티어 요금청구
  • 14714 공부법 어플리케이션
more
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바