> Thanks, but something needs to verify that these actually get executed. They > could do other operations like use "${CMAKE_COMMAND} -E copy" to put files > somewhere that can be checked.
That's a good point. I'm thinking about writing a test that creates a file or directory and then have the test assert that the file or directory has been created. > Does the IDE support any way to run custom commands? It may be able to compile a dummy a file just to run a post build command. I'm going to research the documentation and try some things. > How would one using the IDE directly ever have generated sources? I'm not sure. I haven't built a project with these yet. I'll look into it. I noticed that libraries are probably not set up properly for this generator. It is creating a program project file and passing in the --relobj flag, which compiles and links fine. The seemingly better solution is to create a library project file. Then, the IDE will implicitly pass the --archive flag to the compiler. I haven't determined the difference between these two configurations yet. Geoffrey Viola SOFTWARE ENGINEER asirobots.com -----Original Message----- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, April 14, 2015 11:14 AM To: Geoffrey Viola Cc: cmake-developers@cmake.org Subject: Re: FW: FW: [cmake-developers] Initial Attempt at Green Hill MULTI IDE Generator Support On 04/14/2015 12:07 PM, Geoffrey Viola wrote: > It was easy to add some pre and post build commands Thanks, but something needs to verify that these actually get executed. They could do other operations like use "${CMAKE_COMMAND} -E copy" to put files somewhere that can be checked. > There currently isn't any support for custom targets. Does the IDE support any way to run custom commands? They are a major part of CMake's feature set. How would one using the IDE directly ever have generated sources? -Brad This message contains confidential information and is intended only for the recipient. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers