1 # Note: This will rebuild some .o files.
2 # currently, cmake can't link object files directly.
3 # It would be cleanest to seperate out a libmng, libpray, etc.
4 # into seperate project subdirs, and then have tools depend on that.
6 PROJECT (OPENC2E_TOOLS CXX)
8 ADD_EXECUTABLE(praydumper praydumper.cpp ${SRC}/pray.cpp)
10 TARGET_LINK_LIBRARIES(praydumper z m pthread
11 boost_program_options-mt
12 boost_serialization-mt
16 # This is buggy because of generated files. mng needs to be a library!
17 # ADD_EXECUTABLE(mngtest mngtest.cpp ${SRC}/mngfile.cpp ${BIN}/mngparser.tab.cpp ${BIN}/lex.mng.cpp)