-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cee05d4
commit cbd3010
Showing
8 changed files
with
38 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
project(HopsanAddressServer) | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_DEBUG_POSTFIX _d) | ||
find_package(Threads REQUIRED) | ||
|
||
set(target_name hopsanaddresserver) | ||
|
||
file(GLOB srcfiles *.cpp *.h) | ||
|
||
add_executable(${target_name} ${srcfiles}) | ||
add_executable(hopsanaddresserver ${srcfiles}) | ||
|
||
target_include_directories(${target_name} PRIVATE | ||
target_include_directories(hopsanaddresserver PRIVATE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tclap/include>) | ||
|
||
target_link_libraries(${target_name} libhopsanremoteclient Threads::Threads) | ||
target_link_libraries(hopsanaddresserver libhopsanremoteclient Threads::Threads) | ||
|
||
set_target_properties(${target_name} PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
set_target_properties(hopsanaddresserver PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
|
||
install(TARGETS ${target_name} | ||
install(TARGETS hopsanaddresserver | ||
RUNTIME DESTINATION bin | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
project(HopsanRemoteClient) | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_DEBUG_POSTFIX _d) | ||
add_executable(hopsanremoteclient main.cpp) | ||
|
||
set(target_name hopsanremoteclient) | ||
|
||
add_executable(${target_name} main.cpp) | ||
|
||
target_include_directories(${target_name} PRIVATE | ||
target_include_directories(hopsanremoteclient PRIVATE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tclap/include>) | ||
|
||
target_link_libraries(${target_name} libhopsanremoteclient) | ||
target_link_libraries(hopsanremoteclient libhopsanremoteclient) | ||
|
||
set_target_properties(${target_name} PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
set_target_properties(hopsanremoteclient PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
|
||
install(TARGETS ${target_name} | ||
install(TARGETS hopsanremoteclient | ||
RUNTIME DESTINATION bin | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
project(HopsanServer) | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_DEBUG_POSTFIX _d) | ||
find_package(Threads REQUIRED) | ||
|
||
set(target_name hopsanserver) | ||
add_executable(hopsanserver main.cpp) | ||
|
||
add_executable(${target_name} main.cpp) | ||
|
||
target_include_directories(${target_name} PRIVATE | ||
target_include_directories(hopsanserver PRIVATE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../../dependencies/tclap/include>) | ||
|
||
target_link_libraries(${target_name} libhopsanremotecommon Threads::Threads) | ||
target_link_libraries(hopsanserver libhopsanremotecommon Threads::Threads) | ||
|
||
set_target_properties(${target_name} PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
set_target_properties(hopsanserver PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
|
||
install(TARGETS ${target_name} | ||
install(TARGETS hopsanserver | ||
RUNTIME DESTINATION bin | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
project(HopsanServerMonitor) | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_DEBUG_POSTFIX _d) | ||
find_package(Threads REQUIRED) | ||
|
||
set(target_name hopsanservermonitor) | ||
add_executable(hopsanservermonitor main.cpp) | ||
|
||
add_executable(${target_name} main.cpp) | ||
|
||
target_include_directories(${target_name} PRIVATE | ||
target_include_directories(hopsanservermonitor PRIVATE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tclap/include>) | ||
|
||
target_link_libraries(${target_name} libhopsanremoteclient libhopsanremotecommon Threads::Threads) | ||
target_link_libraries(hopsanservermonitor libhopsanremoteclient libhopsanremotecommon Threads::Threads) | ||
|
||
set_target_properties(${target_name} PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
set_target_properties(hopsanservermonitor PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
|
||
install(TARGETS ${target_name} | ||
install(TARGETS hopsanservermonitor | ||
RUNTIME DESTINATION bin | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
project(HopsanServerWorker) | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_DEBUG_POSTFIX _d) | ||
find_package(Threads REQUIRED) | ||
|
||
set(target_name hopsanserverworker) | ||
add_executable(hopsanserverworker main.cpp) | ||
|
||
add_executable(${target_name} main.cpp) | ||
|
||
target_include_directories(${target_name} PRIVATE | ||
target_include_directories(hopsanserverworker PRIVATE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../../dependencies/tclap/include> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../../Utilities>) | ||
|
||
target_link_libraries(${target_name} libhopsanremotecommon hopsancore Threads::Threads) | ||
target_link_libraries(hopsanserverworker libhopsanremotecommon hopsancore Threads::Threads) | ||
|
||
set_target_properties(${target_name} PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
set_target_properties(hopsanserverworker PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib") | ||
|
||
install(TARGETS ${target_name} | ||
install(TARGETS hopsanserverworker | ||
RUNTIME DESTINATION bin | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters