I would like to port an embedded application to x86 to create an emulator. We decided to give VS2008 a try but I'm not sure how to make vs to understand our existing directory structure:
- arch/
- arch/hcs08 -- HAL implementation
- arch/include -- public interface of HAL
- arch/x86 -- here should goes the emulation layer
- os/
- os/src -- source for os layer
- os/include -- public interface of OS
- apps/ -- embedded applications
- apps/app1/src -- app1
- apps/app2/src -- app2
I would like to have 3 projects:
- arch & os - library project, that contains everything in os/, arch/include/ and arch/x86/*
- app1 - console app project, that contains everything in apps/app1/*
- app2 - console app project, that contains everything in apps/app1/*
I've created the above structure by importing files manually one by one, but obviously vs doesn't pick new files automatically and my project is flat (no folders)
OS & application layers are under constant development so adding new files is really irritating.
Is there any way to make VS to pick all new files automatically and keep the directory structure?
I know that I can easily to the above in Eclipse CDT but as I said we would like to try VS2008.