-
-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5611 from Web-eWorks/editor-prerequisite
Editor Binary and Prerequisites
- Loading branch information
Showing
27 changed files
with
1,405 additions
and
154 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
list(APPEND EDITOR_SRC_FOLDERS | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
mfd/ | ||
) | ||
|
||
# Creates variables EDITOR_CXX_FILES and EDITOR_HXX_FILES | ||
add_source_folders(EDITOR EDITOR_SRC_FOLDERS) | ||
|
||
list(REMOVE_ITEM EDITOR_CXX_FILES | ||
editormain.cpp | ||
) | ||
|
||
# Creates a library, adds it to the build, and sets C++ target properties on it | ||
define_pioneer_library(pioneer-editor EDITOR_CXX_FILES EDITOR_HXX_FILES) | ||
target_include_directories(pioneer-editor PRIVATE ${CMAKE_BINARY_DIR}) | ||
target_link_libraries(pioneer-editor LINK_PRIVATE | ||
pioneer-core | ||
pioneer-lib | ||
) | ||
|
||
list(APPEND EDITOR_LIBRARIES | ||
pioneer-editor | ||
pioneer-core | ||
) | ||
|
||
add_executable(editor WIN32 editormain.cpp ${RESOURCES}) | ||
set_cxx_properties(editor) | ||
target_link_libraries(editor LINK_PRIVATE ${EDITOR_LIBRARIES} ${pioneerLibs} ${winLibs}) | ||
set_target_properties(editor PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) |
Oops, something went wrong.