Mercurial > projects > qtd
comparison generator/CMakeLists.txt @ 266:5134552d97f6
Bug fix for http://www.dsource.org/forums/viewtopic.php?t=4713
author | SokoL_SD |
---|---|
date | Fri, 11 Sep 2009 13:50:59 +0000 |
parents | 6cd923119ab1 |
children | b61a413fc2f5 |
comparison
equal
deleted
inserted
replaced
265:6cd923119ab1 | 266:5134552d97f6 |
---|---|
228 OR NOT EXISTS ${dgen_build_conf} | 228 OR NOT EXISTS ${dgen_build_conf} |
229 OR NOT EXISTS ${jambi_inc}) | 229 OR NOT EXISTS ${jambi_inc}) |
230 | 230 |
231 set(gen_sources) | 231 set(gen_sources) |
232 foreach(package_normal ${packages}) | 232 foreach(package_normal ${packages}) |
233 string(TOLOWER ${package_normal} package) | 233 string(TOLOWER ${package_normal} package) |
234 set(gen_sources ${gen_sources} ${CMAKE_SOURCE_DIR}/generator/typesystem_${package}.xml) | 234 set(gen_sources ${gen_sources} ${CMAKE_SOURCE_DIR}/generator/typesystem_${package}.xml) |
235 set(d_inc_file_found d_inc_file_found-NOTFOUND) | |
235 find_file(d_inc_file_found typesystem_${package}-java.java PATHS ${CMAKE_SOURCE_DIR}/generator/) | 236 find_file(d_inc_file_found typesystem_${package}-java.java PATHS ${CMAKE_SOURCE_DIR}/generator/) |
236 if(d_inc_file_found) | 237 if(d_inc_file_found) |
237 set(gen_sources ${gen_sources} ${CMAKE_SOURCE_DIR}/generator/typesystem_${package}-java.java) | 238 set(gen_sources ${gen_sources} ${d_inc_file_found}) |
238 endif(d_inc_file_found) | 239 endif(d_inc_file_found) |
239 endforeach(package_normal ${packages}) | 240 endforeach(package_normal ${packages}) |
240 mark_as_advanced(d_inc_file_found) | 241 mark_as_advanced(d_inc_file_found) |
241 set(d_inc_file_found 1) | 242 set(d_inc_file_found 1) |
242 | 243 |