Commit 5ce02268 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add Operator code in generated CMakeLists.txt and update find generator template

parent e60b649e
......@@ -45,9 +45,9 @@ endif(@PROJECT_NAME_UPPER@_LIBRARY_DIR)
set(@PROJECT_NAME_UPPER@_PREFIX "${@PROJECT_NAME_UPPER@_LIBRARY_DIR}/..")
set(@PROJECT_NAME_UPPER@ @libraryTargetName@ @EXTRA_DEPENDENCIES_LIB@)
set(@PROJECT_NAME_UPPER@ @libraryTargetName@ @EXTRA_DEPENDENCIES_LIB@ CACHE BOOL "@PROJECT_NAME_UPPER@ library and dependencies")
set(@PROJECT_NAME_UPPER@_FOUND "YES" CACHE BOOL "@PROJECT_NAME_UPPER@ program found")
set(@PROJECT_NAME_UPPER@_FOUND "YES" CACHE BOOL "@PROJECT_NAME_UPPER@ progect found")
link_directories(${@PROJECT_NAME_UPPER@_LIBRARY_DIR})
include_directories(${@PROJECT_NAME_UPPER@_INCLUDE_DIR} ${@PROJECT_NAME_UPPER@_INCLUDE_DIR}/../)
......
......@@ -19,6 +19,8 @@ bool repr_cpp_cmakeLists(const PTabGraphToken & tabGraphToken){
lib.setWantGenerateFindPackage(true);
lib.getListSources().push_back(tabGraphToken.getName()+".cpp");
lib.getListHeaders().push_back(tabGraphToken.getName()+".h");
lib.getListSources().push_back(tabGraphToken.getName()+"Operator.cpp");
lib.getListHeaders().push_back(tabGraphToken.getName()+"Operator.h");
lib.getListHeaders().push_back(tabGraphToken.getName()+"Full.h");
lib.getListSources().push_back(tabGraphToken.getName()+"_to_language.cpp");
lib.getListHeaders().push_back(tabGraphToken.getName()+"_to_language.h");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment