Skip to content
Snippets Groups Projects
Select Git revision
  • f848cc931b7c3b56f228c150d5bdb556e422b31e
  • master default protected
  • vertical_relations
  • lu_without_semantic_frames
  • hierarchy
  • additional-unification-filters
  • v0.1.1
  • v0.1.0
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
  • v0.0.1
17 results

docker-compose.yml

Blame
  • CMakeLists.txt 1.12 KiB
    PROJECT( wccl-features )
    
    find_package(Libedit)
    if (Libedit_FOUND)
    	message(STATUS "Building with libedit")
    	add_definitions( -DHAVE_LIBEDIT )
    	set(LIBS ${LIBS} ${Libedit_LIBRARIES})
    endif (Libedit_FOUND)
    
    find_package(LibXML++ REQUIRED)
    include_directories(${LibXML++_INCLUDE_DIRS})
    link_directories(${LibXML++_LIBRARY_DIRS})
    set(LIBS ${LIBS} ${LibXML++_LIBRARIES})
    
    find_package(Loki REQUIRED QUIET)
    set(LIBS ${LIBS} loki)
    
    include_directories(${CMAKE_SOURCE_DIR})
    include_directories(${Boost_INCLUDE_DIR})
    link_directories(${Boost_LIBRARY_DIRS})
    
    add_executable(wccl-features wccl-features.cpp)
    target_link_libraries (wccl-features wccl ${Boost_LIBRARIES} antlr ${LIBS})
    add_executable(wccl-run wccl-run.cpp stdopts.cpp)
    target_link_libraries (wccl-run wccl ${Boost_LIBRARIES} antlr ${LIBS})
    add_executable(wccl-rules wccl-rules.cpp)
    target_link_libraries (wccl-rules wccl ${Boost_LIBRARIES} antlr ${LIBS})
    add_executable(wccl-parser wccl-parser.cpp)
    target_link_libraries (wccl-parser wccl ${Boost_LIBRARIES} antlr ${LIBS})
    
    if(UNIX)
    	install(TARGETS wccl-features wccl-run wccl-rules wccl-parser
    		RUNTIME DESTINATION bin
    	)
    endif(UNIX)