회원 로그인
정보기억 정보기억에 체크할 경우 다음접속시 아이디와 패스워드를 입력하지 않으셔도 됩니다.
그러나, 개인PC가 아닐 경우 타인이 로그인할 수 있습니다.
PC를 여러사람이 사용하는 공공장소에서는 체크하지 마세요.
소셜네트워크 서비스를 통해서 로그인하시면 별도의 로그인 절차없이 회원서비스를 이용하실 수 있습니다.


최근 게시물

1.노션에서 작성 중

1.노션에서 작성 중

개편하기 전까지 노션에서 작성 중

2024.04.04//read more

2.ChatGPT

2.ChatGPT

OpenAI로 대규모 언어 모델대화형...

2023.03.16//read more

3.노코딩 게임 엔진 - 빌..

3.노코딩 게임 엔진 - 빌..

빌드 지원안드로이드iOS윈도우즈특이사...

2023.03.14//read more

4.(완료) 미접속 회원 정..

4.(완료) 미접속 회원 정..

[완료] 36명의 회원을 정리하였습니...

2023.02.16//read more

5.매뉴얼 플러스 - 전자제..



안정적인 DNS 서비스 DNSEver
DNS Powered by DNSEver.com


CMake 소개

푸딩뱃살 | 2019.05.23 15:19 | 조회 1604
:CMake로 마야 플러그인 컴파일을 하기 위한 예로 참고(구글 번역)


Compiling Maya plug-ins with CMake
CMake로 Maya 플러그인 컴파일하기

The problem
문제
There are many different development environments.
다양한 개발 환경이 있습니다.
And Maya versions of Maya.
그리고 마야의 많은 버전.

We do not want to maintain multiple visual studio projects, makefiles, xcode projects, etc.
우리는 여러 개의 비주얼 스튜디오 프로젝트, 메이크 파일, xcode 프로젝트 등을 유지하고 싶지 않습니다.
Ideally, we could maintain a single build file that would work across all platforms and all versions of maya.
이상적으로 모든 플랫폼과 모든 버전의 Maya에서 작동 할 수있는 단일 빌드 파일을 유지 관리 할 수 ​​있습니다.

CMake
The cross-platform, open-source build system.
크로스 플랫폼, 오픈 소스 빌드 시스템

CMake allows us to maintain a single set of bulid scripts which can be used to generate the build environment for your desired platform.
CMake를 사용하면 원하는 플랫폼에 맞는 빌드 환경을 생성하는데, 사용할 수 있는 단일 스크립트 세트를 유지 관리 할 수 ​​있습니다.

cmakelists.txt
CMake works by processing text files called cmakelists.txt.
CMake는 cmakelists.txt라는 텍스트 파일을 처리하여 작동합니다.
The cmakelists.txt is used to specify where libraries and headers are located in order to properly compile and link your project.
cmakelists.txt는 프로젝트를 제대로 컴파일하고, 링크하기 위해 라이브러리 및 헤더가있는 위치를 지정하는 데 사용됩니다.

CMake modules
CMake 모듈
A CMake module is a file that tells CMake where associated files and directories are on the local system.
CMake 모듈은 관련된 파일과 디렉토리가 로컬 시스템에있는 곳을 CMake에게 알려주는 파일입니다.
CMake ships with many prebuilt modules such as:
CMake는 다음과 같은 많은 사전 빌드 된 모듈을 제공합니다.
FindCUDA.cmake
FindMatlab.cmake
FindOpenGL.cmake
FindPythonLibs.cmake
Modules are located in the <CMake_install_dir>\share\cmake-3.1\Modules or similar directory.
모듈은 CMak설치폴더\share\cmake-3.1\Modules 또는 유사한 디렉토리에 있습니다.

Maya
마야
Sadly, there is no FindMaya.cmake that ships with CMake.
슬프게도, CMake와 함께 제공되는 FindMaya.cmake는 없습니다.
We will write our own!
우리는 우리 자신을 쓸 것입니다!

Summary
개요
CMake lets us maintain a single set of scripts to help us compile on multiple platforms.
CMake는 여러 플랫폼에서 컴파일하는데 도움이 되는 단일 스크립트 세트를 유지 관리합니다.
CMake works by writing cmakeLists.txt script files.
CMake는 cmakeLists.txt 스크립트 파일을 작성하여 작동합니다.
Modules help CMake find packages and dependencies on the local system.
모듈은 CMake가 로컬 시스템에서 패키지 및 종속성을 찾도록 도와줍니다.
CMake can do a lot more such as package installation, configuration, and platform-independent file operations.
CMake는 패키지 설치, 구성 및 플랫폼 독립적 인 파일 작업과 같이 훨씬 많은 작업을 수행 할 수 있습니다.
Read about it all at https://cmake.org
https://cmake.org에서 이 모든 것을 읽으십시오.


참고

튜토리얼

285개(1/15페이지)
프로그래밍
번호 제목 글쓴이 조회 날짜
285 [Python] 동적 import - 모듈을 변수로 받아오기 푸딩뱃살 408 2022.10.27 10:45
284 [Python] 파이썬 3.7.7과 3.9.7의 os.path.expanduser() 차이 푸딩뱃살 446 2022.08.18 12:22
283 [Python] error: Microsoft Visual C++ 9.0 is required. 첨부파일 푸딩뱃살 672 2022.08.03 13:35
282 [Python] pyscript 첨부파일 푸딩뱃살 443 2022.06.09 11:21
281 [Python] float is / float not is 푸딩뱃살 588 2022.03.02 15:03
280 [Python] 이터널 문자열 f 푸딩뱃살 822 2022.01.27 16:35
279 [Python] is와 ==의 차이 푸딩뱃살 479 2021.11.25 15:54
278 [Python] Error: ImportError: file line 1: Ba 푸딩뱃살 902 2021.11.16 11:24
277 [Python] 파이썬 디컴파일 - uncompyle6 첨부파일 푸딩뱃살 765 2021.11.10 14:46
276 [Python] 파이썬 확장자 설명 푸딩뱃살 543 2021.11.03 14:38
275 [참고] 웹 fbx 뷰어 푸딩뱃살 462 2021.10.19 15:46
274 [Python] enumerate() 푸딩뱃살 491 2021.10.13 14:44
273 [Python] 아나콘다에서 가상 환경 첨부파일 푸딩뱃살 705 2020.11.21 00:26
272 [Python] pip로 설치 때 퍼미션 에러 사진 첨부파일 푸딩뱃살 1255 2020.06.06 17:13
271 [Python] OpenCV 10-3. 이미지 Thresholding - Otsu's Binarizatio 사진 푸딩뱃살 663 2020.06.05 14:01
270 [Python] OpenCV 10-2. 이미지 Thresholding - Adaptive Threshold 사진 푸딩뱃살 686 2020.06.05 13:58
269 [Python] OpenCV 10-1. 이미지 Thresholding 사진 푸딩뱃살 572 2020.06.05 13:56
268 [Python] OpenCV 9-2. 색 추적 푸딩뱃살 757 2020.06.02 23:29
267 [Python] OpenCV 9-1. 색공간 바꾸기 푸딩뱃살 633 2020.06.02 23:27
266 [Python] OpenCV 8-3. 이미지 비트 연산 사진 푸딩뱃살 521 2020.06.02 23:21