Commit f20a2c4d authored by Guolin Ke's avatar Guolin Ke
Browse files

Change bulid target name to lower case.

parent f3245171
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
PROJECT(LightGBM) PROJECT(lightgbm)
OPTION(USE_MPI "MPI based parallel learning" OFF) OPTION(USE_MPI "MPI based parallel learning" OFF)
......
...@@ -8,13 +8,13 @@ Here is an example for LightGBM to run binary classification task. ...@@ -8,13 +8,13 @@ Here is an example for LightGBM to run binary classification task.
For windows, by running following command in this folder: For windows, by running following command in this folder:
``` ```
LightGBM.exe config=train.conf lightgbm.exe config=train.conf
``` ```
For linux, by running following command in this folder: For linux, by running following command in this folder:
``` ```
./LightGBM config=train.conf ./lightgbm config=train.conf
``` ```
#### Prediction #### Prediction
...@@ -23,12 +23,12 @@ You should finish training first. ...@@ -23,12 +23,12 @@ You should finish training first.
For windows, by running following command in this folder: For windows, by running following command in this folder:
``` ```
LightGBM.exe config=predict.conf lightgbm.exe config=predict.conf
``` ```
For linux, by running following command in this folder: For linux, by running following command in this folder:
``` ```
./LightGBM config=predict.conf ./lightgbm config=predict.conf
``` ```
...@@ -8,13 +8,13 @@ Here is an example for LightGBM to run lambdarank task. ...@@ -8,13 +8,13 @@ Here is an example for LightGBM to run lambdarank task.
For windows, by running following command in this folder: For windows, by running following command in this folder:
``` ```
LightGBM.exe config=train.conf lightgbm.exe config=train.conf
``` ```
For linux, by running following command in this folder: For linux, by running following command in this folder:
``` ```
./LightGBM config=train.conf ./lightgbm config=train.conf
``` ```
#### Prediction #### Prediction
...@@ -23,11 +23,11 @@ You should finish training first. ...@@ -23,11 +23,11 @@ You should finish training first.
For windows, by running following command in this folder: For windows, by running following command in this folder:
``` ```
LightGBM.exe config=predict.conf lightgbm.exe config=predict.conf
``` ```
For linux, by running following command in this folder: For linux, by running following command in this folder:
``` ```
./LightGBM config=predict.conf ./lightgbm config=predict.conf
``` ```
...@@ -12,9 +12,9 @@ Here is an example for LightGBM to perform parallel learning for 2 machines. ...@@ -12,9 +12,9 @@ Here is an example for LightGBM to perform parallel learning for 2 machines.
2. Copy this folder and executable file to these 2 machines that you want to run application on. 2. Copy this folder and executable file to these 2 machines that you want to run application on.
3. Run command in this folder on both 2 machines: 3. Run command in this folder on both 2 machines:
For windows:```LightGBM.exe config=train.conf``` For windows:```lightgbm.exe config=train.conf```
For linux:```./LightGBM config=train.conf``` For linux:```./lightgbm config=train.conf```
This parallel learning example is based on socket. LightGBM also support parallel learning based on mpi. This parallel learning example is based on socket. LightGBM also support parallel learning based on mpi.
......
...@@ -8,13 +8,13 @@ Here is an example for LightGBM to run regression task. ...@@ -8,13 +8,13 @@ Here is an example for LightGBM to run regression task.
For windows, by running following command in this folder: For windows, by running following command in this folder:
``` ```
LightGBM.exe config=train.conf lightgbm.exe config=train.conf
``` ```
For linux, by running following command in this folder: For linux, by running following command in this folder:
``` ```
./LightGBM config=train.conf ./lightgbm config=train.conf
``` ```
#### Prediction #### Prediction
...@@ -23,11 +23,11 @@ You should finish training first. ...@@ -23,11 +23,11 @@ You should finish training first.
For windows, by running following command in this folder: For windows, by running following command in this folder:
``` ```
LightGBM.exe config=predict.conf lightgbm.exe config=predict.conf
``` ```
For linux, by running following command in this folder: For linux, by running following command in this folder:
``` ```
./LightGBM config=predict.conf ./lightgbm config=predict.conf
``` ```
...@@ -54,18 +54,22 @@ ...@@ -54,18 +54,22 @@
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> <IncludePath>..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath> <LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
<TargetName>lightgbm</TargetName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Debug_mpi|x64'"> <PropertyGroup Condition="'$(configuration)|$(Platform)'=='Debug_mpi|x64'">
<IncludePath>$(MSMPI_INC);..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> <IncludePath>$(MSMPI_INC);..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
<LibraryPath>$(MSMPI_LIB64);$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath> <LibraryPath>$(MSMPI_LIB64);$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
<TargetName>lightgbm</TargetName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Release|x64'"> <PropertyGroup Condition="'$(configuration)|$(Platform)'=='Release|x64'">
<IncludePath>..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> <IncludePath>..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath> <LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
<TargetName>lightgbm</TargetName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(configuration)|$(Platform)'=='Release_mpi|x64'"> <PropertyGroup Condition="'$(configuration)|$(Platform)'=='Release_mpi|x64'">
<IncludePath>$(MSMPI_INC);..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> <IncludePath>$(MSMPI_INC);..\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
<LibraryPath>$(MSMPI_LIB64);$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath> <LibraryPath>$(MSMPI_LIB64);$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);</LibraryPath>
<TargetName>lightgbm</TargetName>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_mpi|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_mpi|x64'">
<ClCompile> <ClCompile>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment