How can I add any old file to the solution explorer panel in visual studio? The .i files used by the swig module show up quite nicely but I can't follow what's going on in that script closely enough to figure it out.
In the example below, is it possible to have ${source_file} show up in the side bar under the ${target}? I've tried using: SOURCE_GROUP(${target} FILES ${source_file}) but the file doesn't show up. I am assuming that ${source_file} will have a non-standard file extension.
Thanks- Abe
SET_SOURCE_FILES_PROPERTIES(${source_file} PROPERTIES CPLUSPLUS ON)ADD_CUSTOM_COMMAND(OUTPUT ${generated_file} DEPENDS ${source_file} COMMAND ${cmd} ARGS ${source_file} -o ${generated_file} )ADD_CUSTOM_TARGET(${generated_target} ALL DEPENDS ${generated_file} ) # Add the library. ADD_LIBRARY(${target} ${generated_file} )
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
