I'd like to use *.cpp files in my SET(sources...) command
(win32 implied here...)
STRING(REGEX REPLACE "/" "\\\\" THIS_DIR ${JavaR2_SOURCE_DIR}/myDir)
SET(DIRCOMMAND "dir")
EXEC_PROGRAM(${DIRCOMMAND} ARGS "/B ${THIS_DIR}\\*.cpp" OUTPUT_VARIABLE =
CPPFILES)
MESSAGE("${CPPFILES}")
I get a null string every time.
ideas?
thanks
JB