일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- conda
- pi
- FIND
- python
- C++
- dataframe
- mysql
- c++11
- with
- ubuntu
- Unity
- DROP
- if
- List
- pandas
- SVN
- expect
- postgresql
- SSH
- ngui
- sqlite
- 쉘
- autovacuum
- sql
- null
- awk
- 배열
- Shader
- boost
- Eclipse
- Today
- Total
その先にあるもの…
eclipse output directory 변경 본문
Ubuntu 18
eclipse Version: 2019-12 (4.14.0)
Project Properties -> Run/Debug Settings
select Project Debug -> Edit button
Main tab
C/C++ Application: 실행파일 선택
Arguments tab
Working directory: 실행파일 작업폴더
Ubuntu 16.04
eclipse Oxygen.2 Release(4.7.2)
Project Properties>C/C++ Build
Tool Chain Editor / Current Builder / Gnu Make Builder.Tool Chain Editor
Project Properties>C/C++ Build/Builder Type / External Builder
Project Properties>C/C++ Build>Settings
Build Steps tab / Post-build steps
cp ${BuildArtifactFilePrefix}${BuildArtifactFileName} "복사 경로";
Project Properties>C/C++ Build>Settings
Tool Settings tab / GCC C++ Linker
${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
->
${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX} 경로 ${OUTPUT} ${INPUTS}
(경로는 절대경로나 macro로 작성해도 된다)
빌드 후 postbuild에서 cp 명령 실패라고 나오는데 바이러너리 파일이라 그런지 expert setting에서 성공
참고 :
https://code.i-harness.com/ko/q/4a7f37
https://stackoverflow.com/questions/4882231/set-build-output-directory-in-eclipse-c
'Tip' 카테고리의 다른 글
우분투 svn diff tool (0) | 2018.03.30 |
---|---|
eclipse build 순서 변경 (0) | 2018.02.21 |
FTP Active, Passive (0) | 2016.04.25 |
Windows 7에서 exFAT포맷 read-only (0) | 2016.04.20 |
클립 활용 (동영상) (0) | 2016.04.06 |