-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
12 lines (10 loc) · 6.79 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
cmake_minimum_required(VERSION 3.23)
project(AnnotatedTree)
set(CMAKE_C_STANDARD 17)
set(CMAKE_C_FLAGS "-O3")
find_package(annotated_sentence_c REQUIRED)
find_package(parse_tree_c REQUIRED)
add_library(AnnotatedTree src/Layer/DependencyLayer.c src/Layer/DependencyLayer.h src/Layer/WordLayer.h src/LayerInfo.c src/LayerInfo.h src/Layer/WordLayer.c src/Layer/EnglishPropbankLayer.c src/Layer/EnglishPropbankLayer.h src/Layer/EnglishSemanticLayer.c src/Layer/EnglishSemanticLayer.h src/Layer/EnglishWordLayer.c src/Layer/EnglishWordLayer.h src/Layer/MetaMorphemeLayer.c src/Layer/MetaMorphemeLayer.h src/Layer/MetaMorphemesMovedLayer.c src/Layer/MetaMorphemesMovedLayer.h src/Layer/MorphologicalAnalysisLayer.c src/Layer/MorphologicalAnalysisLayer.h src/Layer/NERLayer.c src/Layer/NERLayer.h src/Layer/PersianWordLayer.c src/Layer/PersianWordLayer.h src/Layer/ShallowParseLayer.c src/Layer/ShallowParseLayer.h src/Layer/TurkishPropbankLayer.c src/Layer/TurkishPropbankLayer.h src/Layer/TurkishSemanticLayer.c src/Layer/TurkishSemanticLayer.h src/Layer/TurkishWordLayer.c src/Layer/TurkishWordLayer.h src/ChunkType.h src/ParseNodeDrawable.c src/ParseNodeDrawable.h src/Processor/Condition/IsLeafNode.c src/Processor/Condition/IsLeafNode.h src/Processor/Condition/IsTurkishLeafNode.c src/Processor/Condition/IsTurkishLeafNode.h src/Processor/Condition/IsEnglishLeafNode.c src/Processor/Condition/IsEnglishLeafNode.h src/Processor/Condition/IsNullElement.c src/Processor/Condition/IsNullElement.h src/Processor/Condition/IsNodeWithPredicate.c src/Processor/Condition/IsNodeWithPredicate.h src/Processor/Condition/IsNodeWithSynSetId.c src/Processor/Condition/IsNodeWithSynSetId.h src/Processor/Condition/IsNodeWithSymbol.c src/Processor/Condition/IsNodeWithSymbol.h src/Processor/Condition/IsNoneNode.c src/Processor/Condition/IsNoneNode.h src/Processor/Condition/IsNumber.c src/Processor/Condition/IsNumber.h src/Processor/Condition/IsVPNode.c src/Processor/Condition/IsVPNode.h src/Processor/Condition/IsTransferable.c src/Processor/Condition/IsTransferable.h src/Processor/Condition/IsVerbNode.c src/Processor/Condition/IsVerbNode.h src/Processor/Condition/IsPunctuationNode.c src/Processor/Condition/IsPunctuationNode.h src/Processor/Condition/IsProperNoun.c src/Processor/Condition/IsProperNoun.h src/Processor/Condition/IsPredicateVerbNode.c src/Processor/Condition/IsPredicateVerbNode.h src/Processor/LayerExist/ContainsLayerInformation.c src/Processor/LayerExist/ContainsLayerInformation.h src/Processor/LayerExist/NotContainsLayerInformation.c src/Processor/LayerExist/NotContainsLayerInformation.h src/Processor/LayerExist/SemiContainsLayerInformation.c src/Processor/LayerExist/SemiContainsLayerInformation.h src/Processor/LeafConverter/LeafToLanguageConverter.c src/Processor/LeafConverter/LeafToLanguageConverter.h src/Processor/LeafConverter/LeafToRootFormConverter.c src/Processor/LeafConverter/LeafToRootFormConverter.h src/ParseTreeDrawable.c src/ParseTreeDrawable.h src/TreeBankDrawable.c src/TreeBankDrawable.h src/Processor/NodeDrawableCollector.c src/Processor/NodeDrawableCollector.h src/Processor/TreeToStringConverter.c src/Processor/TreeToStringConverter.h src/Processor/NodeModification/ConvertToLayeredFormat.c src/Processor/NodeModification/ConvertToLayeredFormat.h src/Processor/NodeModification/DestroyLayers.c src/Processor/NodeModification/DestroyLayers.h src/Processor/TreeModifier.c src/Processor/TreeModifier.h)
target_link_libraries(AnnotatedTree annotated_sentence_c::annotated_sentence_c parse_tree_c::parse_tree_c)
add_executable(ParseTreeDrawableTest src/Layer/DependencyLayer.c src/Layer/DependencyLayer.h src/Layer/WordLayer.h src/LayerInfo.c src/LayerInfo.h src/Layer/WordLayer.c src/Layer/EnglishPropbankLayer.c src/Layer/EnglishPropbankLayer.h src/Layer/EnglishSemanticLayer.c src/Layer/EnglishSemanticLayer.h src/Layer/EnglishWordLayer.c src/Layer/EnglishWordLayer.h src/Layer/MetaMorphemeLayer.c src/Layer/MetaMorphemeLayer.h src/Layer/MetaMorphemesMovedLayer.c src/Layer/MetaMorphemesMovedLayer.h src/Layer/MorphologicalAnalysisLayer.c src/Layer/MorphologicalAnalysisLayer.h src/Layer/NERLayer.c src/Layer/NERLayer.h src/Layer/PersianWordLayer.c src/Layer/PersianWordLayer.h src/Layer/ShallowParseLayer.c src/Layer/ShallowParseLayer.h src/Layer/TurkishPropbankLayer.c src/Layer/TurkishPropbankLayer.h src/Layer/TurkishSemanticLayer.c src/Layer/TurkishSemanticLayer.h src/Layer/TurkishWordLayer.c src/Layer/TurkishWordLayer.h src/ChunkType.h src/ParseNodeDrawable.c src/ParseNodeDrawable.h src/Processor/Condition/IsLeafNode.c src/Processor/Condition/IsLeafNode.h src/Processor/Condition/IsTurkishLeafNode.c src/Processor/Condition/IsTurkishLeafNode.h src/Processor/Condition/IsEnglishLeafNode.c src/Processor/Condition/IsEnglishLeafNode.h src/Processor/Condition/IsNullElement.c src/Processor/Condition/IsNullElement.h src/Processor/Condition/IsNodeWithPredicate.c src/Processor/Condition/IsNodeWithPredicate.h src/Processor/Condition/IsNodeWithSynSetId.c src/Processor/Condition/IsNodeWithSynSetId.h src/Processor/Condition/IsNodeWithSymbol.c src/Processor/Condition/IsNodeWithSymbol.h src/Processor/Condition/IsNoneNode.c src/Processor/Condition/IsNoneNode.h src/Processor/Condition/IsNumber.c src/Processor/Condition/IsNumber.h src/Processor/Condition/IsVPNode.c src/Processor/Condition/IsVPNode.h src/Processor/Condition/IsTransferable.c src/Processor/Condition/IsTransferable.h src/Processor/Condition/IsVerbNode.c src/Processor/Condition/IsVerbNode.h src/Processor/Condition/IsPunctuationNode.c src/Processor/Condition/IsPunctuationNode.h src/Processor/Condition/IsProperNoun.c src/Processor/Condition/IsProperNoun.h src/Processor/Condition/IsPredicateVerbNode.c src/Processor/Condition/IsPredicateVerbNode.h src/Processor/LayerExist/ContainsLayerInformation.c src/Processor/LayerExist/ContainsLayerInformation.h src/Processor/LayerExist/NotContainsLayerInformation.c src/Processor/LayerExist/NotContainsLayerInformation.h src/Processor/LayerExist/SemiContainsLayerInformation.c src/Processor/LayerExist/SemiContainsLayerInformation.h src/Processor/LeafConverter/LeafToLanguageConverter.c src/Processor/LeafConverter/LeafToLanguageConverter.h src/Processor/LeafConverter/LeafToRootFormConverter.c src/Processor/LeafConverter/LeafToRootFormConverter.h src/ParseTreeDrawable.c src/ParseTreeDrawable.h src/TreeBankDrawable.c src/TreeBankDrawable.h src/Processor/NodeDrawableCollector.c src/Processor/NodeDrawableCollector.h src/Processor/TreeToStringConverter.c src/Processor/TreeToStringConverter.h Test/ParseTreeDrawableTest.c src/Processor/NodeModification/ConvertToLayeredFormat.c src/Processor/NodeModification/ConvertToLayeredFormat.h src/Processor/NodeModification/DestroyLayers.c src/Processor/NodeModification/DestroyLayers.h src/Processor/TreeModifier.c src/Processor/TreeModifier.h)
target_link_libraries(ParseTreeDrawableTest annotated_sentence_c::annotated_sentence_c parse_tree_c::parse_tree_c)