Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KennethVanhoey
CGoGN
Commits
19fce084
Commit
19fce084
authored
May 09, 2011
by
CGoGN GIT Supervisor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug CMakeLists (pb macro pout boost)
parent
23fbb587
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Apps/Tuto/CMakeLists.txt
Apps/Tuto/CMakeLists.txt
+2
-1
build/CMakeLists.txt
build/CMakeLists.txt
+0
-1
No files found.
Apps/Tuto/CMakeLists.txt
View file @
19fce084
...
@@ -77,7 +77,8 @@ target_link_libraries( tp_master
...
@@ -77,7 +77,8 @@ target_link_libraries( tp_master
#BOOST_LIBS macro: allow using compiled boost in windows (see readme)
#BOOST_LIBS macro: allow using compiled boost in windows (see readme)
# -first argument variable that will contain the libs
# -first argument variable that will contain the libs
# -second argument list of boost libs separated by ; in " "
# -second argument list of boost libs separated by ; in " "
BOOST_LIBS
(
boost_lib_lists
"boost_thread-mt;boost_iostreams-mt"
)
# exemple: BOOST_LIBS(boost_lib_lists "boost_thread-mt;boost_iostreams-mt")
BOOST_LIBS
(
boost_lib_lists
"boost_thread-mt"
)
QT4_WRAP_CPP
(
tuto_mt_moc tuto_mt.h
)
QT4_WRAP_CPP
(
tuto_mt_moc tuto_mt.h
)
add_executable
(
tuto_mt tuto_mt.cpp
${
tuto_mt_moc
}
)
add_executable
(
tuto_mt tuto_mt.cpp
${
tuto_mt_moc
}
)
...
...
build/CMakeLists.txt
View file @
19fce084
...
@@ -66,7 +66,6 @@ ELSE(WIN32)
...
@@ -66,7 +66,6 @@ ELSE(WIN32)
MACRO
(
BOOST_LIBS lib_lists names
)
MACRO
(
BOOST_LIBS lib_lists names
)
SET
(
${
lib_lists
}
)
SET
(
${
lib_lists
}
)
FOREACH
(
name
${
names
}
)
FOREACH
(
name
${
names
}
)
STRING
(
REGEX REPLACE
"-mt"
$ENV{boost_libs_extension} newname
${
name
}
)
SET
(
${
lib_lists
}
${${
lib_lists
}}
${
name
}
)
SET
(
${
lib_lists
}
${${
lib_lists
}}
${
name
}
)
ENDFOREACH
(
name
)
ENDFOREACH
(
name
)
ENDMACRO
(
BOOST_LIBS
)
ENDMACRO
(
BOOST_LIBS
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment