-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
12 lines (10 loc) · 9.02 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
cmake_minimum_required(VERSION 3.12)
project(AnnotatedTree)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "-O3")
find_package(annotated_sentence REQUIRED)
find_package(parse_tree REQUIRED)
add_library(AnnotatedTree src/ChunkType.h src/SearchType.h src/Layer/WordLayer.cpp src/Layer/WordLayer.h src/Layer/SingleWordLayer.h src/Layer/MultiWordLayer.h src/Layer/MultiWordMultiItemLayer.h src/Layer/SingleWordMultiItemLayer.h src/Layer/SourceLanguageWordLayer.h src/Layer/TargetLanguageWordLayer.h src/Layer/DependencyLayer.h src/Layer/EnglishPropbankLayer.h src/Layer/EnglishSemanticLayer.h src/Layer/EnglishWordLayer.h src/Layer/MetaMorphemesMovedLayer.h src/Layer/MetaMorphemeLayer.h src/Layer/MorphologicalAnalysisLayer.h src/Layer/DependencyLayer.cpp src/Layer/EnglishPropbankLayer.cpp src/Layer/EnglishSemanticLayer.cpp src/Layer/EnglishWordLayer.cpp src/Layer/MetaMorphemeLayer.cpp src/Layer/MetaMorphemesMovedLayer.cpp src/Layer/MorphologicalAnalysisLayer.cpp src/Layer/SourceLanguageWordLayer.cpp src/Layer/TargetLanguageWordLayer.cpp src/Layer/NERLayer.cpp src/Layer/NERLayer.h src/Layer/PersianWordLayer.cpp src/Layer/PersianWordLayer.h src/Layer/ShallowParseLayer.cpp src/Layer/ShallowParseLayer.h src/Layer/TurkishPropbankLayer.cpp src/Layer/TurkishPropbankLayer.h src/Layer/TurkishSemanticLayer.cpp src/Layer/TurkishSemanticLayer.h src/Layer/TurkishWordLayer.cpp src/Layer/TurkishWordLayer.h src/LayerInfo.cpp src/LayerInfo.h src/ParseNodeDrawable.cpp src/ParseNodeDrawable.h src/ParseNodeSearchable.cpp src/ParseNodeSearchable.h src/ParseTreeDrawable.cpp src/ParseTreeDrawable.h src/ParseTreeSearchable.cpp src/ParseTreeSearchable.h src/SearchTree.cpp src/SearchTree.h src/TreeBankDrawable.cpp src/TreeBankDrawable.h src/Processor/Condition/NodeDrawableCondition.h src/Processor/Condition/IsLeafNode.cpp src/Processor/Condition/IsLeafNode.h src/Processor/Condition/IsEnglishLeafNode.cpp src/Processor/Condition/IsEnglishLeafNode.h src/Processor/Condition/IsNullElement.cpp src/Processor/Condition/IsNullElement.h src/Processor/Condition/IsNodeWithSymbol.cpp src/Processor/Condition/IsNodeWithSymbol.h src/Processor/Condition/IsNodeWithSynSetId.cpp src/Processor/Condition/IsNodeWithSynSetId.h src/Processor/Condition/IsNodeWithPredicate.cpp src/Processor/Condition/IsNodeWithPredicate.h src/Processor/Condition/IsNoneNode.cpp src/Processor/Condition/IsNoneNode.h src/Processor/Condition/IsNoneReplaceable.cpp src/Processor/Condition/IsNoneReplaceable.h src/Processor/Condition/IsNumber.cpp src/Processor/Condition/IsNumber.h src/Processor/Condition/IsVerbNode.cpp src/Processor/Condition/IsVerbNode.h src/Processor/Condition/IsPredicateVerbNode.cpp src/Processor/Condition/IsPredicateVerbNode.h src/Processor/Condition/IsProperNoun.cpp src/Processor/Condition/IsProperNoun.h src/Processor/Condition/IsPunctuationNode.cpp src/Processor/Condition/IsPunctuationNode.h src/Processor/Condition/IsTransferable.cpp src/Processor/Condition/IsTransferable.h src/Processor/Condition/IsTurkishLeafNode.cpp src/Processor/Condition/IsTurkishLeafNode.h src/Processor/Condition/IsVPNode.cpp src/Processor/Condition/IsVPNode.h src/Processor/LayerExist/LeafListCondition.h src/Processor/LayerExist/ContainsLayerInformation.cpp src/Processor/LayerExist/ContainsLayerInformation.h src/Processor/LayerExist/NotContainsLayerInformation.cpp src/Processor/LayerExist/NotContainsLayerInformation.h src/Processor/LayerExist/SemiContainsLayerInformation.cpp src/Processor/LayerExist/SemiContainsLayerInformation.h src/Processor/LeafConverter/LeafToStringConverter.h src/Processor/LeafConverter/LeafToEnglish.cpp src/Processor/LeafConverter/LeafToEnglish.h src/Processor/LeafConverter/LeafToLanguageConverter.cpp src/Processor/LeafConverter/LeafToLanguageConverter.h src/Processor/LeafConverter/LeafToPersian.cpp src/Processor/LeafConverter/LeafToPersian.h src/Processor/LeafConverter/LeafToTurkish.cpp src/Processor/LeafConverter/LeafToTurkish.h src/Processor/LeafConverter/LeafToRootFormConverter.cpp src/Processor/LeafConverter/LeafToRootFormConverter.h src/Processor/NodeDrawableCollector.cpp src/Processor/NodeDrawableCollector.h src/Processor/TreeToStringConverter.cpp src/Processor/TreeToStringConverter.h src/Processor/NodeModification/NodeModifier.h src/Processor/NodeModification/ConvertToLayeredFormat.cpp src/Processor/NodeModification/ConvertToLayeredFormat.h src/Processor/NodeModification/DestroyLayers.cpp src/Processor/NodeModification/DestroyLayers.h src/Processor/NodeModification/ModifyTags.cpp src/Processor/NodeModification/ModifyTags.h src/Processor/TreeModifier.cpp src/Processor/TreeModifier.h)
add_executable(Test src/ChunkType.h src/SearchType.h src/Layer/WordLayer.cpp src/Layer/WordLayer.h src/Layer/SingleWordLayer.h src/Layer/MultiWordLayer.h src/Layer/MultiWordMultiItemLayer.h src/Layer/SingleWordMultiItemLayer.h src/Layer/SourceLanguageWordLayer.h src/Layer/TargetLanguageWordLayer.h src/Layer/DependencyLayer.h src/Layer/EnglishPropbankLayer.h src/Layer/EnglishSemanticLayer.h src/Layer/EnglishWordLayer.h src/Layer/MetaMorphemesMovedLayer.h src/Layer/MetaMorphemeLayer.h src/Layer/MorphologicalAnalysisLayer.h src/Layer/DependencyLayer.cpp src/Layer/EnglishPropbankLayer.cpp src/Layer/EnglishSemanticLayer.cpp src/Layer/EnglishWordLayer.cpp src/Layer/MetaMorphemeLayer.cpp src/Layer/MetaMorphemesMovedLayer.cpp src/Layer/MorphologicalAnalysisLayer.cpp src/Layer/SourceLanguageWordLayer.cpp src/Layer/TargetLanguageWordLayer.cpp src/Layer/NERLayer.cpp src/Layer/NERLayer.h src/Layer/PersianWordLayer.cpp src/Layer/PersianWordLayer.h src/Layer/ShallowParseLayer.cpp src/Layer/ShallowParseLayer.h src/Layer/TurkishPropbankLayer.cpp src/Layer/TurkishPropbankLayer.h src/Layer/TurkishSemanticLayer.cpp src/Layer/TurkishSemanticLayer.h src/Layer/TurkishWordLayer.cpp src/Layer/TurkishWordLayer.h src/LayerInfo.cpp src/LayerInfo.h src/ParseNodeDrawable.cpp src/ParseNodeDrawable.h src/ParseNodeSearchable.cpp src/ParseNodeSearchable.h src/ParseTreeDrawable.cpp src/ParseTreeDrawable.h src/ParseTreeSearchable.cpp src/ParseTreeSearchable.h src/SearchTree.cpp src/SearchTree.h src/TreeBankDrawable.cpp src/TreeBankDrawable.h src/Processor/Condition/NodeDrawableCondition.h src/Processor/Condition/IsLeafNode.cpp src/Processor/Condition/IsLeafNode.h src/Processor/Condition/IsEnglishLeafNode.cpp src/Processor/Condition/IsEnglishLeafNode.h src/Processor/Condition/IsNullElement.cpp src/Processor/Condition/IsNullElement.h src/Processor/Condition/IsNodeWithSymbol.cpp src/Processor/Condition/IsNodeWithSymbol.h src/Processor/Condition/IsNodeWithSynSetId.cpp src/Processor/Condition/IsNodeWithSynSetId.h src/Processor/Condition/IsNodeWithPredicate.cpp src/Processor/Condition/IsNodeWithPredicate.h src/Processor/Condition/IsNoneNode.cpp src/Processor/Condition/IsNoneNode.h src/Processor/Condition/IsNoneReplaceable.cpp src/Processor/Condition/IsNoneReplaceable.h src/Processor/Condition/IsNumber.cpp src/Processor/Condition/IsNumber.h src/Processor/Condition/IsVerbNode.cpp src/Processor/Condition/IsVerbNode.h src/Processor/Condition/IsPredicateVerbNode.cpp src/Processor/Condition/IsPredicateVerbNode.h src/Processor/Condition/IsProperNoun.cpp src/Processor/Condition/IsProperNoun.h src/Processor/Condition/IsPunctuationNode.cpp src/Processor/Condition/IsPunctuationNode.h src/Processor/Condition/IsTransferable.cpp src/Processor/Condition/IsTransferable.h src/Processor/Condition/IsTurkishLeafNode.cpp src/Processor/Condition/IsTurkishLeafNode.h src/Processor/Condition/IsVPNode.cpp src/Processor/Condition/IsVPNode.h src/Processor/LayerExist/LeafListCondition.h src/Processor/LayerExist/ContainsLayerInformation.cpp src/Processor/LayerExist/ContainsLayerInformation.h src/Processor/LayerExist/NotContainsLayerInformation.cpp src/Processor/LayerExist/NotContainsLayerInformation.h src/Processor/LayerExist/SemiContainsLayerInformation.cpp src/Processor/LayerExist/SemiContainsLayerInformation.h src/Processor/LeafConverter/LeafToStringConverter.h src/Processor/LeafConverter/LeafToEnglish.cpp src/Processor/LeafConverter/LeafToEnglish.h src/Processor/LeafConverter/LeafToLanguageConverter.cpp src/Processor/LeafConverter/LeafToLanguageConverter.h src/Processor/LeafConverter/LeafToPersian.cpp src/Processor/LeafConverter/LeafToPersian.h src/Processor/LeafConverter/LeafToTurkish.cpp src/Processor/LeafConverter/LeafToTurkish.h src/Processor/LeafConverter/LeafToRootFormConverter.cpp src/Processor/LeafConverter/LeafToRootFormConverter.h src/Processor/NodeDrawableCollector.cpp src/Processor/NodeDrawableCollector.h src/Processor/TreeToStringConverter.cpp src/Processor/TreeToStringConverter.h src/Processor/NodeModification/NodeModifier.h src/Processor/NodeModification/ConvertToLayeredFormat.cpp src/Processor/NodeModification/ConvertToLayeredFormat.h src/Processor/NodeModification/DestroyLayers.cpp src/Processor/NodeModification/DestroyLayers.h src/Processor/NodeModification/ModifyTags.cpp src/Processor/NodeModification/ModifyTags.h src/Processor/TreeModifier.cpp src/Processor/TreeModifier.h Test/ParseTreeDrawableTest.cpp)
target_link_libraries(AnnotatedTree annotated_sentence::annotated_sentence parse_tree::parse_tree)
target_link_libraries(Test annotated_sentence::annotated_sentence parse_tree::parse_tree)