Remove the library target since it won't be useful.
This commit is contained in:
parent
3265e5f374
commit
c8f3e689bd
|
@ -86,10 +86,6 @@ include_directories(${CMAKE_CURRENT_LIST_DIR})
|
|||
add_executable(${EXENAME} src/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/processed/${PROJECT_NAME}.rc src/parser/MainParse.cpp src/etc/filefuncs.cpp src/etc/lexer.cpp src/headers/lex.hpp src/headers/misc.hpp src/headers/parsing/ParseComponents.hpp src/headers/transpiler/Target.hpp src/headers/transpiler/implementations/Lua.hpp src/headers/transpiler/implementations/Js.hpp src/headers/transpiler/implementations/Py.hpp src/headers/parsing/Parser.hpp src/headers/Yerbacon.hpp src/headers/arguments.hpp)
|
||||
target_compile_definitions(ybcon PRIVATE YBCON_VERSION="${CODENAME} ${PROJECT_VERSION}")
|
||||
|
||||
string(TOLOWER "${PROJECT_NAME}" YBCON_LIB)
|
||||
add_library(${YBCON_LIB} SHARED src/headers/lex.hpp src/headers/parsing/ParseComponents.hpp src/headers/transpiler/Target.hpp src/headers/transpiler/implementations/Lua.hpp src/headers/transpiler/implementations/Js.hpp src/headers/transpiler/implementations/Py.hpp src/headers/parsing/Parser.hpp src/headers/Yerbacon.hpp)
|
||||
set_target_properties(${YBCON_LIB} PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
# lpkg = linux package, wpkg = windows package
|
||||
set(PNAME ${PROJECT_NAME}-${CODENAME}-${TIME})
|
||||
if (UNIX AND NOT MINGW)
|
||||
|
|
Loading…
Reference in New Issue