Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
d66cd591
Commit
d66cd591
authored
14 years ago
by
Adam Wardynski
Committed by
Adam Wardynski
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Using auto-link boost feature in MSVC or BORLAND.
parent
01722a64
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+10
-1
10 additions, 1 deletion
CMakeLists.txt
with
10 additions
and
1 deletion
CMakeLists.txt
+
10
−
1
View file @
d66cd591
...
...
@@ -46,7 +46,16 @@ include_directories(${WCCL_SOURCE_DIR})
set
(
LIBWCCL_VERSION
"
${
ver_major
}
.
${
ver_minor
}
.
${
ver_patch
}
"
)
find_package
(
Boost 1.41 REQUIRED COMPONENTS program_options filesystem regex
)
find_package
(
Boost 1.41 REQUIRED COMPONENTS program_options system filesystem regex
)
if
(
MSVC OR BORLAND
)
# Use the auto-linking feature, don't try to add libraries yourself:
set
(
Boost_LIBRARIES
""
)
# Note the default is to link static libs and it is left like that here.
# You can make it link to DLL by defining BOOST_#module#_DYN_LINK
# in C++ source file or somewhere in CMake file, e.g.
# add_definitions( -DBOOST_FILESYSTEM_DYN_LINK )
endif
(
MSVC OR BORLAND
)
add_subdirectory
(
libwccl
)
add_subdirectory
(
wcclparser
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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