1. curl (curl-7.40.0.zip) 을 다운받는다.
http://curl.haxx.se/download.html
2. 아무폴더에 (ex: D:\project\curl-7.40.0) 압축을 푼다.
3. 윈도우에서 모든프로그램->Visual Studio 2013->Visual Studio Tools->VS2013 x64 Native Tools Command Prompt 실행하여 D:\project\curl-7.40.0\winbuild 폴더로 이동
4. nmake /f Makefile.vc mode=<static or dll> <options> 명령어를 입력
* nmake 파일은 비주얼스튜디오가 설치된 폴더\VC\bin 안에 있다.
ex) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
* option 에 대한 설명은 \winbuild\BUILD.WINDOWS.txt 안을 참고
ex) Visual Studio 2013 버전이며, OpenSSL을 사용시
nmake /f Makefile.vc mode=dll VC=12 WITH_DEVEL=C:\OpenSSL-x64 WITH_SSL=dll ENABLE_SSPI=no ENABLE_WINSSL=no ENABLE_IPV6=yes MACHINE=x64
5. 컴파일이 완료되면 \curl-7.40.0\builds 안에 생성된 파일들이 있다.
'Programming' 카테고리의 다른 글
OpenSSL x64 빌드(for Windows) (0) | 2015.01.26 |
---|---|
db query mapper (0) | 2015.01.26 |
Windows 32bit OS 기반 Visual C++ 2010 Express에서 64bit용으로 컴파일하기 (0) | 2012.08.14 |
프로젝트 디렉토리 만들기 1 (0) | 2012.02.02 |
프로젝트 디렉토리 만들기 2 - bat 파일 (0) | 2012.02.01 |