Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
0f088db7
Commit
0f088db7
authored
Sep 25, 2014
by
neverlord
Committed by
Dominik Charousset
Sep 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No install targets on WIN32 and no compiler check
parent
a8a2f614
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
CMakeLists.txt
CMakeLists.txt
+1
-1
libcaf_core/CMakeLists.txt
libcaf_core/CMakeLists.txt
+2
-2
libcaf_io/CMakeLists.txt
libcaf_io/CMakeLists.txt
+8
-4
No files found.
CMakeLists.txt
View file @
0f088db7
...
...
@@ -69,7 +69,7 @@ endif()
################################################################################
# check for g++ >= 4.7 or clang++ > = 3.2
if
(
NOT NO_COMPILER_CHECK
)
if
(
NOT
WIN32 AND NOT
NO_COMPILER_CHECK
)
try_run
(
ProgramResult
CompilationSucceeded
"
${
CMAKE_BINARY_DIR
}
"
...
...
libcaf_core/CMakeLists.txt
View file @
0f088db7
...
...
@@ -87,7 +87,7 @@ if (NOT "${CAF_BUILD_STATIC_ONLY}" STREQUAL "yes")
SOVERSION
${
LIBRARY_SOVERSION
}
VERSION
${
CAF_VERSION
}
OUTPUT_NAME caf_core
)
if
(
NOT
MINGW
)
if
(
NOT
WIN32
)
install
(
TARGETS libcaf_core LIBRARY DESTINATION lib
)
endif
()
endif
()
...
...
@@ -96,7 +96,7 @@ endif ()
if
(
"
${
CAF_BUILD_STATIC_ONLY
}
"
STREQUAL
"yes"
OR
"
${
CAF_BUILD_STATIC
}
"
STREQUAL
"yes"
)
add_library
(
libcaf_coreStatic STATIC
${
LIBCAF_CORE_HDRS
}
${
LIBCAF_CORE_SRCS
}
)
set_target_properties
(
libcaf_coreStatic PROPERTIES OUTPUT_NAME caf_core_static
)
if
(
NOT
MINGW
)
if
(
NOT
WIN32
)
install
(
TARGETS libcaf_coreStatic ARCHIVE DESTINATION lib
)
endif
()
endif
()
...
...
libcaf_io/CMakeLists.txt
View file @
0f088db7
...
...
@@ -31,7 +31,7 @@ if (NOT "${CAF_BUILD_STATIC_ONLY}" STREQUAL "yes")
SOVERSION
${
LIBRARY_SOVERSION
}
VERSION
${
CAF_VERSION
}
OUTPUT_NAME caf_io
)
if
(
NOT
MINGW
)
if
(
NOT
WIN32
)
install
(
TARGETS libcaf_io LIBRARY DESTINATION lib
)
endif
()
endif
()
...
...
@@ -40,12 +40,16 @@ endif ()
if
(
"
${
CAF_BUILD_STATIC_ONLY
}
"
STREQUAL
"yes"
OR
"
${
CAF_BUILD_STATIC
}
"
STREQUAL
"yes"
)
add_library
(
libcaf_ioStatic STATIC
${
LIBCAF_IO_HDRS
}
${
LIBCAF_IO_SRCS
}
)
set_target_properties
(
libcaf_ioStatic PROPERTIES OUTPUT_NAME caf_io_static
)
install
(
TARGETS libcaf_ioStatic ARCHIVE DESTINATION lib
)
if
(
NOT WIN32
)
install
(
TARGETS libcaf_ioStatic ARCHIVE DESTINATION lib
)
endif
()
endif
()
link_directories
(
${
LD_DIRS
}
)
include_directories
(
.
${
INCLUDE_DIRS
}
)
# install includes
install
(
DIRECTORY caf/ DESTINATION include/caf FILES_MATCHING PATTERN
"*.hpp"
)
install
(
DIRECTORY cppa/ DESTINATION include/cppa FILES_MATCHING PATTERN
"*.hpp"
)
if
(
NOT WIN32
)
install
(
DIRECTORY caf/ DESTINATION include/caf FILES_MATCHING PATTERN
"*.hpp"
)
install
(
DIRECTORY cppa/ DESTINATION include/cppa FILES_MATCHING PATTERN
"*.hpp"
)
endif
()
\ No newline at end of file
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