uncomment build of stand alone commands for CMake
@@ -264,20 +264,20 @@ install(TARGETS bartsupport
ARCHIVE DESTINATION lib/static)
-## PASS #1: Build stand-alone programs
-## Generate stand alone programs
-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/StandAloneCode)
-foreach(curr_prog ${ALLPROGS})
- CONFIG_BY_REPLACEMENT( ${CMAKE_CURRENT_LIST_DIR}/src/main.c ${CMAKE_CURRENT_BINARY_DIR}/StandAloneCode/${curr_prog}.c
- "/* Generated by cmake */"
- "main_real" "main_${curr_prog}")
- bart_add_executable(${curr_prog} ${CMAKE_CURRENT_BINARY_DIR}/StandAloneCode/${curr_prog}.c ${CMAKE_CURRENT_LIST_DIR}/src/${curr_prog}.c)
- target_link_libraries(${curr_prog} bartsupport )
- install(TARGETS ${curr_prog}
- RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib/static)
-endforeach()
+### PASS #1: Build stand-alone programs
+### Generate stand alone programs
+#file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/StandAloneCode)
+#foreach(curr_prog ${ALLPROGS})
+# CONFIG_BY_REPLACEMENT( ${CMAKE_CURRENT_LIST_DIR}/src/main.c ${CMAKE_CURRENT_BINARY_DIR}/StandAloneCode/${curr_prog}.c
+# "/* Generated by cmake */"
+# "main_real" "main_${curr_prog}")
+# bart_add_executable(${curr_prog} ${CMAKE_CURRENT_BINARY_DIR}/StandAloneCode/${curr_prog}.c ${CMAKE_CURRENT_LIST_DIR}/src/${curr_prog}.c)
+# target_link_libraries(${curr_prog} bartsupport )
+# install(TARGETS ${curr_prog}
+# RUNTIME DESTINATION bin
+# LIBRARY DESTINATION lib
+# ARCHIVE DESTINATION lib/static)
+#endforeach()
## More crafty file manipulation so that we maintain backward comaptibility
## with the Makefile
