Piskvorkar
12th June 2010, 13:52
Hi!
I've spent realy long time lookig for this. I've quit large project and I would like to define source and header files structure as I want have it in MSVC 2005 project. Finally, I've found CONFIG -= flat option, but it isn't enoug. I want to disable dividing to Header files / Source file filters.
Example:
- project structure:
ProjectDir
- Group1Dir
# file1_1.h
# file1_1.cpp
# file1_2.h
# file1_2.cpp
- Group2Dir
# file2_1.h
# file2_1.cpp
# file2_2.h
# file2_2.cpp
- Group3Dir
etc ...
- and currently I get this structure in MSVC project
ProjectName
- GeneratedFiles
...
- ResourceFiles
...
- HeaderFiles
- Group1Dir
# file1_1.h
# file1_2.h
- Group2Dir
...
- SourceFiles
- Group1Dir
# file1_1.cpp
# file1_2.cpp
- Group2Dir
...
I would like to have headers and sources (*.h and *.cpp) together as in real directory structure. Isn't here realy any possibility to turn off automatically creating of Header Files and Source Files filters?
Thanks a lot!
PS: I've some experiences with CMake and there is even possible create SOURCE_GROUPS and then it does filters in MSVC project. Because I haven't found nothing similar here, I'm trying to do this using structured project directories and turning off flat option.
I've spent realy long time lookig for this. I've quit large project and I would like to define source and header files structure as I want have it in MSVC 2005 project. Finally, I've found CONFIG -= flat option, but it isn't enoug. I want to disable dividing to Header files / Source file filters.
Example:
- project structure:
ProjectDir
- Group1Dir
# file1_1.h
# file1_1.cpp
# file1_2.h
# file1_2.cpp
- Group2Dir
# file2_1.h
# file2_1.cpp
# file2_2.h
# file2_2.cpp
- Group3Dir
etc ...
- and currently I get this structure in MSVC project
ProjectName
- GeneratedFiles
...
- ResourceFiles
...
- HeaderFiles
- Group1Dir
# file1_1.h
# file1_2.h
- Group2Dir
...
- SourceFiles
- Group1Dir
# file1_1.cpp
# file1_2.cpp
- Group2Dir
...
I would like to have headers and sources (*.h and *.cpp) together as in real directory structure. Isn't here realy any possibility to turn off automatically creating of Header Files and Source Files filters?
Thanks a lot!
PS: I've some experiences with CMake and there is even possible create SOURCE_GROUPS and then it does filters in MSVC project. Because I haven't found nothing similar here, I'm trying to do this using structured project directories and turning off flat option.