Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24331] Windows: Ability to re-run cmake for module project

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-01-23T00:32:52.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2017-01-20T07:38:05.000+0000
Updated2017-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

Comments

  1. Kota Iguchi 2017-01-23

    https://github.com/appcelerator/titanium_mobile_windows/pull/929
  2. Samir Mohammed 2017-01-26

    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-run cmake and re-create the folders (Used the command: appc ti build -p windows --build-only -l trace --run-cmake) *Environment*
       
       Lumia 640 LTE (RM-1073) (OS Build 10.0.14393.693)
       Mobile emulator 10.0.14393.0 1080p 6inch 2gb
       Operating System
       Name                        = Microsoft Windows 10 Pro
       Version                     = 10.0.14393
       Architecture                = 64bit
       

    CPUs = 4

    Memory = 17034395648 Node.js Node.js Version = 4.6.0 npm Version = 2.11.3 Titanium SDK SDK Version = 6.1.0.v20170125103400

JSON Source