Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
ipaaca
Commits
12f38ca8
Commit
12f38ca8
authored
9 years ago
by
Ramin Yaghoubzadeh Torky
Browse files
Options
Downloads
Patches
Plain Diff
Adapting rsx paths for windows build
parent
bac02a39
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ipaacalib/cpp/CMakeLists.txt
+5
-20
5 additions, 20 deletions
ipaacalib/cpp/CMakeLists.txt
with
5 additions
and
20 deletions
ipaacalib/cpp/CMakeLists.txt
+
5
−
20
View file @
12f38ca8
...
...
@@ -15,7 +15,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPAACA_EXPOSE_FULL_RSB_API")
# find cmake modules locally too
set
(
CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/CMakeModules
)
#set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../deps/share/rsc0.10/cmake/Modules )
if
(
WIN32
)
# Check if we are on Windows
if
(
MSVC
)
# Check if we are using the Visual Studio compiler
...
...
@@ -41,12 +40,12 @@ if(WIN32) # Check if we are on Windows
# On the other hand, if you simply want to use the precompiled rsb from inside
# "rsx" (it works but has no debug info), uncomment the following four lines.
#
include_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSC-0.1
0
.0-win32/include/rsc0.1
0
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSB-0.1
0
.2-win32/include/rsb0.1
0
)
link_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSC-0.1
0
.0-win32/lib
)
link_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSB-0.1
0
.2-win32/lib
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSC-0.1
1
.0-win32/include/rsc0.1
1
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSB-0.1
1
.2-win32/include/rsb0.1
1
)
link_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSC-0.1
1
.0-win32/lib
)
link_directories
(
${
PROJECT_SOURCE_DIR
}
/../../../rsx/RSB-0.1
1
.2-win32/lib
)
set
(
RSBLIBS rsc0.1
0
rsb
)
set
(
RSBLIBS rsc0.1
1
rsb
0.11
)
set
(
LIBS
${
LIBS
}
rpcrt4
)
# Using custom Protobuf script (from rsc) because it honors PROTOBUF_ROOT
...
...
@@ -58,10 +57,6 @@ if(WIN32) # Check if we are on Windows
link_directories
(
${
Boost_LIBRARY_DIRS
}
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
### (First attempts to fix linking problem:)
##list(REMOVE_ITEM Boost_LIBRARIES boost_thread-vc100-mt-gd-1_54)
##set(Boost_LIBRARIES boost_regex-vc100-mt-gd-1_54 boost_date_time-vc100-mt-gd-1_54 boost_program_options-vc100-mt-gd-1_54 boost_filesystem-vc100-mt-gd-1_54 boost_signals-vc100-mt-gd-1_54 boost_system-vc100-mt-gd-1_54)
# Windows linkage hack: overriding the determined libs to remove boost_thread (causes multiple-definition issues)
set
(
CORRECT_BOOST_LIBS
""
)
foreach
(
BLIB
${
Boost_LIBRARIES
}
)
...
...
@@ -74,16 +69,6 @@ if(WIN32) # Check if we are on Windows
endif
(
drop_item
)
endforeach
(
BLIB
${
Boost_LIBRARIES
}
)
set
(
Boost_LIBRARIES
${
CORRECT_BOOST_LIBS
}
)
#include_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/boost/include/boost-1_54 )
#link_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/boost/lib )
#include_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/RSC-0.10.0-win32/include/rsc0.10 )
#include_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/RSB-0.10.2-win32/include/rsb0.10 )
#include_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/protobuf/include )
#link_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/RSC-0.10.0-win32/lib )
#link_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/RSB-0.10.2-win32/lib )
#link_directories( ${PROJECT_SOURCE_DIR}/../../../rsx/protobuf/bin )
else
()
message
(
SEND_ERROR
"Unsupported compiler! Please build with MSVC (2010)."
)
...
...
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