-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move elisp files in top directory and the server in its own directory
- Loading branch information
Showing
50 changed files
with
91 additions
and
135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
/irony-server | ||
/tests/ | ||
/utils/tests/ | ||
/perso/ | ||
/local-data/ | ||
/build/ | ||
/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,3 +1,3 @@ | ||
[submodule "lib/SimpleJSON"] | ||
path = lib/SimpleJSON | ||
[submodule "server/lib/SimpleJSON"] | ||
path = server/lib/SimpleJSON | ||
url = https://github.com/MJPA/SimpleJSON.git |
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 was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Submodule SimpleJSON
deleted from
012bad
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,47 +1,40 @@ | ||
# | ||
# irony-server executable build file | ||
# | ||
find_package (LibClang REQUIRED) | ||
|
||
include_directories (${LIBCLANG_INCLUDE_DIRS}) | ||
include_directories (${IRONY_UTILS_INCLUDES}) | ||
include_directories (${CMAKE_CURRENT_SOURCE_DIR}) | ||
|
||
# | ||
# irony-server executable | ||
# | ||
add_executable (irony-server | ||
# Main sources | ||
IPlugin.cpp | ||
IPlugin.h | ||
ClangString.cpp | ||
ClangString.h | ||
Server.cpp | ||
Server.h | ||
TUManager.cpp | ||
TUManager.h | ||
main.cpp | ||
|
||
# "Built-in" plugins sources | ||
plugins/CodeCompletion.cpp | ||
plugins/CodeCompletion.h | ||
plugins/SyntaxChecker.cpp | ||
plugins/SyntaxChecker.h | ||
plugins/CacheInvalidation.h | ||
plugins/CacheInvalidation.cpp | ||
plugins/CompileChecker.cpp | ||
plugins/CompileChecker.h | ||
) | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
add_dependencies (irony-server | ||
# Dependencies | ||
irony-utils | ||
) | ||
project(IronyMode) | ||
|
||
set(CMAKE_MODULE_PATH | ||
${PROJECT_SOURCE_DIR}/cmake | ||
${PROJECT_SOURCE_DIR}/cmake/modules | ||
${CMAKE_MODULE_PATH}) | ||
|
||
include(utils) | ||
|
||
check_for_in_source_build() | ||
release_as_default_build_type() | ||
enable_colored_diagnotics() | ||
|
||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") | ||
add_compile_options_(-Wall -Wextra) | ||
endif() | ||
|
||
# libclang in non standard locations can cause some troubles. | ||
option(USE_RPATH "Enable rpath for shared libraries (such as libclang.so)." OFF) | ||
|
||
if (USE_RPATH) | ||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) | ||
endif() | ||
|
||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
|
||
target_link_libraries (irony-server | ||
irony-utils | ||
${LIBCLANG_LIBRARIES} | ||
set(IRONY_UTILS_INCLUDES | ||
${PROJECT_SOURCE_DIR}/lib | ||
${PROJECT_SOURCE_DIR}/lib/SimpleJSON/src | ||
) | ||
|
||
install (TARGETS irony-server | ||
RUNTIME DESTINATION ${PROJECT_SOURCE_DIR}/bin) | ||
add_subdirectory(lib) | ||
add_subdirectory(src) | ||
add_subdirectory(docs) | ||
enable_testing() | ||
add_subdirectory(test) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Submodule SimpleJSON
added at
ad8216
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,46 @@ | ||
# | ||
# irony-server executable build file | ||
# | ||
find_package (LibClang REQUIRED) | ||
|
||
include_directories (${LIBCLANG_INCLUDE_DIRS}) | ||
include_directories (${IRONY_UTILS_INCLUDES}) | ||
include_directories (${CMAKE_CURRENT_SOURCE_DIR}) | ||
|
||
# | ||
# irony-server executable | ||
# | ||
add_executable (irony-server | ||
# Main sources | ||
IPlugin.cpp | ||
IPlugin.h | ||
ClangString.cpp | ||
ClangString.h | ||
Server.cpp | ||
Server.h | ||
TUManager.cpp | ||
TUManager.h | ||
main.cpp | ||
|
||
# "Built-in" plugins sources | ||
plugins/CodeCompletion.cpp | ||
plugins/CodeCompletion.h | ||
plugins/SyntaxChecker.cpp | ||
plugins/SyntaxChecker.h | ||
plugins/CacheInvalidation.h | ||
plugins/CacheInvalidation.cpp | ||
plugins/CompileChecker.cpp | ||
plugins/CompileChecker.h | ||
) | ||
|
||
add_dependencies (irony-server | ||
# Dependencies | ||
irony-utils | ||
) | ||
|
||
target_link_libraries (irony-server | ||
irony-utils | ||
${LIBCLANG_LIBRARIES} | ||
) | ||
|
||
install (TARGETS irony-server DESTINATION bin) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.