Hey Pau, 2009/12/28 Pau Garcia i Quiles <[email protected]>: > While looking into the static linkage issues (I'll send my reply to > that later today), I've noticed two more issues: > > * First one is target 'doc' is being created as many times as you call > the ASCIIDOC_FILE macro: > > IF (ASCIIDOC_FOUND) > MACRO (ASCIIDOC_FILE target infile outfile) > ADD_CUSTOM_TARGET(${target} > ${ASCIIDOC_EXECUTABLE} -a toc -a numbered -o ${outfile} ${infile} > COMMENT "Asciidoc ${infile}") > ADD_CUSTOM_TARGET(doc) > ADD_DEPENDENCIES(doc ${target}) > ENDMACRO (ASCIIDOC_FILE) > ENDIF (ASCIIDOC_FOUND) > > An easy way to avoid that is moving that ADD_CUSTOM_TARGET(doc) out of the > MACRO
That was the way we had it going first, but that seems not to work with CMake 2.4. Does having the multiple ADD_CUSTOM_TARGET(...) have any bad consequences ? > * The other one is sqlite3 is now being distributed with Wt. Would it > be at least possible to make it optional to compile the Wt-distributed > sqlite3? (just like minixml can now be compiled in, or use the system > one). I have not tried this FindSqlite3.cmake but knowing the author, > it should be pretty good: > https://dev.csync.org/browser/cmake/Modules/FindSQLite3.cmake That is a fair point ! I am not sure we will want to delay a 3.1.0 any longer though. Regards, koen ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
