Hi, I want to call the following command as part of a build:

$ ./node_modules/.bin/webpack

This should generate a file public/bundle.js

I'm really struggling with this. I guess there's something fundamental that
I'm not understanding. `add_custom_command` doesn't seem to be doing
anything.
I would anticipate that it would put the command I want to call in the
makefile, but it hasn't.
If anyone could advise me on what I'm not getting here, that would be
brilliant.
Cheers,
   Doug.
-- 

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

Reply via email to