mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Build: Updated common to shared
This commit is contained in:
parent
3f9f244f7f
commit
96059d32bd
9 changed files with 12 additions and 10 deletions
|
@ -9,6 +9,7 @@ set (timew_SRCS Database.cpp Database.h
|
|||
Grammar.cpp Grammar.h
|
||||
Interval.cpp Interval.h
|
||||
Lexer.cpp Lexer.h
|
||||
Log.cpp Log.h
|
||||
LR0.cpp LR0.h
|
||||
Rules.cpp Rules.h
|
||||
init.cpp)
|
||||
|
@ -19,8 +20,8 @@ link_directories(${CMAKE_INSTALL_PREFIX}/lib)
|
|||
add_executable (timew_executable timew.cpp)
|
||||
add_executable (gr_executable gr.cpp)
|
||||
|
||||
target_link_libraries (timew_executable timew commands common ${TIMEW_LIBRARIES})
|
||||
target_link_libraries (gr_executable timew common ${TIMEW_LIBRARIES})
|
||||
target_link_libraries (timew_executable timew commands shared ${TIMEW_LIBRARIES})
|
||||
target_link_libraries (gr_executable timew shared ${TIMEW_LIBRARIES})
|
||||
|
||||
set_property (TARGET timew_executable PROPERTY OUTPUT_NAME "timew")
|
||||
set_property (TARGET gr_executable PROPERTY OUTPUT_NAME "gr")
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <cmake.h>
|
||||
#include <Grammar.h>
|
||||
#include <Lexer.h>
|
||||
#include <common.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <Lexer.h>
|
||||
#include <Table.h>
|
||||
#include <Color.h>
|
||||
#include <common.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
|
|
@ -3,6 +3,7 @@ include_directories (${CMAKE_SOURCE_DIR}
|
|||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/src/commands
|
||||
${TIMEW_INCLUDE_DIRS})
|
||||
include_directories(${CMAKE_INSTALL_PREFIX}/include)
|
||||
|
||||
set (commands_SRCS CmdClear.cpp
|
||||
CmdConfig.cpp
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <Extensions.h>
|
||||
//#include <Grammar.h>
|
||||
//#include <LR0.h>
|
||||
#include <common.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <FS.h>
|
||||
#include <commands.h>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <Rules.h>
|
||||
#include <Extensions.h>
|
||||
//#include <Grammar.h>
|
||||
#include <common.h>
|
||||
#include <shared.h>
|
||||
#include <commands.h>
|
||||
#include <timew.h>
|
||||
//#include <LR0.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue