• R/O
  • SSH
  • HTTPS

scip: Commit


Commit MetaInfo

Revision18 (tree)
Time2008-10-20 17:15:15
Authory_o_s

Log Message

ビルド方法メモ

Change Summary

Incremental Difference

--- libscip2/trunk/CMakeLists.txt (revision 17)
+++ libscip2/trunk/CMakeLists.txt (revision 18)
@@ -1,3 +1,4 @@
1+cmake_minimum_required(VERSION 2.4)
12 project(SCIP2 C)
23 include_directories(${SCIP2_SOURCE_DIR}/include)
34 set(CMAKE_BUILD_TYPE Debug)
--- libscip2/trunk/HowToBuild.txt (nonexistent)
+++ libscip2/trunk/HowToBuild.txt (revision 18)
@@ -0,0 +1,42 @@
1+ビルド方法メモ
2+
3+* 必要なもの
4+ cmake
5+ コンパイラ
6+
7+* 準備
8+以下では関連とディレクトリが libscip2/trunk とする
9+** Windows
10+とりあえず発見できるツール用で設定
11+ cmake .
12+
13+Visual Studio 2008用
14+ cmake -G "Visual Studio 9 2008" .
15+
16+Visual Studio 2005用
17+ cmake -G "Visual Studio 8 2005" .
18+
19+** Linux
20+
21+リリース版の設定
22+ cmake -D CMAKE_BUILD_TYPE=RELEASE .
23+
24+デバッグ版の設定
25+ cmake -D CMAKE_BUILD_TYPE=DEBUG .
26+
27+* コンパイル
28+
29+通常は
30+ make
31+
32+コマンドラインを表示しつつコンパイル
33+ make VERBOSE=1
34+
35+* インストール
36+
37+通常は
38+ make install
39+
40+どこかのディレクトリをルートディレクトリとしてインストール
41+ make install DESTDIR=/path/to/virtual/root
42+
Show on old repository browser