Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support prepping on Visual Studio 2012 (Visual Studio 11).
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@echo off & setlocal enableextensions enabledelayedexpansion | ||
|
||
set _FB_GEN="Visual Studio 11" | ||
|
||
call "%~d0%~p0\common.cmd" %* | ||
if %errorlevel% == 2 exit /b 1 | ||
call "%~d0%~p0\winprep.cmd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@echo off & setlocal enableextensions enabledelayedexpansion | ||
|
||
set _FB_GEN="Visual Studio 11 Win64" | ||
|
||
call "%~d0%~p0\common.cmd" %* | ||
if %errorlevel% == 2 exit /b 1 | ||
call "%~d0%~p0\winprep.cmd" |
d2d86af
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi
i want to make a custom project with prep2012.cmd command. but this command not working. when make use above command work good.
prep2012.cmd examples
my error is:
E:\FireBreath-master\firebreath-dev>prep2012.cmd
A subdirectory or file E:\FireBreath-master\firebreath-dev\build already exists.
" was unexpected at this time.
Using projects in: "E:\FireBreath-master\firebreath-dev\projects"
Generating build files in: "E:\FireBreath-master\firebreath-dev\build"
NOTE: The build files in "E:\FireBreath-master\firebreath-dev\build" should *NEV
ER be modified directly.
When needed, make project changes in cmake files and re-run this script.
Project-specific cmake files are found in [plugin dir]\CMakeLists.txt and
[plugin dir]\Win\projectDef.cmake.
Note that parameters for cmake should be enclosed in double quotes, e.g. "-DVERB
OSE=1"
CMAKE parameters:
E:\FireBreath-master\firebreath-dev\build>cmake -G "Visual Studio 11" -DFB_PROJE
CTS_DIR="E:\FireBreath-master\firebreath-dev\projects" "E:\FireBreath-master\fi
rebreath-dev"
Async surface drawing not enabled
-- Balanced size/speed optimization
CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "boost_thread".
Call Stack (most recent call first):
CMakeLists.txt:92 (add_boost_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "boost_system".
Call Stack (most recent call first):
src/3rdParty/boost/libs/thread/CMakeLists.txt:64 (add_boost_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:103 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "ScriptingCore".
This warning is for project developers. Use -Wno-dev to suppress it.
project dir: E:/FireBreath-master/firebreath-dev/projects
CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "boost_date_time".
Call Stack (most recent call first):
cmake/common.cmake:97 (add_boost_library)
tests/ScriptingCoreTest/CMakeLists.txt:57 (link_boost_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "boost_regex".
Call Stack (most recent call first):
cmake/common.cmake:97 (add_boost_library)
tests/ScriptingCoreTest/CMakeLists.txt:58 (link_boost_library)
This warning is for project developers. Use -Wno-dev to suppress it.
No projects found in /.
CMake Error at CMakeLists.txt:170 (MESSAGE):
To build examples, run 'prep examples'
-- Configuring incomplete, errors occurred!
See also "E:/FireBreath-master/firebreath-dev/build/CMakeFiles/CMakeOutput.log".
E:\FireBreath-master\firebreath-dev>