[TIMOB-24331] Windows: Ability to re-run cmake for module project
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-23T00:32:52.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | Release 6.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2017-01-20T07:38:05.000+0000 |
Updated | 2017-01-26T00:41:59.000+0000 |
Description
Currently CMake configuration file (CMakeLists.txt) and Visual Studio project is created when you create Titanium Windows module project (
appc new
), but sometimes you need to update the VS project based on CMakeLists and re-run cmake
manually in order to change project configuration (add files, add dependencies etc). Titanium CLI should be able to re-run cmake
when necessary behind the scenes.
> appc new (Create module project. When prompted, select "Titanium Module")
> cd your_module_project/windows
> (Remove Windows10.ARM Windows10.Win32 WindowsPhone.ARM WindowsPhone.Win32 WindowsStore.Win32 folder)
> appc ti build -p windows --build-only -l trace --run-cmake
https://github.com/appcelerator/titanium_mobile_windows/pull/929
Verified, after removing the following folders (in the directory
your_module_project/windows
): *Windows10.ARM* *Windows10.Win32* *WindowsPhone.ARM* *WindowsPhone.Win32* *WindowsStore.Win32* I was able to re-runcmake
and re-create the folders (Used the command:appc ti build -p windows --build-only -l trace --run-cmake
) *Environment*