Hello,
I have the following source dir structure
lib1\CMakeLists.txt
lib1\file1.cpp
lib1\file1.hpp
lib1\subdir1\CMakeLists.txt
lib1\subdir1\file2.hpp
lib1\subdir1\file3.hpp
lib1\subdir2\CMakeLists.txt
lib1\subdir2\file4.hpp
lib1\subdir2\file5.hpp
...
I wish to see this in VS2005
...
+ lib1 (project)
+ Header files
file1.hpp
+subdir1
file2.hpp
file3.hpp
CMakeLists.txt
+subdir2
file4.hpp
file5.hpp
CMakeLists.txt
+ Source files
file1.cpp
CMakeLists.txt
...
SO I tried this
=========== lib1\CMakeLists.txt================
ADD_SUBDIRECTORY(subdir1)
ADD_SUBDIRECTORY(subdir2)
ADD_LIBRARY(lib1
File1.cpp file1.hpp
######### Can I report the inclusion of subdir? header files
######### to the subdir? cmake files
=========== lib1\CMakeLists.txt================
SOURCE_GROUP(....
File2.hpp
File3.hpp
)
Rds,
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake