ソースを参照

Specify the customizable project & executable names on the "Using Urho3D as external library" documentation page. Closes #334.

Lasse Öörni 11 年 前
コミット
8d050480bc
1 ファイル変更3 行追加3 行削除
  1. 3 3
      Docs/GettingStarted.dox

+ 3 - 3
Docs/GettingStarted.dox

@@ -342,11 +342,11 @@ The Source/ directory is where your project CMakeLists.txt and all your source c
 
 
 This section assumes that you have already successfully build a static or shared library in the Urho3D project (separately from your own project). In order to find Urho3D library in Urho3D project library output directory, specify an environment variable called "URHO3D_HOME" which points to a Urho3D project root directory that you want to use (if you have more than one).
 This section assumes that you have already successfully build a static or shared library in the Urho3D project (separately from your own project). In order to find Urho3D library in Urho3D project library output directory, specify an environment variable called "URHO3D_HOME" which points to a Urho3D project root directory that you want to use (if you have more than one).
 
 
-In your own project Source/ directory, create a new CMakeLists.txt file and add the following lines:
+In your own project Source/ directory, create a new CMakeLists.txt file and add the following lines: (replace MyProjectName and MyExecutableName with the actual names you want)
 
 
 \code
 \code
 # Set project name
 # Set project name
-project (MySuperDuperGame)
+project (MyProjectName)
 
 
 # Set minimum version
 # Set minimum version
 cmake_minimum_required (VERSION 2.8.6)
 cmake_minimum_required (VERSION 2.8.6)
@@ -366,7 +366,7 @@ find_package (Urho3D REQUIRED)
 include_directories (${URHO3D_INCLUDE_DIRS})
 include_directories (${URHO3D_INCLUDE_DIRS})
 
 
 # Define target name
 # Define target name
-set (TARGET_NAME Main)
+set (TARGET_NAME MyExecutableName)
 
 
 # Define source files
 # Define source files
 define_source_files ()
 define_source_files ()