creare il progetto WinRT abbiamo bisogno di avere CMake> = 2.8.10 e:È possibile creare un progetto WinRT con cmake?
- tipo Set progetto sia di Windows App Store (CMAKE: SET_TARGET_PROPERTIES (target PROPRIETÀ VS_WINRT_EXTENSIONS TRUE)
- Aggiungere bandiera compilatore/ZW per la compilazione WinRT (cMake: ADD_DEFINITIONS (-ZW))
- Aggiungi App.xaml.h, App.xaml.cpp
- Aggiungere App.xaml così VS genererà alcuni file aggiuntivi da esso (cMAKE:? COME)
- Aggiungi Package.appxmanifest con descrizione in modo che VS lo utilizzi (CMAKE: COME?)
Grazie.
UPDATE: CMake bug report riferendosi a questa domanda è qui 0013749: Cannot target Windows 8 RT from CMake without workarounds.
E questo http://public.kitware.com/Bug/view.php?id=13511 –