티스토리 뷰

set(variable path)

변수(variable)에 파일 경로(path)를 정의하는 경우 파일 경로에 따라서 경로가 제대로 설정안되는 경우가 존재한다.

 

set(variable FILEPATH path)

이런 경우에 위와 같이 변수의 타입을 명시해주면 문제가 해결될 것이다.

 

cmake.org/cmake/help/latest/command/set.html

 

set — CMake 3.20.0-rc2 Documentation

Set a normal, cache, or environment variable to a given value. See the cmake-language(7) variables documentation for the scopes and interaction of normal variables and cache entries. Signatures of this command that specify a ... placeholder expect zero or

cmake.org

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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 31
글 보관함