-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
The project configuration uses $(SolutionDir) on several settings, which makes it impossible to add the cocos projects into own solutions.
For example, in cocos2dx, PreLinkEvent this command is used:
if not exist "$(OutDir)" mkdir "$(OutDir)"
xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries*.*" "$(OutDir)"
This could be replaced with:
if not exist "$(OutDir)" mkdir "$(OutDir)"
xcopy /Y /Q "$(ProjectDir)..\platform\third_party\win32\libraries*.*" "$(OutDir)"
The lua project uses $(SolutionDir) in it's include paths, where it can be replaced with "../../" relative paths.
This changes shouldn't affect existing projects, but should allow to add them into own visual studio solutions somewhere else on your hard disk.
Metadata
Metadata
Assignees
Labels
No labels