Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
old_macaon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Franck Dary
old_macaon
Commits
cba4b070
Commit
cba4b070
authored
6 years ago
by
Franck Dary
Browse files
Options
Downloads
Patches
Plain Diff
Updated CMAKE
parent
c0cb42e8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+10
-0
10 additions, 0 deletions
CMakeLists.txt
decoder/CMakeLists.txt
+1
-1
1 addition, 1 deletion
decoder/CMakeLists.txt
maca_common/CMakeLists.txt
+2
-2
2 additions, 2 deletions
maca_common/CMakeLists.txt
trainer/CMakeLists.txt
+1
-1
1 addition, 1 deletion
trainer/CMakeLists.txt
with
14 additions
and
4 deletions
CMakeLists.txt
+
10
−
0
View file @
cba4b070
...
...
@@ -11,6 +11,16 @@ find_package(Boost REQUIRED COMPONENTS program_options)
find_package
(
fasttext REQUIRED
)
find_package
(
Doxygen REQUIRED
)
include_directories
(
${
DYNET_INCLUDE_DIR
}
)
include_directories
(
${
FASTTEXT_INCLUDE_DIR
}
)
add_library
(
Boost SHARED IMPORTED
)
set_target_properties
(
Boost PROPERTIES IMPORTED_LOCATION
${
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE
}
)
add_library
(
dynet SHARED IMPORTED
)
set_target_properties
(
dynet PROPERTIES IMPORTED_LOCATION
${
DYNET_LIBRARY
}
)
add_library
(
fasttext SHARED IMPORTED
)
set_target_properties
(
fasttext PROPERTIES IMPORTED_LOCATION
${
FASTTEXT_LIBRARY
}
)
set
(
CMAKE_VERBOSE_MAKEFILE 0
)
set
(
CMAKE_CXX_STANDARD 11
)
...
...
This diff is collapsed.
Click to expand it.
decoder/CMakeLists.txt
+
1
−
1
View file @
cba4b070
...
...
@@ -3,7 +3,7 @@ FILE(GLOB SOURCES src/*.cpp)
add_executable
(
macaon_decode src/macaon_decode.cpp
)
target_link_libraries
(
macaon_decode transition_machine
)
target_link_libraries
(
macaon_decode decoder
)
target_link_libraries
(
macaon_decode
${
Boost
_PROGRAM_OPTIONS_LIBRARY
}
)
target_link_libraries
(
macaon_decode Boost
)
target_link_libraries
(
macaon_decode errors
)
install
(
TARGETS macaon_decode DESTINATION bin
)
...
...
This diff is collapsed.
Click to expand it.
maca_common/CMakeLists.txt
+
2
−
2
View file @
cba4b070
FILE
(
GLOB SOURCES src/*.cpp
)
add_executable
(
macaon_compute_l_rules src/macaon_compute_l_rules.cpp
)
target_link_libraries
(
macaon_compute_l_rules
${
Boost
_PROGRAM_OPTIONS_LIBRARY
}
)
target_link_libraries
(
macaon_compute_l_rules Boost
)
target_link_libraries
(
macaon_compute_l_rules maca_common
)
install
(
TARGETS macaon_compute_l_rules DESTINATION bin
)
add_executable
(
macaon_convert_embeddings src/macaon_convert_embeddings.cpp
)
target_link_libraries
(
macaon_convert_embeddings
${
Boost
_PROGRAM_OPTIONS_LIBRARY
}
)
target_link_libraries
(
macaon_convert_embeddings Boost
)
target_link_libraries
(
macaon_convert_embeddings maca_common
)
target_link_libraries
(
macaon_convert_embeddings dynet
)
install
(
TARGETS macaon_convert_embeddings DESTINATION bin
)
...
...
This diff is collapsed.
Click to expand it.
trainer/CMakeLists.txt
+
1
−
1
View file @
cba4b070
...
...
@@ -3,7 +3,7 @@ FILE(GLOB SOURCES src/*.cpp)
add_executable
(
macaon_train src/macaon_train.cpp
)
target_link_libraries
(
macaon_train transition_machine
)
target_link_libraries
(
macaon_train trainer
)
target_link_libraries
(
macaon_train
${
Boost
_PROGRAM_OPTIONS_LIBRARY
}
)
target_link_libraries
(
macaon_train Boost
)
install
(
TARGETS macaon_train DESTINATION bin
)
#compiling library
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment